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

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.RemoveNotificationsAction
Direct Known Subclasses:
RemoveOthersAction, RemoveRolesAction, RemoveUsersAction

public abstract class RemoveNotificationsAction
extends BaseAction

An Action that removes notifications for 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
RemoveNotificationsAction()
           
 
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)
          removes alert notifications
protected abstract  int handleRemove(org.rhq.core.domain.auth.Subject subject, RemoveNotificationsForm rnForm)
           
 
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

RemoveNotificationsAction

public RemoveNotificationsAction()
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
removes alert notifications

Overrides:
execute in class BaseAction
Throws:
Exception

handleRemove

protected abstract int handleRemove(org.rhq.core.domain.auth.Subject subject,
                                    RemoveNotificationsForm rnForm)
                             throws Exception
Throws:
Exception


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