Enum AbstractProfileStorageBasedAccessController.CacheKind
- java.lang.Object
-
- java.lang.Enum<AbstractProfileStorageBasedAccessController.CacheKind>
-
- org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController.CacheKind
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractProfileStorageBasedAccessController.CacheKind>
- Enclosing class:
- AbstractProfileStorageBasedAccessController
protected static enum AbstractProfileStorageBasedAccessController.CacheKind extends Enum<AbstractProfileStorageBasedAccessController.CacheKind>
The knd of cache to get/set
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS
for anonymous userANY_CONNECTED_USER
for any connected userGROUPS
for groupsUSER
for userUSERS
for users
-
Constructor Summary
Constructors Modifier Constructor Description private
CacheKind()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractProfileStorageBasedAccessController.CacheKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractProfileStorageBasedAccessController.CacheKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANONYMOUS
public static final AbstractProfileStorageBasedAccessController.CacheKind ANONYMOUS
for anonymous user
-
ANY_CONNECTED_USER
public static final AbstractProfileStorageBasedAccessController.CacheKind ANY_CONNECTED_USER
for any connected user
-
USERS
public static final AbstractProfileStorageBasedAccessController.CacheKind USERS
for users
-
USER
public static final AbstractProfileStorageBasedAccessController.CacheKind USER
for user
-
GROUPS
public static final AbstractProfileStorageBasedAccessController.CacheKind GROUPS
for groups
-
-
Constructor Detail
-
CacheKind
private CacheKind()
-
-
Method Detail
-
values
public static AbstractProfileStorageBasedAccessController.CacheKind[] 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 (AbstractProfileStorageBasedAccessController.CacheKind c : AbstractProfileStorageBasedAccessController.CacheKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractProfileStorageBasedAccessController.CacheKind 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 nameNullPointerException
- if the argument is null
-
-