public abstract class BaseCopyFileSubmitAction extends BaseSetOperateOnSelectedItemsAction
SUBMITTED
Constructor and Description |
---|
BaseCopyFileSubmitAction() |
Modifier and Type | Method and Description |
---|---|
protected void |
addToMessage(org.apache.struts.action.ActionMessages msg,
java.lang.String methodName,
boolean success,
long count) |
protected abstract ConfigChannel |
getChannelFromElement(User usr,
java.lang.Long anId) |
protected abstract java.lang.String |
getLabel() |
java.lang.Boolean |
operateOnElement(org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest requestIn,
RhnSetElement elementIn,
User user)
Here we go to the subclass to actually operate on the element
|
protected void |
processMethodKeys(java.util.Map<java.lang.String,java.lang.String> mapIn)
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 requestIn,
java.util.Map<java.lang.String,java.lang.Object> paramsIn) |
addToMessage, getEmptySelectionMessage, getNoScriptMessage, handleEmptySelection, handleNoScript, operateOnSelectedSet, operateOnSelectedSet, processMessage
getDataResult, getKeyMethodMap, getSetDecl, 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
protected void processMethodKeys(java.util.Map<java.lang.String,java.lang.String> mapIn)
map.put("failed.jsp.rescheduleActions", "rescheduleAll");
If there are no additional actions then simply return.processMethodKeys
in class RhnListDispatchAction
mapIn
- Mapping between method and button names.protected void processParamMap(org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest requestIn, java.util.Map<java.lang.String,java.lang.Object> paramsIn)
processParamMap
in class RhnListDispatchAction
public java.lang.Boolean operateOnElement(org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest requestIn, RhnSetElement elementIn, User user)
operateOnElement
in class BaseSetOperateOnSelectedItemsAction
formIn
- the ActionFormrequestIn
- the HttpServletRequest objectelementIn
- we want to fetch the ID fromuser
- who is performing the operationprotected void addToMessage(org.apache.struts.action.ActionMessages msg, java.lang.String methodName, boolean success, long count)
addToMessage
in class BaseSetOperateOnSelectedItemsAction
protected abstract java.lang.String getLabel()
protected abstract ConfigChannel getChannelFromElement(User usr, java.lang.Long anId)