Changes between Version 24 and Version 25 of GROUP_APP_SERVER_RESOURCE_ACCESS_R0


Ignore:
Timestamp:
06/15/09 12:17:08 (16 years ago)
Author:
boyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_APP_SERVER_RESOURCE_ACCESS_R0

    v24 v25  
    2929 * Create a palette for listing server resources and make it work synchronously with the existing Connections palette (i.e. display the resources of the server we are connected to): 
    3030  * It should be in the Servers tab in the left flap. 
    31   * At this iteration it should list all the resources on the server (users, groups, books). No resource list filtering is required. 
     31  * At this iteration it should list all the resources on the server. No resource list filtering is required. 
    3232  * It should support opening a book on a double-click (other actions will be implemented at a next iteration). 
    3333 
     
    6666 * org.sophie2.server.facade - core 
    6767 * org.sophie2.server.webapp - webui 
    68  * org.sophie2.server/src/main/resourcesjsps - webui 
     68 * org.sophie2.server/src/main/resources/jsps - webui 
    6969 * org.sophie2.server.webservice - ws 
    7070 * org.sophie2.server.persistence - persistence. 
     
    7575 * getResource(String entityId) - will get a resource by a given entityId. 
    7676There will be concrete implementations of these methods in both the client and the server. [[BR]] 
    77 UserManager and GroupManager can be combined as SecurityManager, since we do not need such division.  
     77UserManager and GroupManager can be combined as SecurityManager, since we do not need such division. 
    7878 
    7979 
     
    8686 
    8787=== Server === 
    88 The BookService class does not make sense anymore (a Book is a Resource), but it could be useful for resource management. BookService will be renamed to ResourceService (it tests, too). It also needs some changes : 
    89  * deleteBook can accept EntityID as argument, not a resource. 
    90  * getAllResources must return List of ResourceRefs, not list of Resources. 
    91  * the same for searchBook. 
    92  * we also need getResource(entityId); 
    93 The BookDao must also be refacored to be ResourceDao. It must also have getResource(..) and getResourceList(). [[BR]] 
     88The BookService class does not make sense anymore (a Book is a Resource), but it could be useful for resource management. BookService will be renamed to ResourceService (its tests, too). It also needs some changes: 
     89 * deleteBook can accept EntityID instead of a resource as an argument. 
     90 * getAllResources must return List of ResourceRefs instead of a list of Resources. 
     91 * The same applies for searchBook. 
     92 * A getResource(entityId) method is needed; 
     93The BookDao must also be refacored as ResourceDao. It should also have the getResource(String entityId) and getResourceList() methods. [[BR]] 
    9494The Web Services need also ResourceWebService. It will be a very-proto-revision and currently will persist a particular resource, making it available for download. Then, the file will be written as a response using output stream. Also, will use the XMLManagementService to pass the list of ResourceRefs for getResourceList() method. 
    9595 
    9696 * Server implementation of the Facade: just call the core methods and return their results. Tests seem trivial, since this facade has no logic for now. 
    97  
    9897 
    9998= Implementation =