public enum AclLevel extends Enum<AclLevel> implements INumberEnum<Integer>
Enum Constant and Description |
---|
AUTHOR
User or Server can create and/or edit their own data documents and examine existing ones in the database.
|
DEPOSITOR
User or Server can add new data documents to a database, but cannot examine the new document or the database.
|
DESIGNER
User or Server can create and/or edit any data document and/or design document.
|
EDITOR
User or Server can create and/or edit any data document.
|
MANAGER
User or Server can create and/or maintain any type of database or document, including the ACL.
|
NOACCESS
User or Server has no access to the database.
|
READER
User or Server can only view data documents in the database.
|
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue()
Returns the numeric constant for the access level
|
static AclLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AclLevel NOACCESS
public static final AclLevel DEPOSITOR
public static final AclLevel READER
public static final AclLevel AUTHOR
public static final AclLevel EDITOR
public static final AclLevel DESIGNER
public static final AclLevel MANAGER
public static AclLevel[] values()
for (AclLevel c : AclLevel.values()) System.out.println(c);
public static AclLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2019–2021 HCL. All rights reserved.