Package org.ametys.core.ui.right
Enum ProfileAssignmentsToolClientSideElement.AccessType
- java.lang.Object
-
- java.lang.Enum<ProfileAssignmentsToolClientSideElement.AccessType>
-
- org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement.AccessType
-
- All Implemented Interfaces:
Serializable
,Comparable<ProfileAssignmentsToolClientSideElement.AccessType>
- Enclosing class:
- ProfileAssignmentsToolClientSideElement
public static enum ProfileAssignmentsToolClientSideElement.AccessType extends Enum<ProfileAssignmentsToolClientSideElement.AccessType>
Enumeration of all possible access types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW
Indicates that the access is allowedDENY
Indicates that the access is deniedINHERITED_ALLOW
Indicates that the access is allowed by inheritanceINHERITED_DENY
Indicates that the access is denied by inheritanceUNKNOWN
Indicates that the access can not be determined
-
Constructor Summary
Constructors Modifier Constructor Description private
AccessType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfileAssignmentsToolClientSideElement.AccessType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProfileAssignmentsToolClientSideElement.AccessType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW
public static final ProfileAssignmentsToolClientSideElement.AccessType ALLOW
Indicates that the access is allowed
-
DENY
public static final ProfileAssignmentsToolClientSideElement.AccessType DENY
Indicates that the access is denied
-
INHERITED_ALLOW
public static final ProfileAssignmentsToolClientSideElement.AccessType INHERITED_ALLOW
Indicates that the access is allowed by inheritance
-
INHERITED_DENY
public static final ProfileAssignmentsToolClientSideElement.AccessType INHERITED_DENY
Indicates that the access is denied by inheritance
-
UNKNOWN
public static final ProfileAssignmentsToolClientSideElement.AccessType UNKNOWN
Indicates that the access can not be determined
-
-
Constructor Detail
-
AccessType
private AccessType()
-
-
Method Detail
-
values
public static ProfileAssignmentsToolClientSideElement.AccessType[] 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 (ProfileAssignmentsToolClientSideElement.AccessType c : ProfileAssignmentsToolClientSideElement.AccessType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfileAssignmentsToolClientSideElement.AccessType 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
-
-