Changes between Version 16 and Version 17 of GROUP_APP_SERVER_RESOURCE_ACCESS_R0


Ignore:
Timestamp:
06/11/09 20:21:23 (16 years ago)
Author:
boyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_APP_SERVER_RESOURCE_ACCESS_R0

    v16 v17  
    5959 
    6060= Design = 
    61  * Component diagram for server decomposition: 
     61This is the component diagram for the server decomposition: [[BR]] 
    6262[[Image(source:branches/private/kyli/server/sophie2-platform/modules/org.sophie2.server/doc/Modules.png)]][[BR]] 
    63  * Create ServerResourcesPalette in org.sophie2.main.func.servers. It will track the currently selected element in ConnectionsPalette (using findNearestElement for example) and if there is connection available, it will use it to obtain a list of server resources. When double-clicked a book item (for this revision), the current app logic will be used to download and open the corresponding book. 
    64  * In org.sophie2.base.connectivity, add method getResourceManager() to the facade interface and create ResourceManager class. It must at least have getResourceList method, as well as getResource(entityId). 
    65  * '' ResourceManager implementation in the client / the server''. 
     63Currently there is a clear separation of the classes into packages, which will ease the module decomposition. 
     64 
     65Currently the client successfully establishes a session to the server using the Connections palette in the Servers tab of the left flap. The username and password used are hardcoded at the current stage and will be left this way at this iteration. 
     66 
     67For server resource access, the facade needs to implement an additional method - getResourceManager() that will return an instance of the ResourceManager class. This is a new class that will be created and will support basic manipulation of resources.  It should have the following methods (at this iteration): 
     68 * getResourceList() - it will return all resources on the server. 
     69 * getResource(String entityId) - will get a resource by a given entityId. 
     70 
     71There will be concrete implementations of these methods in both the client and the server. 
     72 
     73A class ServerResourcesPalette will be created in org.sophie2.main.func.servers. It will track the currently selected element in ConnectionsPalette (using the findNearestElement method) and if there is a connection established, it will use it to obtain a list of server resources. The only action it will support at this iteration is double-click on a book item. This will download and open the selected book, using the current app logic. 
    6674 
    6775= Implementation = 
     
    7381= Comments = 
    7482 * Implement the resource list filtering at the next iteration of this task or of [wiki:APP_SERVER_RESOURCE_BROWSER_FILTER_R0] ([ticket:512]) --boyan@2009-06-09 
     83 * Provide a dialog for entering a username and password for connection to the server at the next iteration of this task or at some of the connectivity tasks. --boyan@2009-06-11