public class PreservationListDeleteAction extends BaseSetOperateOnSelectedItemsAction
SUBMITTED
Constructor and Description |
---|
PreservationListDeleteAction() |
Modifier and Type | Method and Description |
---|---|
protected DataResult |
getDataResult(User user,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request) |
protected RhnSetDecl |
getSetDecl()
The declaration of the set we are working with, must be one of the
constants from
RhnSetDecl |
java.lang.Boolean |
operateOnElement(org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
RhnSetElement elementIn,
User userIn)
Here we go to the subclass to actually operate on the element
|
protected void |
processMethodKeys(java.util.Map<java.lang.String,java.lang.String> map)
This method is used to add additional buttons to a list display.
|
protected void |
processParamMap(org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> params) |
addToMessage, addToMessage, getEmptySelectionMessage, getNoScriptMessage, handleEmptySelection, handleNoScript, operateOnSelectedSet, operateOnSelectedSet, processMessage
getKeyMethodMap, getSetName, selectall, unselectall, unspecified, updatelist, updateSet
createSuccessMessage, filter, getForwardName, makeParamMap
getMethodName, getStrutsDelegate, isSubmitted, l10n, lv
execute, getLookupMapName
cancelled, dispatchMethod, getMethod, getParameter
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public java.lang.Boolean operateOnElement(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, RhnSetElement elementIn, User userIn)
operateOnElement
in class BaseSetOperateOnSelectedItemsAction
form
- the ActionFormrequest
- the HttpServletRequest objectelementIn
- we want to fetch the ID fromuserIn
- who is performing the operationprotected void processMethodKeys(java.util.Map<java.lang.String,java.lang.String> map)
map.put("failed.jsp.rescheduleActions", "rescheduleAll");
If there are no additional actions then simply return.processMethodKeys
in class RhnListDispatchAction
map
- Mapping between method and button names.protected RhnSetDecl getSetDecl()
RhnSetDecl
getSetDecl
in class RhnSetAction
protected DataResult getDataResult(User user, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request)
getDataResult
in class RhnSetAction
protected void processParamMap(org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> params)
processParamMap
in class RhnListDispatchAction