org.rhq.enterprise.gui.admin.role
Class RoleAdminPortalAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.rhq.enterprise.gui.legacy.action.BaseDispatchAction
org.rhq.enterprise.gui.admin.role.RoleAdminPortalAction
public class RoleAdminPortalAction
- extends BaseDispatchAction
A BaseDispatchAction that sets up role admin portals.
|
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, messages, methods, types |
| Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
|
Method Summary |
org.apache.struts.action.ActionForward |
addLdapGroups(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
addRoleGroups(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
addRoleUsers(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
changeRoleOwner(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
editRole(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected Properties |
getKeyMethodMap()
Provides the mapping from resource key to method name |
org.apache.struts.action.ActionForward |
listRoles(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
newRole(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
setReturnPath(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String mode)
Set the return path for the current action, including the mode and (if necessary) role id request parameters. |
protected void |
setRole(javax.servlet.http.HttpServletRequest request)
Set the role for the current action. |
org.apache.struts.action.ActionForward |
viewRole(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
| Methods inherited from class org.apache.struts.actions.DispatchAction |
cancelled, dispatchMethod, getMethod, getMethodName, getParameter, unspecified |
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
RoleAdminPortalAction
public RoleAdminPortalAction()
getKeyMethodMap
protected Properties getKeyMethodMap()
- Description copied from class:
BaseDispatchAction
- Provides the mapping from resource key to method name
- Specified by:
getKeyMethodMap in class BaseDispatchAction
- Returns:
- Resource key / method name map
listRoles
public org.apache.struts.action.ActionForward listRoles(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
addRoleUsers
public org.apache.struts.action.ActionForward addRoleUsers(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
addRoleGroups
public org.apache.struts.action.ActionForward addRoleGroups(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
addLdapGroups
public org.apache.struts.action.ActionForward addLdapGroups(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
editRole
public org.apache.struts.action.ActionForward editRole(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
newRole
public org.apache.struts.action.ActionForward newRole(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
viewRole
public org.apache.struts.action.ActionForward viewRole(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
changeRoleOwner
public org.apache.struts.action.ActionForward changeRoleOwner(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
setRole
protected void setRole(javax.servlet.http.HttpServletRequest request)
throws Exception
- Set the role for the current action.
- Parameters:
request - The request to get the session to store the returnPath into.
- Throws:
Exception
setReturnPath
protected void setReturnPath(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String mode)
throws Exception
- Set the return path for the current action, including the mode and (if necessary) role id request parameters.
- Parameters:
request - The request to get the session to store the return path into.mapping - The ActionMapping to get the return path from.mode - The name of the current display mode.
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.