org.rhq.enterprise.gui.legacy.action.resource.common.monitor.alerts.config
Class AddNotificationsAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.rhq.enterprise.gui.legacy.action.BaseAction
          extended by org.rhq.enterprise.gui.legacy.action.resource.common.monitor.alerts.config.AddNotificationsAction

public abstract class AddNotificationsAction
extends BaseAction

Abstract base class for adding notifications to an alert definition.


Field Summary
 
Fields inherited from class org.rhq.enterprise.gui.legacy.action.BaseAction
NO_RETURN_PATH, YES_RETURN_PATH
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
AddNotificationsAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Add roles to the alert definition specified in the given AddRolesForm.
protected abstract  org.apache.struts.action.ActionForward process(org.apache.struts.action.ActionMapping mapping, AddNotificationsForm form, javax.servlet.http.HttpServletRequest request, Map<String,Integer> params)
           
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.BaseAction
checkSubmit, checkSubmit, checkSubmit, checkSubmit, checkSubmit, checkSubmit, constructForward, constructForward, constructForward, constructForward, returnAdd, returnAdd, returnAdd, returnCancelled, returnCancelled, returnCancelled, returnCancelled, returnFailure, returnFailure, returnFailure, returnFailure, returnFailure, returnInstall, returnInstall, returnInstall, returnManualUninstall, returnManualUninstall, returnManualUninstall, returnNew, returnNew, returnNew, returnNew, returnNew, returnOkAssign, returnOkAssign, returnRemove, returnRemove, returnRemove, returnReset, returnReset, returnReset, returnReset, returnSuccess, returnSuccess, returnSuccess, returnSuccess, returnSuccess
 
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
 

Constructor Detail

AddNotificationsAction

public AddNotificationsAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Add roles to the alert definition specified in the given AddRolesForm.

Overrides:
execute in class BaseAction
Throws:
Exception

process

protected abstract org.apache.struts.action.ActionForward process(org.apache.struts.action.ActionMapping mapping,
                                                                  AddNotificationsForm form,
                                                                  javax.servlet.http.HttpServletRequest request,
                                                                  Map<String,Integer> params)
                                                           throws Exception
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.