Uses of Interface
org.apache.jackrabbit.oak.api.Tree
-
-
Uses of Tree in org.apache.jackrabbit.oak.api
Fields in org.apache.jackrabbit.oak.api declared as Tree Modifier and Type Field Description static Tree[]
Tree. EMPTY_ARRAY
Empty array of trees.Methods in org.apache.jackrabbit.oak.api that return Tree Modifier and Type Method Description @NotNull Tree
Tree. addChild(@NotNull String name)
Add a child with the givenname
.@NotNull Tree
Tree. getChild(@NotNull String name)
Get a possibly non existing child of thisTree
.@NotNull Tree
Tree. getParent()
Tree
ResultRow. getTree(String selectorName)
The tree for the given selector name.@NotNull Tree
Root. getTree(@NotNull String path)
Retrieve the possible non existingTree
at the given absolutepath
.Methods in org.apache.jackrabbit.oak.api that return types with arguments of type Tree Modifier and Type Method Description @NotNull Iterable<Tree>
Tree. getChildren()
All accessible children of thisTree
instance. -
Uses of Tree in org.apache.jackrabbit.oak.composite.checks
Methods in org.apache.jackrabbit.oak.composite.checks with parameters of type Tree Modifier and Type Method Description boolean
MountedNodeStoreChecker. check(MountedNodeStore mountedStore, Tree tree, org.apache.jackrabbit.oak.composite.checks.ErrorHolder errorHolder, T context)
boolean
NamespacePrefixNodestoreChecker. check(MountedNodeStore mountedStore, Tree tree, org.apache.jackrabbit.oak.composite.checks.ErrorHolder errorHolder, org.apache.jackrabbit.oak.composite.checks.NamespacePrefixNodestoreChecker.Context context)
boolean
NodeTypeDefinitionNodeStoreChecker. check(MountedNodeStore mountedStore, Tree tree, org.apache.jackrabbit.oak.composite.checks.ErrorHolder errorHolder, org.apache.jackrabbit.oak.composite.checks.NodeTypeDefinitionNodeStoreChecker.Context context)
boolean
NodeTypeMountedNodeStoreChecker. check(MountedNodeStore mountedStore, Tree tree, org.apache.jackrabbit.oak.composite.checks.ErrorHolder errorHolder, NodeTypeMountedNodeStoreChecker.Context context)
boolean
UniqueIndexNodeStoreChecker. check(MountedNodeStore mountedStore, Tree tree, org.apache.jackrabbit.oak.composite.checks.ErrorHolder errorHolder, org.apache.jackrabbit.oak.composite.checks.UniqueIndexNodeStoreChecker.Context context)
-
Uses of Tree in org.apache.jackrabbit.oak.exercise.security.authorization.restriction
Methods in org.apache.jackrabbit.oak.exercise.security.authorization.restriction with parameters of type Tree Modifier and Type Method Description @NotNull RestrictionPattern
CustomRestrictionProvider. getPattern(@Nullable String oakPath, @NotNull Tree tree)
@NotNull Set<Restriction>
CustomRestrictionProvider. readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
void
CustomRestrictionProvider. validateRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
void
CustomRestrictionProvider. writeRestrictions(@Nullable String oakPath, @NotNull Tree aceTree, @NotNull Set<Restriction> restrictions)
-
Uses of Tree in org.apache.jackrabbit.oak.http
Methods in org.apache.jackrabbit.oak.http with parameters of type Tree Modifier and Type Method Description void
Representation. render(Tree tree, javax.servlet.http.HttpServletResponse response)
-
Uses of Tree in org.apache.jackrabbit.oak.jcr.delegate
Methods in org.apache.jackrabbit.oak.jcr.delegate that return Tree Modifier and Type Method Description @NotNull Tree
NodeDelegate. getTree()
Methods in org.apache.jackrabbit.oak.jcr.delegate with parameters of type Tree Modifier and Type Method Description protected void
SessionDelegate. treeLookedUpByIdentifier(@NotNull Tree tree)
Method parameters in org.apache.jackrabbit.oak.jcr.delegate with type arguments of type Tree Modifier and Type Method Description void
NodeDelegate. addMixin(Function<Tree,Iterable<String>> existingMixins, String typeName)
Constructors in org.apache.jackrabbit.oak.jcr.delegate with parameters of type Tree Constructor Description NodeDelegate(SessionDelegate sessionDelegate, Tree tree)
-
Uses of Tree in org.apache.jackrabbit.oak.jcr.security
Methods in org.apache.jackrabbit.oak.jcr.security with parameters of type Tree Modifier and Type Method Description void
AccessManager. checkPermissions(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
boolean
AccessManager. hasPermissions(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
-
Uses of Tree in org.apache.jackrabbit.oak.jcr.version
Methods in org.apache.jackrabbit.oak.jcr.version that return Tree Modifier and Type Method Description @NotNull Tree
ReadWriteVersionManager. checkin(@NotNull Tree versionable)
Performs a checkin on a versionable tree and returns the tree that represents the created version.protected @NotNull Tree
ReadWriteVersionManager. getVersionStorage()
Methods in org.apache.jackrabbit.oak.jcr.version with parameters of type Tree Modifier and Type Method Description @NotNull Tree
ReadWriteVersionManager. checkin(@NotNull Tree versionable)
Performs a checkin on a versionable tree and returns the tree that represents the created version.protected void
FrozenNodeLogger. logFrozenNode(Tree tree)
void
FrozenNodeLogger. lookupById(@NotNull Tree tree)
-
Uses of Tree in org.apache.jackrabbit.oak.plugins.commit
Constructors in org.apache.jackrabbit.oak.plugins.commit with parameters of type Tree Constructor Description ConflictValidator(Tree parentAfter)
Deprecated. -
Uses of Tree in org.apache.jackrabbit.oak.plugins.identifier
Methods in org.apache.jackrabbit.oak.plugins.identifier that return Tree Modifier and Type Method Description @Nullable Tree
IdentifierManager. getTree(@NotNull PropertyValue referenceValue)
@Nullable Tree
IdentifierManager. getTree(String identifier)
The possibly non existing tree identified by the specifiedidentifier
ornull
.Methods in org.apache.jackrabbit.oak.plugins.identifier that return types with arguments of type Tree Modifier and Type Method Description @NotNull Iterable<Tree>
IdentifierManager. getReferences(@NotNull Tree tree, @NotNull String propertyName, @NotNull String ntName, boolean weak)
Searches all reference properties to the specifiedtree
that match the givenpropertyName
and the specified, mandatory node type constraint (ntName
).Methods in org.apache.jackrabbit.oak.plugins.identifier with parameters of type Tree Modifier and Type Method Description static @NotNull String
IdentifierManager. getIdentifier(Tree tree)
Return the identifier of a tree.@NotNull Iterable<String>
IdentifierManager. getReferences(boolean weak, @NotNull Tree tree, @Nullable String propertyName)
Searches all reference properties to the specifiedtree
that match the given name and node type constraints.@NotNull Iterable<Tree>
IdentifierManager. getReferences(@NotNull Tree tree, @NotNull String propertyName, @NotNull String ntName, boolean weak)
Searches all reference properties to the specifiedtree
that match the givenpropertyName
and the specified, mandatory node type constraint (ntName
). -
Uses of Tree in org.apache.jackrabbit.oak.plugins.index
Methods in org.apache.jackrabbit.oak.plugins.index that return Tree Modifier and Type Method Description static Tree
IndexUtils. createIndexDefinition(@NotNull Tree indexNode, @NotNull String indexDefName, boolean unique, @NotNull String[] propertyNames, @NotNull String... declaringNodeTypeNames)
Create a new property2 index definition below the givenindexNode
.static Tree
IndexUtils. createIndexDefinition(@NotNull Tree indexNode, @NotNull String indexDefName, boolean unique, @NotNull Collection<String> propertyNames, @Nullable Collection<String> declaringNodeTypeNames, @NotNull String propertyIndexType, @Nullable Map<String,String> properties)
Create a new property index definition below the givenindexNode
of the providedpropertyIndexType
.Methods in org.apache.jackrabbit.oak.plugins.index with parameters of type Tree Modifier and Type Method Description static Tree
IndexUtils. createIndexDefinition(@NotNull Tree indexNode, @NotNull String indexDefName, boolean unique, @NotNull String[] propertyNames, @NotNull String... declaringNodeTypeNames)
Create a new property2 index definition below the givenindexNode
.static Tree
IndexUtils. createIndexDefinition(@NotNull Tree indexNode, @NotNull String indexDefName, boolean unique, @NotNull Collection<String> propertyNames, @Nullable Collection<String> declaringNodeTypeNames, @NotNull String propertyIndexType, @Nullable Map<String,String> properties)
Create a new property index definition below the givenindexNode
of the providedpropertyIndexType
. -
Uses of Tree in org.apache.jackrabbit.oak.plugins.name
Fields in org.apache.jackrabbit.oak.plugins.name declared as Tree Modifier and Type Field Description protected Tree
ReadOnlyNamespaceRegistry. namespaces
protected Tree
ReadOnlyNamespaceRegistry. nsdata
Methods in org.apache.jackrabbit.oak.plugins.name with parameters of type Tree Modifier and Type Method Description static Map<String,String>
Namespaces. getNamespaceMap(Tree root)
static String
Namespaces. getNamespacePrefix(Tree root, String uri)
static String
Namespaces. getNamespaceURI(Tree root, String prefix)
-
Uses of Tree in org.apache.jackrabbit.oak.plugins.nodetype
Methods in org.apache.jackrabbit.oak.plugins.nodetype that return Tree Modifier and Type Method Description protected abstract @NotNull Tree
ReadOnlyNodeTypeManager. getTypes()
Returns theTree
instance where the node types are stored.Methods in org.apache.jackrabbit.oak.plugins.nodetype with parameters of type Tree Modifier and Type Method Description @NotNull NodeDefinition
ReadOnlyNodeTypeManager. getDefinition(@NotNull Tree parent, @NotNull String nodeName)
@NotNull PropertyDefinition
ReadOnlyNodeTypeManager. getDefinition(@NotNull Tree parent, @NotNull PropertyState property, boolean exactTypeMatch)
@NotNull NodeDefinition
ReadOnlyNodeTypeManager. getDefinition(@NotNull Tree parent, @NotNull Tree targetNode)
@NotNull EffectiveNodeType
ReadOnlyNodeTypeManager. getEffectiveNodeType(@NotNull Tree tree)
boolean
ReadOnlyNodeTypeManager. isNodeType(@NotNull Tree tree, @NotNull String oakNtName)
boolean
TypePredicate. test(@Nullable Tree input)
-
Uses of Tree in org.apache.jackrabbit.oak.plugins.tree
Methods in org.apache.jackrabbit.oak.plugins.tree that return Tree Modifier and Type Method Description static @NotNull Tree
TreeUtil. addChild(@NotNull Tree tree, @NotNull String childName, @NotNull String primaryTypeName)
Adds a new child tree with the given name and primary type name.static @NotNull Tree
TreeUtil. addChild(@NotNull Tree parent, @NotNull String name, @Nullable String typeName, @NotNull Tree typeRoot, @Nullable String userID)
@NotNull Tree
TreeProvider. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)
@NotNull Tree
TreeProvider. createReadOnlyTree(@NotNull NodeState rootState)
static @NotNull Tree
TreeUtil. getOrAddChild(@NotNull Tree tree, @NotNull String childName, @NotNull String primaryTypeName)
Combination ofgetChild(String)
and adding a child including its jcr:primaryType property (i.e.@NotNull Tree
TreeAware. getTree()
@Nullable Tree
TreeLocation. getTree()
Get the underlyingTree
for thisTreeLocation
.static @Nullable Tree
TreeUtil. getTree(@NotNull Tree tree, @NotNull String path)
Return the possibly non existing tree located at the passedpath
from the location of the starttree
ornull
ifpath
results in a parent of the root.Methods in org.apache.jackrabbit.oak.plugins.tree that return types with arguments of type Tree Modifier and Type Method Description static @NotNull List<Tree>
TreeUtil. getEffectiveType(@NotNull Tree tree, @NotNull Tree typeRoot)
Returns the effective node types of the given node.Methods in org.apache.jackrabbit.oak.plugins.tree with parameters of type Tree Modifier and Type Method Description static @NotNull Tree
TreeUtil. addChild(@NotNull Tree tree, @NotNull String childName, @NotNull String primaryTypeName)
Adds a new child tree with the given name and primary type name.static @NotNull Tree
TreeUtil. addChild(@NotNull Tree parent, @NotNull String name, @Nullable String typeName, @NotNull Tree typeRoot, @Nullable String userID)
static void
TreeUtil. addMixin(@NotNull Tree tree, @NotNull String mixinName, @NotNull Tree typeRoot, @Nullable String userID)
Add a mixin type to the giventree
.static void
TreeUtil. addMixin(@NotNull Tree tree, @NotNull Function<Tree,Iterable<String>> existingMixins, @NotNull String mixinName, @NotNull Tree typeRoot, @Nullable String userID)
Add a mixin type to the giventree
.@NotNull NodeState
TreeProvider. asNodeState(@NotNull Tree readOnlyTree)
static void
TreeUtil. autoCreateItems(@NotNull Tree tree, @NotNull Tree type, @NotNull Tree typeRoot, @Nullable String userID)
static @Nullable PropertyState
TreeUtil. autoCreateProperty(@NotNull String name, @NotNull Tree definition, @Nullable String userID)
static @NotNull TreeLocation
TreeLocation. create(@NotNull Tree tree)
Create a newTreeLocation
instance for atree
@NotNull Tree
TreeProvider. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)
boolean
TreeContext. definesContextRoot(@NotNull Tree tree)
Reveals if the specifiedTree
is the root of a subtree defined by the module that exposes this instance.boolean
TreeContext. definesInternal(@NotNull Tree tree)
Reveals if the specifiedTree
defines repository internal information, which is not hidden by default.boolean
TreeContext. definesProperty(@NotNull Tree parent, @NotNull PropertyState property)
Reveals if the specifiedPropertyState
is defined by the module that exposes this instance.boolean
TreeContext. definesTree(@NotNull Tree tree)
Reveals if the specifiedTree
is defined by the module that exposes this instance.static @Nullable String
TreeUtil. findDefaultPrimaryType(@NotNull Tree definitions, boolean sns)
static boolean
TreeUtil. getBoolean(@NotNull Tree tree, @NotNull String propertyName)
Returns the boolean representation of the property with the specifiedpropertyName
.static @Nullable String
TreeUtil. getDefaultChildType(@NotNull Tree typeRoot, @NotNull Tree parent, @NotNull String childName)
Finds the default primary type for a new child node with the given name.static @NotNull List<Tree>
TreeUtil. getEffectiveType(@NotNull Tree tree, @NotNull Tree typeRoot)
Returns the effective node types of the given node.static long
TreeUtil. getLong(@NotNull Tree tree, @NotNull String name, long defaultValue)
static @NotNull Iterable<String>
TreeUtil. getMixinTypeNames(@NotNull Tree tree)
static @NotNull Iterable<String>
TreeUtil. getMixinTypeNames(@NotNull Tree tree, @NotNull LazyValue<Tree> readOnlyTree)
static @Nullable String
TreeUtil. getName(@NotNull Tree tree, @NotNull String name)
static @NotNull Iterable<String>
TreeUtil. getNames(@NotNull Tree tree, @NotNull String name)
static @NotNull Tree
TreeUtil. getOrAddChild(@NotNull Tree tree, @NotNull String childName, @NotNull String primaryTypeName)
Combination ofgetChild(String)
and adding a child including its jcr:primaryType property (i.e.static @Nullable String
TreeUtil. getPrimaryTypeName(@NotNull Tree tree)
static @Nullable String
TreeUtil. getPrimaryTypeName(@NotNull Tree tree, @NotNull LazyValue<Tree> readOnlyTree)
static @Nullable String
TreeUtil. getString(@NotNull Tree tree, @NotNull String propertyName)
static @Nullable String
TreeUtil. getString(@NotNull Tree tree, @NotNull String name, @Nullable String defaultValue)
static @Nullable Iterable<String>
TreeUtil. getStrings(@NotNull Tree tree, @NotNull String propertyName)
static @Nullable Tree
TreeUtil. getTree(@NotNull Tree tree, @NotNull String path)
Return the possibly non existing tree located at the passedpath
from the location of the starttree
ornull
ifpath
results in a parent of the root.@NotNull TreeType
TreeTypeProvider. getType(@NotNull Tree tree)
@NotNull TreeType
TreeTypeProvider. getType(@NotNull Tree tree, @NotNull TreeType parentType)
static boolean
TreeUtil. isNodeType(@NotNull Tree tree, @NotNull String typeName, @NotNull Tree typeRoot)
static boolean
TreeUtil. isReadOnlyTree(@NotNull Tree tree)
Returnstrue
if the specifiedtree
is a read-only tree..Method parameters in org.apache.jackrabbit.oak.plugins.tree with type arguments of type Tree Modifier and Type Method Description static void
TreeUtil. addMixin(@NotNull Tree tree, @NotNull Function<Tree,Iterable<String>> existingMixins, @NotNull String mixinName, @NotNull Tree typeRoot, @Nullable String userID)
Add a mixin type to the giventree
.static @NotNull Iterable<String>
TreeUtil. getMixinTypeNames(@NotNull Tree tree, @NotNull LazyValue<Tree> readOnlyTree)
static @Nullable String
TreeUtil. getPrimaryTypeName(@NotNull Tree tree, @NotNull LazyValue<Tree> readOnlyTree)
-
Uses of Tree in org.apache.jackrabbit.oak.plugins.tree.factories
Methods in org.apache.jackrabbit.oak.plugins.tree.factories that return Tree Modifier and Type Method Description static Tree
TreeFactory. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)
Deprecated.static Tree
TreeFactory. createReadOnlyTree(@NotNull NodeState rootState)
Deprecated.static Tree
TreeFactory. createTree(@NotNull NodeBuilder builder)
Deprecated.Methods in org.apache.jackrabbit.oak.plugins.tree.factories with parameters of type Tree Modifier and Type Method Description static Tree
TreeFactory. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)
Deprecated. -
Uses of Tree in org.apache.jackrabbit.oak.plugins.tree.impl
Classes in org.apache.jackrabbit.oak.plugins.tree.impl that implement Tree Modifier and Type Class Description class
AbstractMutableTree
AbstractMutableTree
extendsAbstractTree
with implementations for most write methods ofTree
.class
AbstractTree
AbstractTree
provides default implementations for most read methods ofTree
.class
ImmutableTree
Immutable implementation of theTree
interface in order to provide the much feature rich API functionality for a givenNodeState
.class
NodeBuilderTree
A mutableTree
implementation based on an underlyingNodeBuilder
, which tracks all changes recorded through this tree's mutator methods.Methods in org.apache.jackrabbit.oak.plugins.tree.impl that return Tree Modifier and Type Method Description @NotNull Tree
AbstractMutableTree. addChild(@NotNull String name)
@NotNull Tree
ImmutableTree. addChild(@NotNull String name)
@NotNull Tree
TreeProviderService. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)
@NotNull Tree
TreeProviderService. createReadOnlyTree(@NotNull NodeState rootState)
@NotNull Tree
AbstractTree. getChild(@NotNull String name)
Methods in org.apache.jackrabbit.oak.plugins.tree.impl that return types with arguments of type Tree Modifier and Type Method Description @NotNull Iterable<Tree>
AbstractTree. getChildren()
Methods in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type Tree Modifier and Type Method Description @NotNull NodeState
TreeProviderService. asNodeState(@NotNull Tree readOnlyTree)
@NotNull Tree
TreeProviderService. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)
-
Uses of Tree in org.apache.jackrabbit.oak.plugins.version
Methods in org.apache.jackrabbit.oak.plugins.version that return Tree Modifier and Type Method Description protected @NotNull Tree
ReadOnlyVersionManager. checkVersionable(@NotNull Tree tree)
Checks if the giventree
is versionable and throws aUnsupportedRepositoryOperationException
if it is not.@Nullable Tree
ReadOnlyVersionManager. getBaseVersion(@NotNull Tree versionable)
Returns the tree representing the base version of the given versionable tree ornull
if none exists yet.@Nullable Tree
ReadOnlyVersionManager. getVersion(@NotNull String uuid)
Returns the version tree with the given uuid.@Nullable Tree
ReadOnlyVersionManager. getVersionable(@NotNull Tree versionTree, @NotNull String workspaceName)
Tries to retrieve the tree corresponding to specifiedversionTree
outside of the version storage based on versionable path information stored with the version history.@Nullable Tree
ReadOnlyVersionManager. getVersionHistory(@NotNull Tree versionable)
Returns the tree representing the version history of the given versionable tree ornull
if none exists yet.protected abstract @NotNull Tree
ReadOnlyVersionManager. getVersionStorage()
protected @NotNull Tree
ReadWriteVersionManager. getVersionStorage()
Methods in org.apache.jackrabbit.oak.plugins.version with parameters of type Tree Modifier and Type Method Description protected @NotNull Tree
ReadOnlyVersionManager. checkVersionable(@NotNull Tree tree)
Checks if the giventree
is versionable and throws aUnsupportedRepositoryOperationException
if it is not.@Nullable Tree
ReadOnlyVersionManager. getBaseVersion(@NotNull Tree versionable)
Returns the tree representing the base version of the given versionable tree ornull
if none exists yet.@Nullable Tree
ReadOnlyVersionManager. getVersionable(@NotNull Tree versionTree, @NotNull String workspaceName)
Tries to retrieve the tree corresponding to specifiedversionTree
outside of the version storage based on versionable path information stored with the version history.@Nullable Tree
ReadOnlyVersionManager. getVersionHistory(@NotNull Tree versionable)
Returns the tree representing the version history of the given versionable tree ornull
if none exists yet.boolean
ReadOnlyVersionManager. isCheckedOut(@NotNull Tree tree)
Returnstrue
if the tree is checked out; otherwisefalse
.protected boolean
ReadOnlyVersionManager. isVersionable(@NotNull Tree tree)
Returnstrue
if the giventree
is of typemix:versionable
;false
otherwise.static boolean
ReadOnlyVersionManager. isVersionStoreTree(@NotNull Tree tree)
Returnstrue
if the specified tree hasVersionConstants.REP_VERSIONSTORAGE
defines as primary node type i.e. -
Uses of Tree in org.apache.jackrabbit.oak.query
Methods in org.apache.jackrabbit.oak.query that return Tree Modifier and Type Method Description Tree
Query. getTree(String path)
Tree
QueryImpl. getTree(String path)
Tree
ResultRowImpl. getTree(String selectorName)
Tree
UnionQueryImpl. getTree(String path)
-
Uses of Tree in org.apache.jackrabbit.oak.query.ast
Methods in org.apache.jackrabbit.oak.query.ast that return Tree Modifier and Type Method Description @Nullable Tree
SelectorImpl. currentTree()
Get the tree at the current path. -
Uses of Tree in org.apache.jackrabbit.oak.security.authorization.accesscontrol
Methods in org.apache.jackrabbit.oak.security.authorization.accesscontrol with parameters of type Tree Modifier and Type Method Description void
AccessControlImporter. end(@NotNull Tree protectedParent)
boolean
AccessControlImporter. start(@NotNull Tree protectedParent)
-
Uses of Tree in org.apache.jackrabbit.oak.security.authorization.permission
Methods in org.apache.jackrabbit.oak.security.authorization.permission that return Tree Modifier and Type Method Description static @NotNull Tree
PermissionUtil. getPermissionsRoot(@NotNull Root root, @NotNull String permissionRootName)
static @NotNull Tree
PermissionUtil. getPrincipalRoot(@NotNull Tree permissionsTree, @NotNull String principalName)
static @NotNull Tree
PermissionUtil. getReadOnlyTree(@NotNull Tree tree, @NotNull Root readOnlyRoot)
static @Nullable Tree
PermissionUtil. getReadOnlyTreeOrNull(@Nullable Tree tree, @NotNull Root readOnlyRoot)
Methods in org.apache.jackrabbit.oak.security.authorization.permission with parameters of type Tree Modifier and Type Method Description static boolean
PermissionUtil. checkACLPath(@NotNull Tree node, @NotNull String path)
static @Nullable String
PermissionUtil. getPath(@Nullable Tree parentBefore, @Nullable Tree parentAfter)
static @NotNull Tree
PermissionUtil. getPrincipalRoot(@NotNull Tree permissionsTree, @NotNull String principalName)
@NotNull Set<String>
AllPermissionProviderImpl. getPrivileges(@Nullable Tree tree)
@NotNull Set<String>
PermissionProviderImpl. getPrivileges(@Nullable Tree tree)
static @NotNull Tree
PermissionUtil. getReadOnlyTree(@NotNull Tree tree, @NotNull Root readOnlyRoot)
static @Nullable Tree
PermissionUtil. getReadOnlyTreeOrNull(@Nullable Tree tree, @NotNull Root readOnlyRoot)
@NotNull TreePermission
AllPermissionProviderImpl. getTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parentPermission)
@NotNull TreePermission
AllPermissionProviderImpl. getTreePermission(@NotNull Tree tree, @NotNull TreePermission parentPermission)
@NotNull TreePermission
PermissionProviderImpl. getTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parentPermission)
@NotNull TreePermission
PermissionProviderImpl. getTreePermission(@NotNull Tree tree, @NotNull TreePermission parentPermission)
boolean
AllPermissionProviderImpl. hasPrivileges(@Nullable Tree tree, @NotNull String... privilegeNames)
boolean
PermissionProviderImpl. hasPrivileges(@Nullable Tree tree, @NotNull String... privilegeNames)
boolean
AllPermissionProviderImpl. isGranted(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
boolean
PermissionProviderImpl. isGranted(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
long
AllPermissionProviderImpl. supportedPermissions(@Nullable Tree tree, @Nullable PropertyState property, long permissions)
long
PermissionProviderImpl. supportedPermissions(@Nullable Tree tree, @Nullable PropertyState property, long permissions)
@NotNull PrivilegeBits
AllPermissionProviderImpl. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits privilegeBits)
@NotNull PrivilegeBits
PermissionProviderImpl. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits privilegeBits)
-
Uses of Tree in org.apache.jackrabbit.oak.security.authorization.restriction
Methods in org.apache.jackrabbit.oak.security.authorization.restriction with parameters of type Tree Modifier and Type Method Description @NotNull RestrictionPattern
PrincipalRestrictionProvider. getPattern(@Nullable String oakPath, @NotNull Tree tree)
@NotNull RestrictionPattern
RestrictionProviderImpl. getPattern(@Nullable String oakPath, @NotNull Tree tree)
@NotNull RestrictionPattern
WhiteboardRestrictionProvider. getPattern(@Nullable String oakPath, @NotNull Tree tree)
@NotNull Set<Restriction>
PrincipalRestrictionProvider. readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
@NotNull Set<Restriction>
WhiteboardRestrictionProvider. readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
void
PrincipalRestrictionProvider. validateRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
void
RestrictionProviderImpl. validateRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
void
WhiteboardRestrictionProvider. validateRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
void
PrincipalRestrictionProvider. writeRestrictions(@Nullable String oakPath, @NotNull Tree aceTree, @NotNull Set<Restriction> restrictions)
void
WhiteboardRestrictionProvider. writeRestrictions(@Nullable String oakPath, @NotNull Tree aceTree, @NotNull Set<Restriction> restrictions)
-
Uses of Tree in org.apache.jackrabbit.oak.security.user
Methods in org.apache.jackrabbit.oak.security.user with parameters of type Tree Modifier and Type Method Description @Nullable Authorizable
UserManagerImpl. getAuthorizable(@Nullable Tree tree)
-
Uses of Tree in org.apache.jackrabbit.oak.spi.nodetype
Methods in org.apache.jackrabbit.oak.spi.nodetype with parameters of type Tree Modifier and Type Method Description void
EffectiveNodeType. checkMandatoryItems(@NotNull Tree tree)
@NotNull NodeDefinition
DefinitionProvider. getDefinition(@NotNull Tree parent, @NotNull String nodeName)
Returns the node definition for a child node ofparent
namednodeName
with a default primary type.@NotNull PropertyDefinition
DefinitionProvider. getDefinition(@NotNull Tree parent, @NotNull PropertyState propertyState, boolean exactTypeMatch)
Calculates the applicable definition for the property state under the given parent tree.@NotNull NodeDefinition
DefinitionProvider. getDefinition(@NotNull Tree parent, @NotNull Tree targetNode)
Calculates the applicable definition for the child node under the given parent node.@NotNull EffectiveNodeType
EffectiveNodeTypeProvider. getEffectiveNodeType(@NotNull Tree tree)
Calculates and returns the effective node types of the given tree.boolean
EffectiveNodeTypeProvider. isNodeType(@NotNull Tree tree, @NotNull String nodeTypeName)
Returnstrue
if this tree is of the specified primary node type or mixin type, or a subtype thereof respecting the effective node type of thetree
. -
Uses of Tree in org.apache.jackrabbit.oak.spi.security
Methods in org.apache.jackrabbit.oak.spi.security with parameters of type Tree Modifier and Type Method Description boolean
Context.Default. definesContextRoot(@NotNull Tree tree)
boolean
Context.Default. definesInternal(@NotNull Tree tree)
boolean
Context.Default. definesProperty(@NotNull Tree parent, @NotNull PropertyState property)
boolean
Context.Default. definesTree(@NotNull Tree tree)
-
Uses of Tree in org.apache.jackrabbit.oak.spi.security.authentication.external
Methods in org.apache.jackrabbit.oak.spi.security.authentication.external with parameters of type Tree Modifier and Type Method Description boolean
ProtectionConfig. isProtectedProperty(@NotNull Tree parent, @NotNull PropertyState property)
boolean
ProtectionConfig. isProtectedTree(@NotNull Tree tree)
-
Uses of Tree in org.apache.jackrabbit.oak.spi.security.authentication.external.impl.principal
Methods in org.apache.jackrabbit.oak.spi.security.authentication.external.impl.principal with parameters of type Tree Modifier and Type Method Description boolean
ProtectionConfigImpl. isProtectedProperty(@NotNull Tree parent, @NotNull PropertyState property)
boolean
ProtectionConfigImpl. isProtectedTree(@NotNull Tree tree)
-
Uses of Tree in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol
Methods in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol that return Tree Modifier and Type Method Description protected @NotNull Tree
AbstractAccessControlManager. getTree(@Nullable String oakPath, long permissions, boolean checkAcContent)
-
Uses of Tree in org.apache.jackrabbit.oak.spi.security.authorization.permission
Methods in org.apache.jackrabbit.oak.spi.security.authorization.permission with parameters of type Tree Modifier and Type Method Description @NotNull Set<String>
EmptyPermissionProvider. getPrivileges(@Nullable Tree tree)
@NotNull Set<String>
OpenPermissionProvider. getPrivileges(@Nullable Tree tree)
@NotNull Set<String>
PermissionProvider. getPrivileges(@Nullable Tree tree)
Returns the set of privilege names which are granted to the set ofPrincipal
s associated with this provider instance for the specifiedTree
.@NotNull TreePermission
AggregatedPermissionProvider. getTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parentPermission)
Return theTreePermission
for the set ofPrincipal
s associated with this provider at the specifiedtree
with the giventype
.@NotNull TreePermission
EmptyPermissionProvider. getTreePermission(@NotNull Tree tree, @NotNull TreePermission parentPermission)
@NotNull TreePermission
OpenPermissionProvider. getTreePermission(@NotNull Tree tree, @NotNull TreePermission parentPermission)
@NotNull TreePermission
PermissionProvider. getTreePermission(@NotNull Tree tree, @NotNull TreePermission parentPermission)
Return theTreePermission
for the set ofPrincipal
s associated with this provider at the specifiedtree
.boolean
EmptyPermissionProvider. hasPrivileges(@Nullable Tree tree, @NotNull String... privilegeNames)
boolean
OpenPermissionProvider. hasPrivileges(@Nullable Tree tree, @NotNull String... privilegeNames)
boolean
PermissionProvider. hasPrivileges(@Nullable Tree tree, @NotNull String... privilegeNames)
Returns whether the principal set associated with thisPrivilegeManager
is granted the privileges identified by the specified privilege names for the giventree
.boolean
EmptyPermissionProvider. isGranted(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
boolean
OpenPermissionProvider. isGranted(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
boolean
PermissionProvider. isGranted(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
Test if the specified permissions are granted for the set ofPrincipal
s associated with this provider instance for the item identified by the given tree and optionally property.long
AggregatedPermissionProvider. supportedPermissions(@Nullable Tree tree, @Nullable PropertyState property, long permissions)
Allows to determined the set or subset of permissions evaluated by the implementing permission provider for the specified item (identified bytree
and optionallyproperty
) or at the repository level in case the specifiedtree
isnull
.@NotNull PrivilegeBits
AggregatedPermissionProvider. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits privilegeBits)
Allows to determined the set or subset of privileges evaluated by the implementing permission provider for the specified tree or at the repository level in case the specifiedtree
isnull
. -
Uses of Tree in org.apache.jackrabbit.oak.spi.security.authorization.restriction
Methods in org.apache.jackrabbit.oak.spi.security.authorization.restriction that return Tree Modifier and Type Method Description protected @NotNull Tree
AbstractRestrictionProvider. getRestrictionsTree(@NotNull Tree aceTree)
Returns the tree that contains the restriction of the specified ACE tree.Methods in org.apache.jackrabbit.oak.spi.security.authorization.restriction with parameters of type Tree Modifier and Type Method Description @NotNull RestrictionPattern
CompositeRestrictionProvider. getPattern(@Nullable String oakPath, @NotNull Tree tree)
@NotNull RestrictionPattern
RestrictionProvider. getPattern(@Nullable String oakPath, @NotNull Tree tree)
Creates theRestrictionPattern
for the restriction information stored with specified tree.protected @NotNull Tree
AbstractRestrictionProvider. getRestrictionsTree(@NotNull Tree aceTree)
Returns the tree that contains the restriction of the specified ACE tree.boolean
CompositePattern. matches(@NotNull Tree tree, @Nullable PropertyState property)
boolean
RestrictionPattern. matches(@NotNull Tree tree, @Nullable PropertyState property)
Returnstrue
if the underlying restriction matches the specified tree or property state.@NotNull Set<Restriction>
AbstractRestrictionProvider. readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
@NotNull Set<Restriction>
CompositeRestrictionProvider. readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
@NotNull Set<Restriction>
RestrictionProvider. readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
Read the valid restrictions stored in the specified ACE tree.void
AbstractRestrictionProvider. validateRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
void
CompositeRestrictionProvider. validateRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
void
RestrictionProvider. validateRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
Validate the restrictions present with the specified ACE tree.void
AbstractRestrictionProvider. writeRestrictions(@Nullable String oakPath, @NotNull Tree aceTree, @NotNull Set<Restriction> restrictions)
void
CompositeRestrictionProvider. writeRestrictions(@Nullable String oakPath, @NotNull Tree aceTree, @NotNull Set<Restriction> restrictions)
void
RestrictionProvider. writeRestrictions(@Nullable String oakPath, @NotNull Tree aceTree, @NotNull Set<Restriction> restrictions)
Writes the given restrictions to the specified ACE tree. -
Uses of Tree in org.apache.jackrabbit.oak.spi.security.privilege
Methods in org.apache.jackrabbit.oak.spi.security.privilege that return Tree Modifier and Type Method Description @NotNull Tree
PrivilegeBitsProvider. getPrivilegesTree()
Returns the root tree for all privilege definitions stored in the content repository.static @NotNull Tree
PrivilegeUtil. getPrivilegesTree(@NotNull Root root)
Returns the root tree for all privilege definitions stored in the content repository.Methods in org.apache.jackrabbit.oak.spi.security.privilege with parameters of type Tree Modifier and Type Method Description static @NotNull PrivilegeBits
PrivilegeBits. getInstance(@Nullable Tree tree)
Get or create an instance of privilege bits for a privilege definition.static @NotNull PrivilegeDefinition
PrivilegeUtil. readDefinition(@NotNull Tree definitionTree)
Reads the privilege definition stored in the specified definition tree.void
PrivilegeBits. writeTo(@NotNull Tree tree)
Write this instance as property to the specified tree. -
Uses of Tree in org.apache.jackrabbit.oak.spi.security.user.cache
Methods in org.apache.jackrabbit.oak.spi.security.user.cache with parameters of type Tree Modifier and Type Method Description Set<Principal>
CacheLoader. load(Tree authorizableTree)
Gets the set of principals for the given authorizable tree.Set<Principal>
CachedMembershipReader. readMembership(@NotNull Tree authorizableTree, CacheLoader cacheLoader)
Read the membership information of the authorizable and store the result in a cache using the provided cacheLoader. -
Uses of Tree in org.apache.jackrabbit.oak.spi.security.user.util
Methods in org.apache.jackrabbit.oak.spi.security.user.util with parameters of type Tree Modifier and Type Method Description static @Nullable String
UserUtil. getAuthorizableId(@NotNull Tree authorizableTree)
static @NotNull String
UserUtil. getAuthorizableId(@NotNull Tree authorizableTree, @NotNull AuthorizableType type)
Retrieve the id from the givenauthorizableTree
, which must have been verified for being a valid authorizable of the specified type upfront.static @Nullable AuthorizableType
UserUtil. getType(@NotNull Tree authorizableNode)
static boolean
UserUtil. isSystemUser(@Nullable Tree authorizableTree)
static boolean
UserUtil. isType(@Nullable Tree authorizableTree, @NotNull AuthorizableType type)
-
Uses of Tree in org.apache.jackrabbit.oak.spi.xml
Methods in org.apache.jackrabbit.oak.spi.xml with parameters of type Tree Modifier and Type Method Description void
ProtectedNodeImporter. end(@NotNull Tree protectedParent)
Informs this importer that the tree to be imported belowprotectedParent
has bee completed.boolean
ProtectedPropertyImporter. handlePropInfo(@NotNull Tree parent, @NotNull PropInfo protectedPropInfo, @NotNull PropertyDefinition def)
Handles a single protected property.void
ProtectedPropertyImporter. propertiesCompleted(@NotNull Tree protectedParent)
Informs this importer that all properties to be imported belowprotectedParent
have been processed by the importer.boolean
ProtectedNodeImporter. start(@NotNull Tree protectedParent)
Notifies this importer about the existence of a protected node that has either been created (NEW) or has been found to be existing.
-