Enum User.CategoryMode
- java.lang.Object
-
- java.lang.Enum<User.CategoryMode>
-
- com.novomind.ecom.api.iagent.model.User.CategoryMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<User.CategoryMode>
- Enclosing interface:
- User
public static enum User.CategoryMode extends java.lang.Enum<User.CategoryMode>
This enumeration describes the category visibility mode for a user- Since:
- 12.2
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_CATEGORIES
All categories will be available for the userASSIGNED_CATEGORIES
Only the assigned categories of this user will be available for the userDISABLED
No categories will be available for the userTENANT_CATEGORIES
All categories from the tenants of this user will be available for the user
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static User.CategoryMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static User.CategoryMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_CATEGORIES
public static final User.CategoryMode ALL_CATEGORIES
All categories will be available for the user
-
TENANT_CATEGORIES
public static final User.CategoryMode TENANT_CATEGORIES
All categories from the tenants of this user will be available for the user
-
ASSIGNED_CATEGORIES
public static final User.CategoryMode ASSIGNED_CATEGORIES
Only the assigned categories of this user will be available for the user
-
DISABLED
public static final User.CategoryMode DISABLED
No categories will be available for the user
-
-
Method Detail
-
values
public static User.CategoryMode[] 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 (User.CategoryMode c : User.CategoryMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static User.CategoryMode 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
-
-