Enum PageTypes
- java.lang.Object
-
- java.lang.Enum<PageTypes>
-
- com.evolveum.midpoint.gui.impl.component.menu.PageTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<PageTypes>
public enum PageTypes extends Enum<PageTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHETYPE
CASE
MESSAGE_TEMPLATES
OBJECT_COLLECTION
OBJECT_TEMPLATE
ORG
REPORT
RESOURCE
ROLE
SERVICE
TASK
USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends PageBase>
getDetailsPage()
String
getIcon()
String
getIdentifier()
Class<? extends PageBase>
getListClass()
static PageTypes
getPageTypesByType(QName type)
QName
getTypeName()
static PageTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static PageTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final PageTypes USER
-
ROLE
public static final PageTypes ROLE
-
SERVICE
public static final PageTypes SERVICE
-
ORG
public static final PageTypes ORG
-
TASK
public static final PageTypes TASK
-
RESOURCE
public static final PageTypes RESOURCE
-
CASE
public static final PageTypes CASE
-
ARCHETYPE
public static final PageTypes ARCHETYPE
-
MESSAGE_TEMPLATES
public static final PageTypes MESSAGE_TEMPLATES
-
OBJECT_COLLECTION
public static final PageTypes OBJECT_COLLECTION
-
OBJECT_TEMPLATE
public static final PageTypes OBJECT_TEMPLATE
-
REPORT
public static final PageTypes REPORT
-
-
Method Detail
-
values
public static PageTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PageTypes c : PageTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageTypes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getIdentifier
public String getIdentifier()
-
getIcon
public String getIcon()
-
getTypeName
public QName getTypeName()
-
-