Enum ServiceInterfaceMenuLevel
- java.lang.Object
-
- java.lang.Enum<ServiceInterfaceMenuLevel>
-
- lumis.portal.serviceinterface.menu.ServiceInterfaceMenuLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ServiceInterfaceMenuLevel>
public enum ServiceInterfaceMenuLevel extends java.lang.Enum<ServiceInterfaceMenuLevel>
Levels for which a service interface menu can be generated.- Since:
- 10.2.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceInterfaceMenuLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ServiceInterfaceMenuLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRUCTURE
public static final ServiceInterfaceMenuLevel STRUCTURE
Menu level for configurations that would affect the portal structure.- Since:
- 10.2.0
-
SHARED
public static final ServiceInterfaceMenuLevel SHARED
Menu level for configurations that are shared among multiple users.- Since:
- 10.2.0
-
USER
public static final ServiceInterfaceMenuLevel USER
Menu level for configurations specific for current user.- Since:
- 10.2.0
-
-
Method Detail
-
values
public static ServiceInterfaceMenuLevel[] 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 (ServiceInterfaceMenuLevel c : ServiceInterfaceMenuLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceInterfaceMenuLevel valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-