Enum Class User.CategoryMode

java.lang.Object
java.lang.Enum<User.CategoryMode>
com.novomind.ecom.api.iagent.model.User.CategoryMode
All Implemented Interfaces:
Serializable, Comparable<User.CategoryMode>, Constable
Enclosing interface:
User

public static enum User.CategoryMode extends Enum<User.CategoryMode>
This enumeration describes the category visibility mode for a user
Since:
12.2
  • Enum Constant Details

    • 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 Details

    • values

      public static User.CategoryMode[] 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

      public static User.CategoryMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null