org.apache.jetspeed.portlets.security.rolemgt
Class RoleActionForm

java.lang.Object
  extended byorg.apache.jetspeed.portlets.security.rolemgt.RoleActionForm
All Implemented Interfaces:
Serializable

public class RoleActionForm
extends Object
implements Serializable

Author:
David Le Strat
See Also:
Serialized Form

Field Summary
private static String DEFAULT_PARENT_ROLE_NAME
          The default parent role name.
private static String DEFAULT_PARENT_ROLE_PATH
          The default parent role path.
private static org.apache.commons.logging.Log log
          The logger.
private  RoleTreeItem parentRole
          The parent role.
static String ROLE_ACTION_FORM
          The role action form bean.
private  String roleName
          The new role name.
private  String rolePath
          The new role path.
private  String[] selectedRoles
          The selected roles.
 
Constructor Summary
RoleActionForm()
           Default Constructor.
 
Method Summary
 void addRole()
           Add a new role.
 RoleTreeItem getParentRole()
           
 String getRoleName()
           
 String getRolePath()
           
 String[] getSelectedRoles()
           
 void setParentRole(RoleTreeItem parentRole)
           
 void setRoleName(String roleName)
           
 void setRolePath(String rolePath)
           
 void setSelectedRoles(String[] selectedRoles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log
The logger.


ROLE_ACTION_FORM

public static final String ROLE_ACTION_FORM
The role action form bean.

See Also:
Constant Field Values

DEFAULT_PARENT_ROLE_PATH

private static final String DEFAULT_PARENT_ROLE_PATH
The default parent role path.

See Also:
Constant Field Values

DEFAULT_PARENT_ROLE_NAME

private static final String DEFAULT_PARENT_ROLE_NAME
The default parent role name.

See Also:
Constant Field Values

parentRole

private RoleTreeItem parentRole
The parent role.


selectedRoles

private String[] selectedRoles
The selected roles.


roleName

private String roleName
The new role name.


rolePath

private String rolePath
The new role path.

Constructor Detail

RoleActionForm

public RoleActionForm()

Default Constructor.

Method Detail

getParentRole

public RoleTreeItem getParentRole()
Returns:
Returns the parentRole.

setParentRole

public void setParentRole(RoleTreeItem parentRole)
Parameters:
parentRole - The parentRole to set.

getSelectedRoles

public String[] getSelectedRoles()
Returns:
Returns the selectedRoles.

setSelectedRoles

public void setSelectedRoles(String[] selectedRoles)
Parameters:
selectedRoles - The selectedRoles to set.

getRoleName

public String getRoleName()
Returns:
Returns the roleName.

setRoleName

public void setRoleName(String roleName)
Parameters:
roleName - The roleName to set.

getRolePath

public String getRolePath()
Returns:
Returns the rolePath.

setRolePath

public void setRolePath(String rolePath)
Parameters:
rolePath - The rolePath to set.

addRole

public void addRole()

Add a new role.



Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.