|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.security.entitlements.admin.beans.SelectedPermissionSets
SelectedPermissionSet bean is responsible for providing state information for the PermissionSet popup dialog. For example tracking what permissions sets are associated with a role and having the right set of check boxes selected. When parent checkbox is selected, this also selects the checkbox for children and disabling children would uncheck parent.
Field Summary | |
static java.lang.String |
SUCCESS
Constant to indicate success |
Constructor Summary | |
SelectedPermissionSets()
|
Method Summary | |
java.lang.String |
changeSelection()
Handle when a checkbox is checked or unchecked in the UI. |
java.lang.String |
checkSelectedPermissionSets()
Gets the currently selected permission sets and select each. |
void |
clearChecks()
|
PermissionSetNode |
getCurrentPermissionSetTree()
Return the PermissionSet details for selected node |
org.apache.myfaces.custom.tree2.TreeModel |
getPermissionSetTree()
Get data for the permission set tree |
PermissionSetNode |
getSelectedPermissionSet()
Retrieve current selected Permission Set |
org.apache.myfaces.custom.tree2.HtmlTree |
getTreeDataObject()
Returns data object representing Tree |
void |
processPermissionSetSelect(javax.faces.event.ActionEvent event)
|
void |
setLastPsetHierarchyChangeNumber(int number)
Set the Hierarchy Change number; used to limit refresh |
void |
setPermissionSetTree(PermissionSetNode fullTree)
Any update in PermissionSet tree, reset the tree ; called from SessionState |
void |
setSelectedPermissionSet(PermissionSetNode selectedPermissionSet)
Set the Selected PermissionSet |
void |
setTreeDataObject(org.apache.myfaces.custom.tree2.HtmlTree dataObject)
Set or reset current model for tree |
void |
setupChecks(TreeNodeWithSelection currentNodes)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SUCCESS
Constructor Detail |
public SelectedPermissionSets()
Method Detail |
public java.lang.String changeSelection()
public java.lang.String checkSelectedPermissionSets()
public void clearChecks()
public PermissionSetNode getCurrentPermissionSetTree()
public org.apache.myfaces.custom.tree2.TreeModel getPermissionSetTree()
public PermissionSetNode getSelectedPermissionSet()
public org.apache.myfaces.custom.tree2.HtmlTree getTreeDataObject()
public void processPermissionSetSelect(javax.faces.event.ActionEvent event) throws javax.faces.event.AbortProcessingException
javax.faces.event.AbortProcessingException
public void setLastPsetHierarchyChangeNumber(int number)
number
- public void setPermissionSetTree(PermissionSetNode fullTree)
fullTree
- new tree to be updatedpublic void setSelectedPermissionSet(PermissionSetNode selectedPermissionSet)
selectedPermissionSet
- permission set node to selectpublic void setTreeDataObject(org.apache.myfaces.custom.tree2.HtmlTree dataObject)
dataObject
- of type org.apache.myfaces.custom.tree2.HtmlTreepublic void setupChecks(TreeNodeWithSelection currentNodes)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |