Enum Class User.CategoryMode
- All Implemented Interfaces:
Serializable
,Comparable<User.CategoryMode>
,Constable
- Enclosing interface:
User
This enumeration describes the category visibility mode for a user
- Since:
- 12.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll categories will be available for the userOnly the assigned categories of this user will be available for the userNo categories will be available for the userAll categories from the tenants of this user will be available for the user -
Method Summary
Modifier and TypeMethodDescriptionstatic User.CategoryMode
Returns the enum constant of this class with the specified name.static User.CategoryMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL_CATEGORIES
All categories will be available for the user -
TENANT_CATEGORIES
All categories from the tenants of this user will be available for the user -
ASSIGNED_CATEGORIES
Only the assigned categories of this user will be available for the user -
DISABLED
No categories will be available for the user
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-