public class ChannelFilesListSubmit extends BaseSetOperateOnSelectedItemsAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_COPY_TO_CHANNELS |
static java.lang.String |
KEY_COPY_TO_SYSTEMS |
static java.lang.String |
KEY_REMOVE |
SUBMITTED
Constructor and Description |
---|
ChannelFilesListSubmit() |
Modifier and Type | Method and Description |
---|---|
protected DataResult |
getDataResult(User u,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request) |
RhnSetDecl |
getSetDecl()
We affect the selected-files set
|
org.apache.struts.action.ActionForward |
processCopyToChannels(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Copy files to channels - forward to a channel-selection-page
|
org.apache.struts.action.ActionForward |
processCopyToSystems(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Copy selected files to systems - forward to a system-selection-page
|
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) |
org.apache.struts.action.ActionForward |
processRemove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove selected files from the channel
|
java.lang.Boolean |
setFilesToRemove(org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
RhnSetElement elementIn,
User userIn)
This method is called when the "Remove from Channel"
button is clicked in the Channel Files page.
|
addToMessage, addToMessage, getEmptySelectionMessage, getNoScriptMessage, handleEmptySelection, handleNoScript, operateOnElement, 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 static final java.lang.String KEY_REMOVE
public static final java.lang.String KEY_COPY_TO_SYSTEMS
public static final java.lang.String KEY_COPY_TO_CHANNELS
protected void processMethodKeys(java.util.Map<java.lang.String,java.lang.String> map)
RhnListDispatchAction
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 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
public org.apache.struts.action.ActionForward processRemove(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
mapping
- ActionMappingformIn
- ActionFormrequest
- ServletRequestresponse
- ServletResponsepublic java.lang.Boolean setFilesToRemove(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, RhnSetElement elementIn, User userIn)
form
- Action form object.req
- The servlet request objectelementIn
- The checked element in the setuserIn
- logged in userpublic org.apache.struts.action.ActionForward processCopyToSystems(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
mapping
- ActionMappingformIn
- ActionFormrequest
- ServletRequestresponse
- ServletResponsepublic org.apache.struts.action.ActionForward processCopyToChannels(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
mapping
- ActionMappingformIn
- ActionFormrequest
- ServletRequestresponse
- ServletResponseprotected DataResult getDataResult(User u, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request)
getDataResult
in class RhnSetAction
public RhnSetDecl getSetDecl()
getSetDecl
in class RhnSetAction