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, processMessagegetDataResult, getKeyMethodMap, getSetDecl, getSetName, selectall, unselectall, unspecified, updatelist, updateSetcreateSuccessMessage, filter, getForwardName, makeParamMapgetMethodName, getStrutsDelegate, isSubmitted, l10n, lvexecute, getLookupMapNamecancelled, dispatchMethod, getMethod, getParameteraddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletprotected 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 RhnListDispatchActionmapIn - 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 RhnListDispatchActionpublic java.lang.Boolean operateOnElement(org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest requestIn,
RhnSetElement elementIn,
User user)
operateOnElement in class BaseSetOperateOnSelectedItemsActionformIn - 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 BaseSetOperateOnSelectedItemsActionprotected abstract java.lang.String getLabel()
protected abstract ConfigChannel getChannelFromElement(User usr, java.lang.Long anId)