org.rhq.enterprise.gui.admin.user
Class UserAdminPortalAction
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.user.UserAdminPortalAction
public class UserAdminPortalAction
- extends BaseDispatchAction
A BaseDispatchAction that sets up user 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 |
addUserRoles(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 |
changeUserPassword(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 |
editUser(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 |
listUsers(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 |
newUser(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 |
registerUser(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) user id request parameters. |
protected void |
setUser(javax.servlet.http.HttpServletRequest request)
Set the user for the current action. |
org.apache.struts.action.ActionForward |
viewUser(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 org.apache.commons.logging.Log log
UserAdminPortalAction
public UserAdminPortalAction()
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
listUsers
public org.apache.struts.action.ActionForward listUsers(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
addUserRoles
public org.apache.struts.action.ActionForward addUserRoles(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
editUser
public org.apache.struts.action.ActionForward editUser(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
newUser
public org.apache.struts.action.ActionForward newUser(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
viewUser
public org.apache.struts.action.ActionForward viewUser(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
changeUserPassword
public org.apache.struts.action.ActionForward changeUserPassword(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
registerUser
public org.apache.struts.action.ActionForward registerUser(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
setUser
protected void setUser(javax.servlet.http.HttpServletRequest request)
throws Exception
- Set the user 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) user 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.