Changes between Version 24 and Version 25 of GROUP_APP_SERVER_RESOURCE_ACCESS_R0
- Timestamp:
- 06/15/09 12:17:08 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_APP_SERVER_RESOURCE_ACCESS_R0
v24 v25 29 29 * 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): 30 30 * 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. 32 32 * It should support opening a book on a double-click (other actions will be implemented at a next iteration). 33 33 … … 66 66 * org.sophie2.server.facade - core 67 67 * org.sophie2.server.webapp - webui 68 * org.sophie2.server/src/main/resources jsps - webui68 * org.sophie2.server/src/main/resources/jsps - webui 69 69 * org.sophie2.server.webservice - ws 70 70 * org.sophie2.server.persistence - persistence. … … 75 75 * getResource(String entityId) - will get a resource by a given entityId. 76 76 There 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. 77 UserManager and GroupManager can be combined as SecurityManager, since we do not need such division. 78 78 79 79 … … 86 86 87 87 === 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 , notlist of Resources.91 * the samefor 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]]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 (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; 93 The BookDao must also be refacored as ResourceDao. It should also have the getResource(String entityId) and getResourceList() methods. [[BR]] 94 94 The 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. 95 95 96 96 * 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 98 97 99 98 = Implementation =