Enum Class AccessRightsCode
- All Implemented Interfaces:
Serializable,Comparable<AccessRightsCode>,Constable,Code
A user has different access rights for a specific domain or the whole application:
- none
- has no access to the domain.
- restricted-user
- has only read and write access to owned entities in a domain. Ownership is identified through the username of the logged-in user.
- readonly user
- has read access to all entities in a domain. No edition functions are available.
- user
- has write access to all entities in a domain. The user can create, modify, delete and duplicate aggregates.
- domain-admin
- has write access to all entities in a domain and access to specific domain actions. This right if necessary to import and export datasets of the domain.
- app-admin
- has access to application specific data and function. She does not have access to domains.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the human-readable representation of a code table entity.booleanenabled()Returns true if the code table instance is enabled.intid()Returns the unique identifier of a code table entity.static AccessRightsCodeReturns the enum constant of this class with the specified name.static AccessRightsCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
none
-
restrictedUser
-
readonlyUser
-
user
-
domainAdmin
-
tenantAdmin
-
-
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
-
id
-
code
-
enabled
-