|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.presentation.perspective.DefaultPortalMode
public class DefaultPortalMode
Default implementation for IPortalMode.
Field Summary |
---|
Fields inherited from interface lumis.portal.presentation.perspective.IPortalMode |
---|
MODE_ADMINISTRATION, MODE_IN_CONTEXT_EDIT, MODE_PERSONALIZATION, MODE_VIEW |
Constructor Summary | |
---|---|
DefaultPortalMode(int id,
String name,
String description,
IPermissionProvider permissionProvider,
Class<? extends HTMLFragmentComponent> renderComponentClass,
String[] attributeNames)
Constructor for the class. |
Method Summary | |
---|---|
Set<String> |
getAttributeNames()
Returns the set of attribute names for the current PortalMode. |
String |
getDescription()
Returns the description of the current PortalMode. |
int |
getId()
Returns the id of the current PortalMode. |
String |
getName()
Returns the name of the current PortalMode. |
IPermissionProvider |
getPermissionProvider()
Returns the permission provider of the current PortalMode. |
Perspective |
getPerspective()
Returns the name of the current PortalMode. |
Class<? extends HTMLFragmentComponent> |
getRenderComponentClass()
Returns the render component |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPortalMode(int id, String name, String description, IPermissionProvider permissionProvider, Class<? extends HTMLFragmentComponent> renderComponentClass, String[] attributeNames)
id
- the id of the current PortalModename
- the name of the current PortalMode.description
- the description of the current PortalMode.attributeNames
- attribute names for the current PortalMode.Method Detail |
---|
public Set<String> getAttributeNames()
getAttributeNames
in interface IPortalModeSPI
public String getDescription()
getDescription
in interface IPortalMode
public int getId()
getId
in interface IPortalMode
public String getName()
getName
in interface IPortalMode
public IPermissionProvider getPermissionProvider()
getPermissionProvider
in interface IPortalModeSPI
public Perspective getPerspective()
getPerspective
in interface IPortalMode
public Class<? extends HTMLFragmentComponent> getRenderComponentClass()
getRenderComponentClass
in interface IPortalModeSPI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |