|
|||||||||
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
This class provides core functionality for all nodes that could have attributes associated to its definition.
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 | |
AttributableEntitlementNode()
Default Constructor |
|
AttributableEntitlementNode(java.lang.String type,
java.lang.String description,
boolean leaf)
Constructor with type and description |
|
AttributableEntitlementNode(java.lang.String type,
java.lang.String description,
java.lang.String identifier,
boolean leaf)
Constructor with type, description and an identifier |
|
AttributableEntitlementNode(TreeNodeWithSelection parentNode,
java.lang.String type,
java.lang.String description,
boolean leaf)
Constructor with an associated parent node |
Method Summary | |
java.lang.String |
cancelModifyAttribute()
When canceling the modification of a rule, If the new rule is canceled, make sure we delete the rule. |
AttributeElement |
getCurrentAttribute()
Get current set attribute |
boolean |
isNewAttribute()
Status of newAttribute, just a session state holder for new node create popup dialogs |
java.lang.String |
newAttributeAction()
Create a new rule to be edited in the UI. |
void |
removeCurrentAttributeFromList()
Remove the currently selected Attribute from the list of direct attributes for the given node |
void |
setAttributes(java.util.List attributes)
Set a new set of attributes |
void |
setAttrIdx(int attrIdx)
Set the currently selected attribute in the role attribute table of the UI. |
void |
setCurrentAttribute(AttributeElement currentAttribute)
Set new Attribute |
void |
setNewAttribute(boolean newAttribute)
Set status of newAttribute, session state holder |
Methods inherited from class com.bea.security.entitlements.admin.rbac.BaseTreeNode |
getNodeType |
Methods inherited from class com.bea.security.entitlements.admin.rbac.TreeNodeWithSelection |
compareTo, getNodeByName, getParent, isSelected, removeNode, setChildrenSelectedRecursively, setNeedUpdateChildren, setParent, setSelected |
Methods inherited from class org.apache.myfaces.custom.tree2.TreeNodeBase |
getChildCount, getChildren, 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 AttributableEntitlementNode()
public AttributableEntitlementNode(java.lang.String type, java.lang.String description, boolean leaf)
type
- type of the node for example "Role" etcdescription
- description to useleaf
- true if leaf, false otherwisepublic AttributableEntitlementNode(java.lang.String type, java.lang.String description, java.lang.String identifier, boolean leaf)
type
- type of the node for example "Role" etcdescription
- description to useidentifier
- identifier for nodeleaf
- true if leaf, false otherwisepublic AttributableEntitlementNode(TreeNodeWithSelection parentNode, java.lang.String type, java.lang.String description, boolean leaf)
parentNode
- parent node to settype
- type of the node for example "Role" etcdescription
- description to useleaf
- true if leaf, false otherwiseMethod Detail |
public java.lang.String cancelModifyAttribute()
public AttributeElement getCurrentAttribute()
public boolean isNewAttribute()
public java.lang.String newAttributeAction()
public void removeCurrentAttributeFromList()
public void setAttributes(java.util.List attributes)
attributes
- list of AttributeElements to setpublic void setAttrIdx(int attrIdx)
attrIdx
- attribute to setpublic void setCurrentAttribute(AttributeElement currentAttribute)
currentAttribute
- attribute to setpublic void setNewAttribute(boolean newAttribute)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |