|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Perspective> lumis.portal.presentation.perspective.Perspective
public enum Perspective
Represents the PortalModes of each Perspective.
Enum Constant Summary | |
---|---|
ADMIN
Represents the Administration Portal Mode. |
|
PUBLISHER
Represents the mode where users (non-administration) can interact with the portal to publish or personalize the portal. |
|
USER
Represents the user mode, or default mode. |
Field Summary | |
---|---|
static Class<? extends org.apache.wicket.Component> |
renderComponentClass
|
Method Summary | |
---|---|
Class<? extends AbstractLayoutFileMarkupFilter> |
getMarkupFilterClass()
Returns markup filter for parser to use to render page. |
Set<IPortalMode> |
getModes()
Returns all commands associated to this Perspective. |
String |
getName()
Returns the Perspective's name key. |
static Perspective |
getPerspectiveFromValue(int perspective)
Returns a given perspective. |
static IPortalMode |
getPortalModeFromCode(int modeCode)
Returns a given portal mode from a mode id. |
int |
value()
Returns the integer value that represents the current Perspective. |
static Perspective |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Perspective[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Perspective USER
public static final Perspective PUBLISHER
public static final Perspective ADMIN
Field Detail |
---|
public static Class<? extends org.apache.wicket.Component> renderComponentClass
Method Detail |
---|
public static Perspective[] values()
for (Perspective c : Perspective.values()) System.out.println(c);
public static Perspective valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic Set<IPortalMode> getModes()
public int value()
public String getName()
public Class<? extends AbstractLayoutFileMarkupFilter> getMarkupFilterClass()
public static Perspective getPerspectiveFromValue(int perspective)
perspective
- the id perspective to be found
public static IPortalMode getPortalModeFromCode(int modeCode)
modeCode
- the mode id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |