[[BackLinksMenu]] [[TicketQuery(summary=S2S_PERSIST_META_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = == Overview == Every resource should have meta information, which consists of: * The author of the resource * The date the resource was created * Version of the resource * The date the resource was last modified * Who was the last that modified the resource * The dimensions of the image (if the target of the resource is an image) * etc. == Task requirements == * Get familiar with the resource concepts, described in [wiki:BASE_RESOURCE_COMMONS_R0]. * Look at [wiki:S2S_PERSIST_RESOURCES_R0] to understand how the resources will be stored on the server. * Discuss and decide how to store the meta information for every resource (for example, if resources are persisted in a database, their corresponding meta could be stored in a separate table). * In the persistence layer of the server, add functionality for dealing with meta information. * Write appropriate unit tests. == Task result == Source code (updated org.sophie2.server.persistence module with basic implementation of meta concepts), unit tests. == Implementation idea == Implement this task after [wiki:S2S_PERSIST_RESOURCES_R0], or together with it. == Related == [wiki:S2S_PERSIST_RESOURCES_R0] [[BR]] [wiki:BASE_RESOURCE_COMMONS_R0] [[BR]] [wiki:S2S_PERSISTENCE_COMMONS_R0] == How to demo == Show the persistence module with the new class(es), run the unit tests. = Design = = Implementation = ^(Implementation results should be described and linked here (from the wiki or the repository))^ = Testing = = Comments = ^(Write comments for this or later revisions here.)