Enum Class Privilege

java.lang.Object
java.lang.Enum<Privilege>
hu.rts.mike.example.dev.crm.security.Privilege
All Implemented Interfaces:
Serializable, Comparable<Privilege>, Constable

public enum Privilege extends Enum<Privilege>
  • Enum Constant Details

    • CREATE_USER

      public static final Privilege CREATE_USER
    • READ_USER

      public static final Privilege READ_USER
    • UPDATE_USER

      public static final Privilege UPDATE_USER
    • DELETE_USER

      public static final Privilege DELETE_USER
    • CREATE_ROLE

      public static final Privilege CREATE_ROLE
    • READ_ROLE

      public static final Privilege READ_ROLE
    • UPDATE_ROLE

      public static final Privilege UPDATE_ROLE
    • DELETE_ROLE

      public static final Privilege DELETE_ROLE
    • CREATE_PARTNER

      public static final Privilege CREATE_PARTNER
    • READ_PARTNER

      public static final Privilege READ_PARTNER
    • UPDATE_PARTNER

      public static final Privilege UPDATE_PARTNER
    • DELETE_PARTNER

      public static final Privilege DELETE_PARTNER
    • CREATE_CONTACT

      public static final Privilege CREATE_CONTACT
    • READ_CONTACT

      public static final Privilege READ_CONTACT
    • UPDATE_CONTACT

      public static final Privilege UPDATE_CONTACT
    • DELETE_CONTACT

      public static final Privilege DELETE_CONTACT
    • CREATE_COMPANY_SIZE

      public static final Privilege CREATE_COMPANY_SIZE
    • READ_COMPANY_SIZE

      public static final Privilege READ_COMPANY_SIZE
    • UPDATE_COMPANY_SIZE

      public static final Privilege UPDATE_COMPANY_SIZE
    • DELETE_COMPANY_SIZE

      public static final Privilege DELETE_COMPANY_SIZE
    • CREATE_LEAD

      public static final Privilege CREATE_LEAD
    • READ_LEAD

      public static final Privilege READ_LEAD
    • UPDATE_LEAD

      public static final Privilege UPDATE_LEAD
    • DELETE_LEAD

      public static final Privilege DELETE_LEAD
    • CREATE_PRODUCT

      public static final Privilege CREATE_PRODUCT
    • READ_PRODUCT

      public static final Privilege READ_PRODUCT
    • UPDATE_PRODUCT

      public static final Privilege UPDATE_PRODUCT
    • DELETE_PRODUCT

      public static final Privilege DELETE_PRODUCT
    • CREATE_DISCOUNT

      public static final Privilege CREATE_DISCOUNT
    • READ_DISCOUNT

      public static final Privilege READ_DISCOUNT
    • UPDATE_DISCOUNT

      public static final Privilege UPDATE_DISCOUNT
    • DELETE_DISCOUNT

      public static final Privilege DELETE_DISCOUNT
    • CREATE_EVENT

      public static final Privilege CREATE_EVENT
    • READ_EVENT

      public static final Privilege READ_EVENT
    • UPDATE_EVENT

      public static final Privilege UPDATE_EVENT
    • DELETE_EVENT

      public static final Privilege DELETE_EVENT
    • CREATE_COMMUNICATION_CHANNEL

      public static final Privilege CREATE_COMMUNICATION_CHANNEL
    • READ_COMMUNICATION_CHANNEL

      public static final Privilege READ_COMMUNICATION_CHANNEL
    • UPDATE_COMMUNICATION_CHANNEL

      public static final Privilege UPDATE_COMMUNICATION_CHANNEL
    • DELETE_COMMUNICATION_CHANNEL

      public static final Privilege DELETE_COMMUNICATION_CHANNEL
    • CREATE_MARKETING_CHANNEL

      public static final Privilege CREATE_MARKETING_CHANNEL
    • READ_MARKETING_CHANNEL

      public static final Privilege READ_MARKETING_CHANNEL
    • UPDATE_MARKETING_CHANNEL

      public static final Privilege UPDATE_MARKETING_CHANNEL
    • DELETE_MARKETING_CHANNEL

      public static final Privilege DELETE_MARKETING_CHANNEL
    • CREATE_VENDOR

      public static final Privilege CREATE_VENDOR
    • READ_VENDOR

      public static final Privilege READ_VENDOR
    • UPDATE_VENDOR

      public static final Privilege UPDATE_VENDOR
    • DELETE_VENDOR

      public static final Privilege DELETE_VENDOR
    • CREATE_BUDGET

      public static final Privilege CREATE_BUDGET
    • READ_BUDGET

      public static final Privilege READ_BUDGET
    • UPDATE_BUDGET

      public static final Privilege UPDATE_BUDGET
    • DELETE_BUDGET

      public static final Privilege DELETE_BUDGET
  • Field Details

  • Constructor Details

    • Privilege

      private Privilege(Integer id)
  • Method Details

    • values

      public static Privilege[] 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 Privilege 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
    • getId

      public Integer getId()
    • getById

      public static Privilege getById(Integer id)