|
|||||||||
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
This class provides base functionality for most tree nodes. The Abstract class mandates a nodeType for all nodes participating in the EUI tree. For MetaObjects, the getType() would be used internally for getNodeType() of the BaseTreeNode.
Field Summary | |
static java.lang.String |
IDENTITY_DIRECTORY_NODE
|
static java.lang.String |
IDENTITY_NODE
|
static java.lang.String |
NAVIGATION_NODE
|
static java.lang.String |
PERMISSION_NODE
|
static java.lang.String |
PERMISSION_SET_NODE
|
static java.lang.String |
REPORTING_NODE
|
static java.lang.String |
RESOURCE_NODE
|
static java.lang.String |
ROLE_NODE
Constants defined for various nodes |
static java.lang.String |
SOD_NODE
|
Constructor Summary | |
BaseTreeNode()
Default constructor |
|
BaseTreeNode(java.lang.String type,
java.lang.String description,
boolean leaf)
Construct base tree node for a given type |
|
BaseTreeNode(java.lang.String type,
java.lang.String description,
java.lang.String identifier,
boolean leaf)
Construct base tree node for a given type |
|
BaseTreeNode(TreeNodeWithSelection parentNode,
java.lang.String type,
java.lang.String description,
boolean leaf)
Construct base tree node for a given type |
Method Summary | |
abstract java.lang.String |
getNodeType()
Return the node type for the tree node to use |
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 |
Field Detail |
public static final java.lang.String IDENTITY_DIRECTORY_NODE
public static final java.lang.String IDENTITY_NODE
public static final java.lang.String NAVIGATION_NODE
public static final java.lang.String PERMISSION_NODE
public static final java.lang.String PERMISSION_SET_NODE
public static final java.lang.String REPORTING_NODE
public static final java.lang.String RESOURCE_NODE
public static final java.lang.String ROLE_NODE
public static final java.lang.String SOD_NODE
Constructor Detail |
public BaseTreeNode()
public BaseTreeNode(java.lang.String type, java.lang.String description, boolean leaf)
type
- Type to create, either of ROLE_NODE, PERMISSION_NODE etcdescription
- Description to useleaf
- true if leaf, false othewisepublic BaseTreeNode(java.lang.String type, java.lang.String description, java.lang.String identifier, boolean leaf)
type
- Type to create, either of ROLE_NODE, PERMISSION_NODE etcdescription
- Description to useidentifier
- Identfier to sueleaf
- true if leaf, false othewisepublic BaseTreeNode(TreeNodeWithSelection parentNode, java.lang.String type, java.lang.String description, boolean leaf)
parentNode
- Parent node to set for a non leaf type nodetype
- Type to create, either of ROLE_NODE, PERMISSION_NODE etcdescription
- Description to useMethod Detail |
public abstract java.lang.String getNodeType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |