| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.plugins.tree | |
| org.apache.jackrabbit.oak.spi.security | |
| org.apache.jackrabbit.oak.spi.security.authorization.permission |
| Modifier and Type | Method and Description |
|---|---|
static TreeLocation |
TreeLocation.create(org.apache.jackrabbit.oak.api.Root root)
Equivalent to
create(root, "/") |
static TreeLocation |
TreeLocation.create(org.apache.jackrabbit.oak.api.Root root,
String path)
Create a new
TreeLocation instance for the item
at the given path in root. |
static TreeLocation |
TreeLocation.create(@NotNull org.apache.jackrabbit.oak.api.Tree tree)
Create a new
TreeLocation instance for a tree |
@NotNull TreeLocation |
TreeLocation.getChild(String name)
Navigate to a child of the given
name. |
abstract @NotNull TreeLocation |
TreeLocation.getParent()
Navigate to the parent or an invalid location for the root of the hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TreeContext.definesLocation(@NotNull TreeLocation location)
Reveals if the specified
TreeLocation is defined by the
module that exposes this instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Context.Default.definesLocation(@NotNull TreeLocation location) |
| Modifier and Type | Method and Description |
|---|---|
static long |
Permissions.getPermissions(@NotNull String jcrActions,
@NotNull TreeLocation location,
boolean isAccessControlContent)
Returns the permissions that correspond the given jcr actions such as
specified in
Session.hasPermission(String, String). |
boolean |
AggregatedPermissionProvider.isGranted(@NotNull TreeLocation location,
long permissions)
Test if the specified permissions are granted for the set of
Principals
associated with this provider instance for the item identified by the
given location and optionally property. |
long |
AggregatedPermissionProvider.supportedPermissions(@NotNull TreeLocation location,
long permissions)
Allows to determined the set or subset of permissions evaluated by the
implementing permission provider for the specified location.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.