Enum Class TenantAction

java.lang.Object
java.lang.Enum<TenantAction>
org.craftercms.profile.api.TenantAction
All Implemented Interfaces:
Serializable, Comparable<TenantAction>, Constable

public enum TenantAction extends Enum<TenantAction>
Enum with actions that can be executed on tenants and their user profiles by applications.
Author:
avasquez
  • Enum Constant Details

    • CREATE_TENANT

      public static final TenantAction CREATE_TENANT
    • READ_TENANT

      public static final TenantAction READ_TENANT
    • UPDATE_TENANT

      public static final TenantAction UPDATE_TENANT
    • DELETE_TENANT

      public static final TenantAction DELETE_TENANT
    • MANAGE_PROFILES

      public static final TenantAction MANAGE_PROFILES
    • MANAGE_TICKETS

      public static final TenantAction MANAGE_TICKETS
  • Method Details

    • values

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