com.redhat.rhn.frontend.action.errata
Class AffectedSystemsAction

java.lang.Object
  extended by LookupDispatchAction
      extended by com.redhat.rhn.frontend.struts.RhnLookupDispatchAction
          extended by com.redhat.rhn.frontend.struts.RhnListDispatchAction
              extended by com.redhat.rhn.frontend.action.common.RhnSetAction
                  extended by com.redhat.rhn.frontend.action.errata.AffectedSystemsAction

public class AffectedSystemsAction
extends RhnSetAction

AffectedSystemsAction


Field Summary
 
Fields inherited from class com.redhat.rhn.frontend.struts.RhnLookupDispatchAction
SUBMITTED
 
Constructor Summary
AffectedSystemsAction()
           
 
Method Summary
 ActionForward applyErrata(ActionMapping mapping, ActionForm formIn, HttpServletRequest request, HttpServletResponse response)
          Applies the selected errata
protected  DataResult getDataResult(User user, ActionForm formIn, HttpServletRequest request)
          
protected  RhnSetDecl getSetDecl()
          The declaration of the set we are working with, must be one of the constants from RhnSetDecl
protected  void processMethodKeys(java.util.Map map)
          This method is used to add additional buttons to a list display.
protected  void processParamMap(ActionForm formIn, HttpServletRequest request, java.util.Map params)
          
 
Methods inherited from class com.redhat.rhn.frontend.action.common.RhnSetAction
getKeyMethodMap, getSetName, selectall, unselectall, unspecified, updatelist, updateSet
 
Methods inherited from class com.redhat.rhn.frontend.struts.RhnListDispatchAction
createSuccessMessage, filter, getForwardName, makeParamMap
 
Methods inherited from class com.redhat.rhn.frontend.struts.RhnLookupDispatchAction
getMethodName, getStrutsDelegate, isSubmitted, l10n, lv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AffectedSystemsAction

public AffectedSystemsAction()
Method Detail

applyErrata

public ActionForward applyErrata(ActionMapping mapping,
                                 ActionForm formIn,
                                 HttpServletRequest request,
                                 HttpServletResponse response)
Applies the selected errata

Parameters:
mapping - ActionMapping
formIn - ActionForm
request - ServletRequest
response - ServletResponse
Returns:
The ActionForward to go to next.

getDataResult

protected DataResult getDataResult(User user,
                                   ActionForm formIn,
                                   HttpServletRequest request)

Specified by:
getDataResult in class RhnSetAction

processMethodKeys

protected void processMethodKeys(java.util.Map map)
This method is used to add additional buttons to a list display. It is called from getKeyMethodMap. Simply add your resource bundle name as the key to the given map, and the method name as the value. For example, if you have a resource bundle key of "failed.jsp.rescheduleActions" and a method in your Struts action called "rescheduleAll" the result should look as follows: map.put("failed.jsp.rescheduleActions", "rescheduleAll"); If there are no additional actions then simply return.

Specified by:
processMethodKeys in class RhnListDispatchAction
Parameters:
map - Mapping between method and button names.

processParamMap

protected void processParamMap(ActionForm formIn,
                               HttpServletRequest request,
                               java.util.Map params)

Specified by:
processParamMap in class RhnListDispatchAction

getSetDecl

protected RhnSetDecl getSetDecl()
Description copied from class: RhnSetAction
The declaration of the set we are working with, must be one of the constants from RhnSetDecl

Specified by:
getSetDecl in class RhnSetAction
Returns:
the declaration of the set we are working with