public enum AccessRight extends Enum<AccessRight>
Enum Constant and Description |
---|
ANNOTATE
This right is only valid on documents.
|
DELETE
A user that has this right on a given entity is allowed to delete the entity.
|
EDIT_BLACK_MARKERS
This right is only valid on documents.
|
EDIT_CONTENT
This right is only valid on documents.
|
EDIT_INDEX
A user that has this right on an entity can change the entities index data.
|
EDIT_PERMISSIONS
A user that has this right on a given entity may change which access control lists apply for the entity.
|
READ
A user that has this right on an entity can load the entity.
|
RECORDS_MANAGEMENT
This right is only valid on documents.
|
RESTORE_REVISION
This right is only valid on entities that have a revision history (documents and folders).
|
SHOW_HISTORY
This right is only valid on entities that have a revision history (documents and folders).
|
VISIBLE
A user that does not have this right on an entity does not know that it exists.
|
WRITE
A user that has this right on an entity is allowed to edit the entity.
|
Modifier and Type | Method and Description |
---|---|
static AccessRight |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessRight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessRight VISIBLE
public static final AccessRight READ
VISIBLE
.public static final AccessRight EDIT_INDEX
public static final AccessRight ANNOTATE
READ
and
EDIT_BLACK_MARKERS
.public static final AccessRight EDIT_CONTENT
READ
.public static final AccessRight WRITE
EDIT_INDEX
, EDIT_CONTENT
and ANNOTATE
. On every
other entity this is the same as EDIT_INDEX
. In any case it implies the right
READ
.public static final AccessRight SHOW_HISTORY
READ
.public static final AccessRight RESTORE_REVISION
SHOW_HISTORY
but does not grant other types of editing on the entity.public static final AccessRight RECORDS_MANAGEMENT
READ
.public static final AccessRight DELETE
READ
.public static final AccessRight EDIT_PERMISSIONS
READ
but does not grant any right to edit the ACLs themselves. Access
control lists can in turn have access control lists that grant or deny edit rights on them.public static final AccessRight EDIT_BLACK_MARKERS
READ
.public static AccessRight[] values()
for (AccessRight c : AccessRight.values()) System.out.println(c);
public static AccessRight 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 nullCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.