de.jw.cloud42.webapp.tree
Class GroupTreeBean

java.lang.Object
  extended by de.jw.cloud42.webapp.tree.GroupTreeBean

@Name(value="groupTreeBean")
public class GroupTreeBean
extends java.lang.Object

Backing bean for the TreeView on the "Security groups" screen. Creates a hierarchical order between groups and their permissions. Uses GropTreeNode and PermissionTreeNode for the nodes of the tree.

Author:
Frank

Constructor Summary
GroupTreeBean()
           
 
Method Summary
 com.xerox.amazonws.ec2.GroupDescription getSelectedGroup()
           
 com.xerox.amazonws.ec2.GroupDescription.IpPermission getSelectedPermission()
           
 org.richfaces.model.TreeNode getTreeNode()
          Property for value binding in UI.
 void processSelection(org.richfaces.event.NodeSelectedEvent event)
          Action that is execueted when a node is selected.
 void resetGroupList()
          Reset the tree and force a reload next time it is accessed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupTreeBean

public GroupTreeBean()
Method Detail

getTreeNode

public org.richfaces.model.TreeNode getTreeNode()
Property for value binding in UI. Causes loading of the tree if neccessary.

Returns:

resetGroupList

public void resetGroupList()
Reset the tree and force a reload next time it is accessed.


processSelection

public void processSelection(org.richfaces.event.NodeSelectedEvent event)
Action that is execueted when a node is selected. Sets the currently selected group and permission.

Parameters:
event -

getSelectedPermission

public com.xerox.amazonws.ec2.GroupDescription.IpPermission getSelectedPermission()
Returns:
the selectedPermission

getSelectedGroup

public com.xerox.amazonws.ec2.GroupDescription getSelectedGroup()
Returns:
the selectedGroup


Copyright © 2010 just works! Software. All Rights Reserved.