Enum Class PermBit

java.lang.Object
java.lang.Enum<PermBit>
com.isode.dsapi.aci.PermBit
All Implemented Interfaces:
Serializable, Comparable<PermBit>, Constable

public enum PermBit extends Enum<PermBit>
Permission bit number enumeration and mapping to/from ASN bit-numbers.
Author:
jp
  • Enum Constant Details

    • Compare

      public static final PermBit Compare
    • Read

      public static final PermBit Read
    • Browse

      public static final PermBit Browse
    • FilterMatch

      public static final PermBit FilterMatch
    • Add

      public static final PermBit Add
    • Remove

      public static final PermBit Remove
    • Modify

      public static final PermBit Modify
    • Rename

      public static final PermBit Rename
    • DiscloseOnError

      public static final PermBit DiscloseOnError
    • Export

      public static final PermBit Export
    • Import

      public static final PermBit Import
    • ReturnDN

      public static final PermBit ReturnDN
  • Field Details

    • mask

      public final int mask
      Bitmask for grant or deny bit stored in ACITuple.
    • deny

      public final int deny
      Bit number of deny bit in original ASN BitString.
    • grant

      public final int grant
      Bit number of grant bit in original ASN BitString.
    • name

      public final String name
      Long name.
    • abbr

      public final String abbr
      Abbreviated name.
  • Method Details

    • values

      public static PermBit[] 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 PermBit 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