public interface PermissionTree
PermissionNode
instancesModifier and Type | Method and Description |
---|---|
void |
accept(PermissionTreeVisitor visitor)
Entry point for visitor interfaces
|
Collection<String> |
getChildrenResourceIds(PermissionNode parentNode)
Get the resource ids (if any) referenced from the permission instances, see
getPermissions() . |
PermissionCollection |
getPermissions()
Get the collection of permissions this tree has been initiliazed with
|
List<PermissionNode> |
getRootNodes()
Get the root nodes of the tree.
|
List<PermissionNode> getRootNodes()
A list of nodes order by its PermissionNode.getPositionInTree()
. The nodes with the same position
are ordered by node name in incremental order.
Collection<String> getChildrenResourceIds(PermissionNode parentNode)
getPermissions()
.parentNode
- The parent node to start looking forPermissionCollection getPermissions()
void accept(PermissionTreeVisitor visitor)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.