|
|||||||||
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.EUIMetaObjectNode
The MetaObject node will wrap the RBAC API Meta Object implementations. This object is available to facilitate custom object creation of a selectable tree node. MetaObjects to extend the EUI functionality would be configured via metaobject_mappings.properties. These files would be loaded during startup time.
Field Summary | |
static java.lang.String |
EUI_METAOBJECT_PARM0
MetaObject configuation constant - first parameter: specifies parent node |
static java.lang.String |
EUI_METAOBJECT_PARM1
MetaObject configuation constant - second parameter - RBAC meta object to use |
static java.lang.String |
EUI_METAOBJECT_PARM2
MetaObject configuation constant - third parameter - leaf node or not |
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 | |
EUIMetaObjectNode(java.lang.String type)
EUI MetaObject constructor |
|
EUIMetaObjectNode(java.lang.String type,
com.bea.ales.rbac.MetaObject a_meta,
boolean isLeaf)
EUI MetaObject constructor |
|
EUIMetaObjectNode(java.lang.String type,
java.lang.String name,
boolean isLeaf)
EUI MetaObject constructor |
|
EUIMetaObjectNode(java.lang.String type,
TreeNodeWithSelection parentNode,
com.bea.ales.rbac.MetaObject a_meta,
boolean isLeaf)
EUI MetaObject constructor |
Method Summary | |
java.lang.String |
addChildren()
Action when add button is clicked |
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 |
getAllRbacChildren()
Get All RBAC Meta objects associated to this node |
java.util.List |
getAttributes()
Get all (QueryType.ALL) attributes for this node |
com.bea.ales.rbac.CollectionIdentity |
getAttributes(int queryType)
Get Attributes for a query type |
java.util.List |
getChildren()
Get children for this meta object, this implements the JSF TreeNodeBase getChildren() to load the children on startup and refresh |
java.lang.String |
getClassName()
Classname for use by reflection |
AttributeElement |
getCurrentAttribute()
Get current set attribute |
java.util.List |
getDirectAttributes()
Get Direct Atttributes for this MetaObject node |
java.util.List |
getDirectRbacChildren()
Accessor method to get direct children for this node. |
java.lang.String |
getFullName()
Node full name |
TreeNodeWithSelection |
getNodeByName(java.lang.String name)
Given a name, return instance of PermissionsetNode |
com.bea.ales.rbac.MetaObject |
getRbacMetaObject()
Return the instance of the RBAC MetaObject representing this node |
java.util.List |
getSelectedNewChildren()
Get selected new children for this node |
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. |
java.lang.String |
removeChildren()
Remove children method. |
java.lang.String |
removeCurrentAttribute()
Remove the currently selected rule from the list |
java.lang.String |
restoreChildrenInDB()
Roll back all changes if cancel button is clicked |
void |
setClassName(java.lang.String a_className)
Class name to set for reflection convenience |
void |
setCurrentAttribute(AttributeElement currentAttribute)
Set new Attribute |
void |
setFullName(java.lang.String fullName)
Set full name |
void |
setHierarchyAttributeModified(boolean hierarchyAttributeModified)
Set Hier attribute modified status |
void |
setRbacMetaObject(com.bea.ales.rbac.MetaObject a_meta)
Set RBAC MetaObject implementation to use |
void |
setSelectedNewChildren(java.util.List a_selectedNewChildren)
Set new children |
Methods inherited from class com.bea.security.entitlements.admin.rbac.AttributableEntitlementNode |
cancelModifyAttribute, removeCurrentAttributeFromList, setAttributes, setAttrIdx, setNewAttribute |
Methods inherited from class com.bea.security.entitlements.admin.rbac.BaseTreeNode |
getNodeType |
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 |
Field Detail |
public static final java.lang.String EUI_METAOBJECT_PARM0
public static final java.lang.String EUI_METAOBJECT_PARM1
public static final java.lang.String EUI_METAOBJECT_PARM2
Constructor Detail |
public EUIMetaObjectNode(java.lang.String type)
type
- type of EUI object to setpublic EUIMetaObjectNode(java.lang.String type, com.bea.ales.rbac.MetaObject a_meta, boolean isLeaf)
type
- type of the meta nodea_meta
- instance of RBAC MetaObjectisLeaf
- true if leaf, false otherwisepublic EUIMetaObjectNode(java.lang.String type, java.lang.String name, boolean isLeaf)
type
- type of the meta nodename
- name to be used for the meta nodeisLeaf
- true if leaf, false otherwisepublic EUIMetaObjectNode(java.lang.String type, TreeNodeWithSelection parentNode, com.bea.ales.rbac.MetaObject a_meta, boolean isLeaf)
type
- type of the meta nodea_meta
- instance of RBAC MetaObjectparentNode
- TreeNodeWithSelection parent object to useisLeaf
- true if leaf, false otherwiseMethod Detail |
public java.lang.String addChildren()
public java.lang.String finishedModifyAttribute()
public java.util.List getAllRbacChildren()
public java.util.List getAttributes()
public com.bea.ales.rbac.CollectionIdentity getAttributes(int queryType) throws com.bea.ales.rbac.RBACException
queryType
- ALL or DIRECT
com.bea.ales.rbac.RBACException
public java.util.List getChildren()
public java.lang.String getClassName()
public AttributeElement getCurrentAttribute()
getCurrentAttribute
in class AttributableEntitlementNode
public java.util.List getDirectAttributes()
public java.util.List getDirectRbacChildren()
public java.lang.String getFullName()
public TreeNodeWithSelection getNodeByName(java.lang.String name)
getNodeByName
in class TreeNodeWithSelection
name
- name of the node
public com.bea.ales.rbac.MetaObject getRbacMetaObject()
public java.util.List getSelectedNewChildren()
public boolean isNewAttribute()
isNewAttribute
in class AttributableEntitlementNode
public java.lang.String newAttributeAction()
newAttributeAction
in class AttributableEntitlementNode
public java.lang.String removeChildren()
public java.lang.String removeCurrentAttribute()
public java.lang.String restoreChildrenInDB()
public void setClassName(java.lang.String a_className)
a_className
- fully qualified namepublic void setCurrentAttribute(AttributeElement currentAttribute)
setCurrentAttribute
in class AttributableEntitlementNode
currentAttribute
- attribute to setpublic void setFullName(java.lang.String fullName)
fullName
- to setpublic void setHierarchyAttributeModified(boolean hierarchyAttributeModified)
public void setRbacMetaObject(com.bea.ales.rbac.MetaObject a_meta)
a_meta
- metaobject implementation to usepublic void setSelectedNewChildren(java.util.List a_selectedNewChildren)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |