com.redhat.rhn.frontend.action.schedule
Class ActionSystemsSetupAction

java.lang.Object
  extended by Action
      extended by com.redhat.rhn.frontend.struts.RhnAction
          extended by com.redhat.rhn.frontend.struts.RhnListAction
              extended by com.redhat.rhn.frontend.action.schedule.ActionSystemsSetupAction
Direct Known Subclasses:
FailedSystemsSetupAction, InProgressSystemsSetupAction

public abstract class ActionSystemsSetupAction
extends RhnListAction

ActionSystemsSetupAction - abstract class containing common logic for a setupaction to display listviews with servers/actions


Field Summary
 
Fields inherited from class com.redhat.rhn.frontend.struts.RhnAction
SUBMITTED
 
Constructor Summary
ActionSystemsSetupAction()
           
 
Method Summary
 ActionForward execute(ActionMapping mapping, ActionForm formIn, HttpServletRequest request, HttpServletResponse response)
          
protected abstract  DataResult getDataResult(User user, Action action, PageControl pc)
          Method that returns the correct data result for a particular scheduled action
protected abstract  RhnSetDecl getSetDecl()
          The declaration of the set we are working with, must be one of the constants from RhnSetDecl
 
Methods inherited from class com.redhat.rhn.frontend.struts.RhnListAction
clampListBounds, trackSet
 
Methods inherited from class com.redhat.rhn.frontend.struts.RhnAction
addGlobalMessage, addGlobalMessage, addMessage, createErrorMessage, createLabelValueList, createSuccessMessage, getStrutsDelegate, isSubmitted, l10n, localize, lv, lve, lvel10n, lvl10n, makeParamMap, saveMessages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionSystemsSetupAction

public ActionSystemsSetupAction()
Method Detail

execute

public ActionForward execute(ActionMapping mapping,
                             ActionForm formIn,
                             HttpServletRequest request,
                             HttpServletResponse response)


getDataResult

protected abstract DataResult getDataResult(User user,
                                            Action action,
                                            PageControl pc)
Method that returns the correct data result for a particular scheduled action

Parameters:
user - The user in question
action - The action in question
pc - The page control for the page
Returns:
Returns the DataResult for the page.

getSetDecl

protected abstract RhnSetDecl getSetDecl()
The declaration of the set we are working with, must be one of the constants from RhnSetDecl

Returns:
the declaration of the set we are working with