public final class PrivilegeUtil extends java.lang.Object implements PrivilegeConstants
AGGREGATE_PRIVILEGES, JCR_ADD_CHILD_NODES, JCR_ALL, JCR_LIFECYCLE_MANAGEMENT, JCR_LOCK_MANAGEMENT, JCR_MODIFY_ACCESS_CONTROL, JCR_MODIFY_PROPERTIES, JCR_NAMESPACE_MANAGEMENT, JCR_NODE_TYPE_DEFINITION_MANAGEMENT, JCR_NODE_TYPE_MANAGEMENT, JCR_READ, JCR_READ_ACCESS_CONTROL, JCR_REMOVE_CHILD_NODES, JCR_REMOVE_NODE, JCR_RETENTION_MANAGEMENT, JCR_VERSION_MANAGEMENT, JCR_WORKSPACE_MANAGEMENT, JCR_WRITE, NON_AGGREGATE_PRIVILEGES, NT_REP_PRIVILEGE, NT_REP_PRIVILEGES, PRIVILEGE_NODETYPE_NAMES, PRIVILEGE_PROPERTY_NAMES, PRIVILEGES_PATH, REP_ADD_PROPERTIES, REP_AGGREGATES, REP_ALTER_PROPERTIES, REP_BITS, REP_INDEX_DEFINITION_MANAGEMENT, REP_IS_ABSTRACT, REP_NEXT, REP_PRIVILEGE_MANAGEMENT, REP_PRIVILEGES, REP_READ_NODES, REP_READ_PROPERTIES, REP_REMOVE_PROPERTIES, REP_USER_MANAGEMENT, REP_WRITE
Modifier and Type | Method and Description |
---|---|
static @NotNull Tree |
getPrivilegesTree(Root root)
Returns the root tree for all privilege definitions stored in the content
repository.
|
static @NotNull PrivilegeDefinition |
readDefinition(@NotNull Tree definitionTree)
Reads the privilege definition stored in the specified definition tree.
|
@NotNull public static @NotNull Tree getPrivilegesTree(Root root)
@NotNull public static @NotNull PrivilegeDefinition readDefinition(@NotNull @NotNull Tree definitionTree)
definitionTree
- An existing tree storing a privilege definition.PrivilegeDefinition
.Copyright © 2010 - 2020 Adobe. All Rights Reserved