org.rhq.enterprise.gui.legacy.action.resource.common.monitor.alerts.config
Class PortalAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.rhq.enterprise.gui.legacy.action.BaseDispatchAction
org.rhq.enterprise.gui.legacy.action.resource.ResourceController
org.rhq.enterprise.gui.legacy.action.resource.common.monitor.alerts.config.PortalAction
public class PortalAction
- extends ResourceController
A dispatcher for the alerts portal.
|
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 |
editDefinitionConditions(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 |
editDefinitionControlAction(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 |
editDefinitionProperties(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 |
listDefinitions(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 |
monitorConfigureAlerts(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 |
newDefinition(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
setResource(javax.servlet.http.HttpServletRequest request)
We override this in case the resource has been deleted ... |
protected void |
setReturnPath(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
This sets the return path for a ResourceAction by appending the type and resource id to the forward url. |
org.apache.struts.action.ActionForward |
viewDefinitionRoles(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 |
viewDefinitionUsers(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
PortalAction
public PortalAction()
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
setResource
protected void setResource(javax.servlet.http.HttpServletRequest request)
throws Exception
- We override this in case the resource has been deleted ... simply ignore that fact.
- Overrides:
setResource in class ResourceController
- Throws:
Exception
newDefinition
public org.apache.struts.action.ActionForward newDefinition(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
editDefinitionProperties
public org.apache.struts.action.ActionForward editDefinitionProperties(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
editDefinitionConditions
public org.apache.struts.action.ActionForward editDefinitionConditions(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
editDefinitionControlAction
public org.apache.struts.action.ActionForward editDefinitionControlAction(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
viewDefinitionRoles
public org.apache.struts.action.ActionForward viewDefinitionRoles(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
viewDefinitionUsers
public org.apache.struts.action.ActionForward viewDefinitionUsers(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
monitorConfigureAlerts
public org.apache.struts.action.ActionForward monitorConfigureAlerts(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
listDefinitions
public org.apache.struts.action.ActionForward listDefinitions(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
setReturnPath
protected void setReturnPath(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
- This sets the return path for a ResourceAction by appending the type and resource id to the forward url.
- Overrides:
setReturnPath in class ResourceController
- Parameters:
request - The current controller's request.mapping - The current controller's mapping that contains the input.
- Throws:
ParameterNotFoundException - if the type or id are not found
javax.servlet.ServletException - If there is not input defined for this form
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.