|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalService
This is the central component in the portal. It holds the configuration
of the portal, the current name etc.
The main use of this component is to get the PortalComponentManager
to get all the other portal components.
This component is a singleton.
Field Summary | |
---|---|
static String |
ROLE
The role to lookup this component. |
Method Summary | |
---|---|
Object |
getAttribute(String key)
Return the value of an attribute |
Iterator |
getAttributeNames()
Return the names of all attributes |
PortalComponentManager |
getComponentManager()
Return the component manager for the current portal |
String |
getDefaultLayoutKey()
Get the default layout key |
Layout |
getEntryLayout(String layoutKey)
|
Map |
getObjectModel()
Return the current object model. |
String |
getPortalName()
The name of the portal - as defined in the portal configuration. |
List |
getSkinDescriptions()
Return all skins |
Object |
getTemporaryAttribute(String key)
Return the value of a temporary attribute |
Iterator |
getTemporaryAttributeNames()
Return the names of all temporary attributes |
Boolean |
isRenderable()
Returns true if all aspects should render, false if only "static" aspects should render. |
void |
removeAttribute(String key)
Remove an attribute |
void |
removeTemporaryAttribute(String key)
Remove a temporary attribute |
void |
setAttribute(String key,
Object value)
Set an attribute |
void |
setDefaultLayoutKey(String layoutKey)
Change the default layout key for most functions |
void |
setEntryLayout(String layoutKey,
Layout object)
FIXME this is for the full-screen function |
void |
setPortalName(String value)
|
void |
setRenderable(Boolean renderable)
Indicates whether aspects which are sensitive to rendering state should render |
void |
setTemporaryAttribute(String key,
Object value)
Set a temporary attribute |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
String getPortalName()
void setPortalName(String value)
Object getAttribute(String key)
key
- The key of the attribute
void setAttribute(String key, Object value)
key
- The key of the attributevalue
- The new valuevoid removeAttribute(String key)
key
- The key of the attributeIterator getAttributeNames()
Object getTemporaryAttribute(String key)
key
- The key of the attribute
void setTemporaryAttribute(String key, Object value)
key
- The key of the attributevalue
- The new valuevoid removeTemporaryAttribute(String key)
key
- The key of the attributeIterator getTemporaryAttributeNames()
PortalComponentManager getComponentManager()
void setEntryLayout(String layoutKey, Layout object)
layoutKey
- TODOLayout getEntryLayout(String layoutKey)
void setDefaultLayoutKey(String layoutKey)
String getDefaultLayoutKey()
List getSkinDescriptions()
Map getObjectModel()
void setRenderable(Boolean renderable)
renderable
- true if all aspects should renderBoolean isRenderable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |