Changes between Version 1 and Version 2 of S2S_FACADE_META_ACCESS_R0


Ignore:
Timestamp:
01/25/09 19:20:58 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S2S_FACADE_META_ACCESS_R0

    v1 v2  
    77 
    88== Overview == 
    9 The Sophie 2 Server Facade layer provides interface which is the same on both the server and the client sides for manipulating the resources on the server. The Facade layer accesses the Server core logic.  
     9The Sophie 2 Server Facade layer provides interface which is the same on both the server and the client sides for manipulating the resources on the server. The Facade layer accesses the Server core logic. [[BR]] 
     10MetaInfo of the resource is: 
     11 
     12    * The author of the resource 
     13    * The date the resource was created 
     14    * Version of the resource 
     15    * The date the resource was last modified 
     16    * Who was the last that modified the resource 
     17    * The dimensions of the image (if the target of the resource is an image) 
     18    * etc.  
    1019 
    1120== Task requirements == 
    12 ^(List the necessary requirements that the task must fulfill.)^ 
     21Since every resource can be viewed/changed/persisted on the server, its meta information should also be accessible. Currently, there is not functionality in the facade for dealing with meta things, so it must be implemented. 
     22 * Create class in the facade, which provides the core functionality for accessing meta.  
     23 * Since this task uses the result from [wiki:S2S_CORE_META_R0], a requirement is it to be implemented before this one. 
     24 * Refactor the current jsp and servlet code to use the facade. Currently, there is no such code, but at the time when the task is being implemented, it is possible to have such. 
     25 * Write unit tests. 
    1326 
    1427== Task result == 
    15 ^(List the end product of the task (for example "Source code", "Wiki page", etc.))^ 
     28Source code. 
    1629 
    1730== Implementation idea == 
    18 ^(Provide some rough implementation idea(s).)^ 
     31Implement this task after [wiki:S2S_CORE_MERA_R0]. [[BR]] 
     32Follow the current structure of the facade, i.e. make an interface in org.sophie2.server.facade and its imlplementation in org.sophie2.server.facade.impl. 
    1933 
    2034== Related == 
    21 ^(Add links to related tasks that could be useful or helpful.)^ 
     35[wiki:S2S_FACADE_RESOURCE_ACCESS_R0] [[BR]] 
     36[wiki:S2S_DEPLOY_TECHNOLOGIES_R0] [[BR]] 
     37[wiki:S2S_FACADE_LARGE_RESOURCE_ACCESS_R0] [[BR]] 
     38[wiki:S2S_FACADE_RESOURCE_CHANGES_R0]  
    2239 
    2340== How to demo == 
    24 ^(Provide instructions for demonstration of the task.)^ 
     41Show the code, run the tests. 
    2542 
    2643= Design =