|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.custom.tree2.TreeNodeBase
com.bea.security.entitlements.admin.rbac.TreeNodeWithSelection
com.bea.security.entitlements.admin.rbac.BaseTreeNode
com.bea.security.entitlements.admin.rbac.AttributableEntitlementNode
com.bea.security.entitlements.admin.rbac.RolePermissionSetNode
com.bea.security.entitlements.admin.rbac.PermissionSetNode
The Permission set node will wrap the RBAC API Permission Sets The TreeNodeWithSelection code is used to designate which permission sets are associated with a role. The selected code is used for the checkboxes in addPerm2Role.jsp
Field Summary |
Fields inherited from class com.bea.security.entitlements.admin.rbac.BaseTreeNode |
IDENTITY_DIRECTORY_NODE, IDENTITY_NODE, NAVIGATION_NODE, PERMISSION_NODE, PERMISSION_SET_NODE, REPORTING_NODE, RESOURCE_NODE, ROLE_NODE, SOD_NODE |
Constructor Summary | |
PermissionSetNode()
Default unnamed permission set node, uses a type "pset" |
|
PermissionSetNode(PermissionSetNode parentNode,
com.bea.ales.rbac.RBAC_PermissionSet pset,
boolean isLeaf)
Constructor to create a new PermissionSetNode |
|
PermissionSetNode(com.bea.ales.rbac.RBAC_PermissionSet pset,
boolean isLeaf)
Constructor to create a new PermissionSetNode |
|
PermissionSetNode(java.lang.String name,
boolean isLeaf)
Constructor to create a new PermissionSetNode |
Method Summary | |
java.lang.String |
addPermissions()
|
java.lang.String |
addPermissionsToDB()
This persists the permissions to the backend database |
java.lang.String |
finishedModifyAttribute()
When finished modifying a rule, make sure that if it was a new rule we re-set our state back to false so that on cancel, we don't accidentally delete an existing rule. |
java.util.List |
getAllRbacPermissions()
Get All RBAC Permission objects associated to this node |
java.util.List |
getAttributes()
Get all (QueryType.ALL) attributes for this node |
java.util.List |
getChildren()
Get children permission set nodes |
java.util.List |
getCurrentAvailablePermissions()
Get all available permissions for this node |
java.util.List |
getCurrentIndividualPermissions()
Get just the individual permissions for this node |
java.util.List |
getDirectAttributes()
Get Direct Atttributes for this PermissionSet node |
java.util.List |
getDirectRbacPermissions()
Accessor method to get direct permissions for this node |
java.lang.String |
getFullName()
Node full name |
java.util.List |
getIndividualPermissions()
Get just the individual permissions for this node |
java.util.List |
getInheritedPermissions()
Get all inherited pemissions for this node |
TreeNodeWithSelection |
getNodeByName(java.lang.String name)
Given a name, return instance of PermissionsetNode |
java.lang.String |
getNodeType()
Return permission set node type constant |
int |
getPermFromIdx()
Index of the permission in the From box |
java.lang.String |
getPermissionFilter()
Filter set to view permissions |
java.util.List |
getPermissions()
Retrieve all SelectItem for the current permission set node |
int |
getPermToIdx()
Index of the permission in the To box |
int |
getPermTotal()
Get a total of permissions for node |
com.bea.ales.rbac.RBAC_PermissionSet |
getRbacPermissionSet()
Access the RBAC permission set representing this node |
java.util.List |
getSelectedNewPermissions()
|
java.util.List |
getSelectedPermissions()
Retrieve currently selected Permissions |
java.lang.String |
removeCurrentAttribute()
Remove the currently selected rule from the list |
java.lang.String |
removePermissions()
Remove permissions method. |
java.lang.String |
restorePermissionsInDB()
Roll back all changes if cancel button is clicked |
void |
setFullName(java.lang.String fullName)
Set full name |
void |
setPermissionFilter(java.lang.String filter)
Reset currently set filter to display permissions |
void |
setSelectedNewPermissions(java.util.List selectedNewPermissions)
|
void |
setSelectedPermissions(java.util.List selectedIndPermissions)
Set a new set of selected permissions |
Methods inherited from class com.bea.security.entitlements.admin.rbac.RolePermissionSetNode |
decreasePermissionIndex, increasePermissionIndex |
Methods inherited from class com.bea.security.entitlements.admin.rbac.AttributableEntitlementNode |
cancelModifyAttribute, getCurrentAttribute, isNewAttribute, newAttributeAction, removeCurrentAttributeFromList, setAttributes, setAttrIdx, setCurrentAttribute, setNewAttribute |
Methods inherited from class com.bea.security.entitlements.admin.rbac.TreeNodeWithSelection |
compareTo, getParent, isSelected, removeNode, setChildrenSelectedRecursively, setNeedUpdateChildren, setParent, setSelected |
Methods inherited from class org.apache.myfaces.custom.tree2.TreeNodeBase |
getChildCount, getDescription, getIdentifier, getType, isLeaf, setDescription, setIdentifier, setLeaf, setType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PermissionSetNode()
public PermissionSetNode(PermissionSetNode parentNode, com.bea.ales.rbac.RBAC_PermissionSet pset, boolean isLeaf)
pset
- parent permission set node to set for this nodeisLeaf
- true if leaf, false otherwisepublic PermissionSetNode(com.bea.ales.rbac.RBAC_PermissionSet pset, boolean isLeaf)
pset
- RBAC permission set to useisLeaf
- true if leaf, false otherwisepublic PermissionSetNode(java.lang.String name, boolean isLeaf)
name
- Name of the PermissionSet to createisLeaf
- true if leaf, false otherwiseMethod Detail |
public java.lang.String addPermissions()
addPermissions
in class RolePermissionSetNode
public java.lang.String addPermissionsToDB()
public java.lang.String finishedModifyAttribute()
public java.util.List getAllRbacPermissions()
getAllRbacPermissions
in class RolePermissionSetNode
public java.util.List getAttributes()
public java.util.List getChildren()
public java.util.List getCurrentAvailablePermissions()
getCurrentAvailablePermissions
in class RolePermissionSetNode
public java.util.List getCurrentIndividualPermissions()
getCurrentIndividualPermissions
in class RolePermissionSetNode
public java.util.List getDirectAttributes()
getDirectAttributes
in class RolePermissionSetNode
public java.util.List getDirectRbacPermissions()
getDirectRbacPermissions
in class RolePermissionSetNode
public java.lang.String getFullName()
public java.util.List getIndividualPermissions()
getIndividualPermissions
in class RolePermissionSetNode
public java.util.List getInheritedPermissions()
getInheritedPermissions
in class RolePermissionSetNode
public TreeNodeWithSelection getNodeByName(java.lang.String name)
getNodeByName
in class TreeNodeWithSelection
name
- name of the node
public java.lang.String getNodeType()
getNodeType
in class BaseTreeNode
public int getPermFromIdx()
public java.lang.String getPermissionFilter()
public java.util.List getPermissions()
public int getPermToIdx()
public int getPermTotal()
public com.bea.ales.rbac.RBAC_PermissionSet getRbacPermissionSet()
public java.util.List getSelectedNewPermissions()
public java.util.List getSelectedPermissions()
public java.lang.String removeCurrentAttribute()
public java.lang.String removePermissions()
RolePermissionSetNode
removePermissions
in class RolePermissionSetNode
public java.lang.String restorePermissionsInDB()
public void setFullName(java.lang.String fullName)
fullName
- to setpublic void setPermissionFilter(java.lang.String filter)
filter
- new filter value to setpublic void setSelectedNewPermissions(java.util.List selectedNewPermissions)
selectedNewPermissions
- The selectedNewPermissions to set.public void setSelectedPermissions(java.util.List selectedIndPermissions)
selectedIndPermissions
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |