Enum Class ClientApplication.AccessStatus
java.lang.Object
java.lang.Enum<ClientApplication.AccessStatus>
io.goobi.viewer.model.security.clients.ClientApplication.AccessStatus
- All Implemented Interfaces:
Serializable
,Comparable<ClientApplication.AccessStatus>
,Constable
- Enclosing class:
- ClientApplication
Status describing if the client is eligible to receive viewing privileges
- Author:
- florian
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe client has explicitly been denied access to viewing privileges.The client has been granted access to viewing privilegesonly used for the "all clients" core ClientApplication instanceThe client has requested access but has not been granted it -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ClientApplication.AccessStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NON_APPLICABLE
only used for the "all clients" core ClientApplication instance -
REQUESTED
The client has requested access but has not been granted it -
GRANTED
The client has been granted access to viewing privileges -
DENIED
The client has explicitly been denied access to viewing privileges. Not used currently
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-