Enum Capability

  • All Implemented Interfaces:
    Serializable, Comparable<Capability>

    @Portable
    public enum Capability
    extends Enum<Capability>

    Supported features for the User System Management services.

    The backend and UI features for users management available are based on these capability statuses. If a capability is not supported by the current service provider implementation class, it will be not available from the user interface neither the backend method calls.

    Since:
    0.8.0
    • Enum Constant Detail

      • CAN_SEARCH_USERS

        public static final Capability CAN_SEARCH_USERS
      • CAN_ADD_USER

        public static final Capability CAN_ADD_USER
      • CAN_UPDATE_USER

        public static final Capability CAN_UPDATE_USER
      • CAN_READ_USER

        public static final Capability CAN_READ_USER
      • CAN_DELETE_USER

        public static final Capability CAN_DELETE_USER
      • CAN_MANAGE_ATTRIBUTES

        public static final Capability CAN_MANAGE_ATTRIBUTES
      • CAN_ASSIGN_GROUPS

        public static final Capability CAN_ASSIGN_GROUPS
      • CAN_ASSIGN_ROLES

        public static final Capability CAN_ASSIGN_ROLES
      • CAN_CHANGE_PASSWORD

        public static final Capability CAN_CHANGE_PASSWORD
      • CAN_SEARCH_GROUPS

        public static final Capability CAN_SEARCH_GROUPS
      • CAN_ADD_GROUP

        public static final Capability CAN_ADD_GROUP
      • CAN_UPDATE_GROUP

        public static final Capability CAN_UPDATE_GROUP
      • CAN_READ_GROUP

        public static final Capability CAN_READ_GROUP
      • CAN_DELETE_GROUP

        public static final Capability CAN_DELETE_GROUP
      • CAN_SEARCH_ROLES

        public static final Capability CAN_SEARCH_ROLES
      • CAN_ADD_ROLE

        public static final Capability CAN_ADD_ROLE
      • CAN_UPDATE_ROLE

        public static final Capability CAN_UPDATE_ROLE
      • CAN_READ_ROLE

        public static final Capability CAN_READ_ROLE
      • CAN_DELETE_ROLE

        public static final Capability CAN_DELETE_ROLE
    • Method Detail

      • values

        public static Capability[] 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 (Capability c : Capability.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Capability 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 name
        NullPointerException - if the argument is null