|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentServerService
Content Server Interface
This service maintains server references and their integration into the virtual content tree. In this version, all servers are plugged on the root content tree level. Later, we plan to "mount" external servers anywhere in the content tree.
Method Summary | |
---|---|
void |
addServer(Server server)
Adds a new server to engine's persistent store. |
FileSystemServer |
createFileSystemServer()
Factory to create a new File System server reference object |
GraffitoServer |
createGraffitoServer()
Factory to create a new Graffito server reference object |
WebdavServer |
createWebdavServer()
Factory to create a new WEBDAV server reference object |
java.util.Collection |
getAllServers()
Get all server references defined into the engine's persistence store. |
Server |
getServer(java.lang.String scope)
Get a server reference from the engine's persistent store. |
void |
removeServer(Server server)
Remove a server from the engine's persistent store. |
void |
updateServer(Server server)
Update a server reference into the engine's persistent store. |
Method Detail |
---|
WebdavServer createWebdavServer() throws ContentManagementException
ContentManagementException
GraffitoServer createGraffitoServer() throws ContentManagementException
ContentManagementException
FileSystemServer createFileSystemServer() throws ContentManagementException
ContentManagementException
void addServer(Server server) throws ContentManagementException
server
- the server to add
ContentManagementException
void removeServer(Server server) throws ContentManagementException
server
- the server reference to remove.
ContentManagementException
Server getServer(java.lang.String scope) throws ContentManagementException
scope
- the scope assigned to the server to retrieve.
ContentManagementException
void updateServer(Server server) throws ContentManagementException
server
- the server to be updated.
ContentManagementException
java.util.Collection getAllServers() throws ContentManagementException
Server
ContentManagementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |