public class TargetSystemsListSubmit extends BaseSetOperateOnSelectedItemsAction
SUBMITTED
Constructor and Description |
---|
TargetSystemsListSubmit() |
Modifier and Type | Method and Description |
---|---|
protected DataResult |
getDataResult(User userIn,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest requestIn) |
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<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) |
org.apache.struts.action.ActionForward |
processSubscribe(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Subscribe the selected systems to the current cfg-channel
|
java.lang.Boolean |
subscribeSystems(org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest requestIn,
RhnSetElement elementIn,
User userIn)
Attempts to subscribe the selected system to the current config-channel
Uses the userIn to check for permission errors.
|
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
protected DataResult getDataResult(User userIn, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest requestIn)
getDataResult
in class RhnSetAction
protected RhnSetDecl getSetDecl()
RhnSetDecl
getSetDecl
in class RhnSetAction
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 org.apache.struts.action.ActionForward processSubscribe(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
mapping
- struts ActionMappingform
- struts ActionFormrequest
- struts HttpServletRequestresponse
- struts HttpServletResponsepublic java.lang.Boolean subscribeSystems(org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest requestIn, RhnSetElement elementIn, User userIn)
formIn
- unusedrequestIn
- unusedelementIn
- The RhnSetElement that contains the system's iduserIn
- The user requesting to delete config revisions.