public enum ExtensionObjectPermissionEnum extends Enum<ExtensionObjectPermissionEnum>
Enum Constant and Description |
---|
GRANT_FULL_CONTROL
Grant the full control permission to all users belonging to the specified "domainId" to read objects, obtain object metadata, as well as obtain and write object ACLs.
|
GRANT_READ
Grant the read permission on all users belonging to the specified "domainId" to read objects and obtain object metadata.
|
GRANT_READ_ACP
Grant the "READ_ACP" permission to all users belonging to the specified "domainId" to obtain ACLs of objects.
|
GRANT_WRITE_ACP
Grant the "WRITE_ACP" permission to all users belonging to the specified "domainId" to modify ACLs of objects.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static ExtensionObjectPermissionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtensionObjectPermissionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtensionObjectPermissionEnum GRANT_READ
public static final ExtensionObjectPermissionEnum GRANT_READ_ACP
public static final ExtensionObjectPermissionEnum GRANT_WRITE_ACP
public static final ExtensionObjectPermissionEnum GRANT_FULL_CONTROL
public static ExtensionObjectPermissionEnum[] values()
for (ExtensionObjectPermissionEnum c : ExtensionObjectPermissionEnum.values()) System.out.println(c);
public static ExtensionObjectPermissionEnum 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 String getCode()
Copyright © 2019. All rights reserved.