|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Server
The Server interface is the ancestor for all kind of content servers (DB, Webdav, ...).
A Server is a collection of Folder
.
Each Server is associated to a plugin class name (see org.apache.portals.graffito.store in the component subproject).
In the Graffito context, there is a mandatary server called "Graffito Master Server" which contains server metadatas.
By this way, the Graffito engine can mount all referenced servers into the same content tree.
Each server has scope which is an uri prefix. Each cms object with the same uri prefix will be stores in this server.
Method Summary | |
---|---|
java.lang.String |
getAlias()
|
java.lang.String |
getDescription()
|
java.lang.String |
getScope()
The scope is the uri prefix assigned to this server (eg. |
java.lang.String |
getStoreClassName()
|
java.lang.String |
getTitle()
|
void |
setAlias(java.lang.String alias)
Set the server alias. |
void |
setDescription(java.lang.String description)
Set the description |
void |
setScope(java.lang.String scope)
Set the server scope |
void |
setStoreClassName(java.lang.String pluginClassName)
set the store class name. |
void |
setTitle(java.lang.String title)
Set the server title |
Method Detail |
---|
java.lang.String getScope()
void setScope(java.lang.String scope)
scope
- the new scope to setvoid setAlias(java.lang.String alias)
alias
- the new alias to setjava.lang.String getAlias()
void setDescription(java.lang.String description)
description
- the new description to setjava.lang.String getDescription()
java.lang.String getTitle()
void setTitle(java.lang.String title)
title
- the new server title to setvoid setStoreClassName(java.lang.String pluginClassName)
pluginClassName
- the content class store to setjava.lang.String getStoreClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |