public enum ExtensionObjectPermissionEnum extends Enum<ExtensionObjectPermissionEnum>
| 枚举常量和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCode() |
static ExtensionObjectPermissionEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ExtensionObjectPermissionEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getCode()
Copyright © 2021. All rights reserved.