| Package | Description |
|---|---|
| org.uberfire.security.client.authz.tree | |
| org.uberfire.security.client.authz.tree.impl |
| Modifier and Type | Method and Description |
|---|---|
PermissionNode |
PermissionTreeProvider.buildRootNode()
Returns a brand new node containing a permission node hierarchy.
|
PermissionNode |
PermissionNode.getParentNode()
Get the parent node.
|
| Modifier and Type | Method and Description |
|---|---|
List<PermissionNode> |
PermissionTree.getRootNodes()
Get the root nodes of the tree.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
PermissionTree.getChildrenResourceIds(PermissionNode parentNode)
Get the resource ids (if any) referenced from the permission instances, see
PermissionTree.getPermissions(). |
List<Permission> |
PermissionNode.impliesName(PermissionNode node)
Retrieve the permissions of the specified node that are implied by this node's permissions.
|
void |
PermissionTreeProvider.loadChildren(PermissionNode parent,
LoadOptions options,
LoadCallback consumer)
Asynchronous interface for loading the children nodes of a given parent permission node.
|
void |
PermissionNode.setParentNode(PermissionNode parentNode)
Set this node's parent
|
void |
PermissionTreeVisitor.visit(PermissionNode node)
Visit the given
PermissionNode. |
| Modifier and Type | Method and Description |
|---|---|
void |
LoadCallback.afterLoad(List<PermissionNode> nodeList)
Called after a list of nodes have been loaded
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPermissionNode |
class |
PermissionGroupNode
An group node contains a non-modifiable set of children nodes
|
class |
PermissionLeafNode
A leaf node does not contain any children and it only allows for changing its permission values
|
class |
PermissionResourceNode
A resource node allows for adding or removing children nodes (each one represents a set of permissions
over a single resource instance) at runtime.
|
| Modifier and Type | Method and Description |
|---|---|
PermissionNode |
AbstractPermissionNode.getParentNode() |
| Modifier and Type | Method and Description |
|---|---|
List<PermissionNode> |
DefaultPermissionTree.getRootNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPermissionTree.accept(PermissionTreeVisitor visitor,
PermissionNode node) |
Set<Permission> |
DefaultPermissionTree.getChildrenPermissions(PermissionNode parent) |
Collection<String> |
DefaultPermissionTree.getChildrenResourceIds(PermissionNode node) |
List<Permission> |
AbstractPermissionNode.impliesName(PermissionNode node) |
void |
AbstractPermissionNode.setParentNode(PermissionNode parentNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPermissionTree.accept(PermissionTreeVisitor visitor,
List<PermissionNode> children) |
| Constructor and Description |
|---|
DefaultPermissionTree(PermissionManager permissionManager,
List<PermissionNode> rootNodes,
PermissionCollection permissions) |
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.