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, processMessagegetKeyMethodMap, 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 DataResult getDataResult(User userIn, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest requestIn)
getDataResult in class RhnSetActionprotected RhnSetDecl getSetDecl()
RhnSetDeclgetSetDecl in class RhnSetActionprotected 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 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.