|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentStoreService
This service is managing all content store defined in Graffito. The Persistence service delegates to this service this management in order to have specific container implementations.
Method Summary | |
---|---|
boolean |
canRegisterServer(org.apache.portals.graffito.model.server.Server server)
Check if a new server can be registers |
ContentStore |
getStore(java.lang.String serverAlias)
Return the store associated to a server alias |
void |
newStore(org.apache.portals.graffito.model.server.Server server)
Plug a new ContentStore in function of a server reference into Graffito |
void |
removeStore(java.lang.String serverAlias)
Unplug a ContentStore from the Graffito engine |
Method Detail |
---|
void newStore(org.apache.portals.graffito.model.server.Server server) throws org.apache.portals.graffito.exception.CmsInstantiateException
ContentStore
in function of a server reference into Graffito
server
- The server for which the ContentStore has to be instantiate. This server param contains all information to instantiate &
connect to the content store
org.apache.portals.graffito.exception.CmsInstantiateException
- when It is not possible to instantiate the ContentStoreContentStore getStore(java.lang.String serverAlias)
serverAlias
- The server alias assigned to the store to found
void removeStore(java.lang.String serverAlias)
ContentStore
from the Graffito engine
serverAlias
- The server alias associated to the Content store to unplugboolean canRegisterServer(org.apache.portals.graffito.model.server.Server server)
server
- The new server to register
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |