|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
Object |
removeAttribute(String key)
Remove an attribute. |
Object |
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 |
setTemporaryAttribute(String key,
Object value)
Set a temporary attribute. |
Field Detail |
public static final String ROLE
Method Detail |
public String getPortalName()
public Object getAttribute(String key)
key
- The key of the attribute
public void setAttribute(String key, Object value)
key
- The key of the attributevalue
- The new valuepublic Object removeAttribute(String key)
key
- The key of the attributepublic Iterator getAttributeNames()
public Object getTemporaryAttribute(String key)
key
- The key of the attribute
public void setTemporaryAttribute(String key, Object value)
key
- The key of the attributevalue
- The new valuepublic Object removeTemporaryAttribute(String key)
key
- The key of the attributepublic Iterator getTemporaryAttributeNames()
public PortalComponentManager getComponentManager()
public void setEntryLayout(String layoutKey, Layout object)
layoutKey
- TODOpublic Layout getEntryLayout(String layoutKey)
public void setDefaultLayoutKey(String layoutKey)
public String getDefaultLayoutKey()
public List getSkinDescriptions()
public Map getObjectModel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |