com.bea.security.entitlements.admin.rbac
Class ResourceNode

java.lang.Object
  extended byorg.apache.myfaces.custom.tree2.TreeNodeBase
      extended bycom.bea.security.entitlements.admin.rbac.TreeNodeWithSelection
          extended bycom.bea.security.entitlements.admin.rbac.BaseTreeNode
              extended bycom.bea.security.entitlements.admin.rbac.ResourceNode
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable, org.apache.myfaces.custom.tree2.TreeNode

public class ResourceNode
extends BaseTreeNode
implements java.io.Serializable

Currently resource node is used to represent * Permission nodes. The resource node would be used with in * the tree model base.

See Also:
Serialized Form

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
ResourceNode(com.bea.ales.rbac.Resource resource, boolean isLeaf)
          Constructor * @param resource resource instance to use * @param isLeaf true if leaf, false otherwise
 
Method Summary
 java.lang.String getNodeType()
          Returns constant BaseTreeNode.RESOURCE_NODE
 com.bea.ales.rbac.Resource getResource()
          Return resource object for this instance * @return resource for instance
 
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

ResourceNode

public ResourceNode(com.bea.ales.rbac.Resource resource,
                    boolean isLeaf)
Constructor * @param resource resource instance to use * @param isLeaf true if leaf, false otherwise

Method Detail

getNodeType

public java.lang.String getNodeType()
Returns constant BaseTreeNode.RESOURCE_NODE

Specified by:
getNodeType in class BaseTreeNode
Returns:

getResource

public com.bea.ales.rbac.Resource getResource()
Return resource object for this instance * @return resource for instance



Copyright © 2007 BEA Systems Inc. All Rights Reserved.