com.redhat.rhn.frontend.action.errata
Class AddPackagesConfirmAction
java.lang.Object
LookupDispatchAction
com.redhat.rhn.frontend.struts.RhnLookupDispatchAction
com.redhat.rhn.frontend.struts.RhnListDispatchAction
com.redhat.rhn.frontend.action.common.RhnSetAction
com.redhat.rhn.frontend.action.errata.AddPackagesConfirmAction
public class AddPackagesConfirmAction
- extends RhnSetAction
AddPackagesConfirmAction
|
Method Summary |
ActionForward |
addPackagesToErrata(ActionMapping mapping,
ActionForm formIn,
HttpServletRequest request,
HttpServletResponse response)
Adds the packages identified in the packages_to_add set to the 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddPackagesConfirmAction
public AddPackagesConfirmAction()
addPackagesToErrata
public ActionForward addPackagesToErrata(ActionMapping mapping,
ActionForm formIn,
HttpServletRequest request,
HttpServletResponse response)
- Adds the packages identified in the packages_to_add set to the errata.
- Parameters:
mapping - ActionMappingformIn - ActionFormrequest - The requestresponse - The response
- Returns:
- Returns either a success or failure message
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()
- 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