public class ActivationKeysSubmitAction extends BaseKickstartListSubmitAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UPDATE_METHOD |
SUBMITTED
Constructor and Description |
---|
ActivationKeysSubmitAction() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Iterator<Token> |
getCurrentItemsIterator(RequestContext ctx)
Get the Iterator for a Collection of Objects
that implement the Identifiable interface.
|
protected DataResult<ActivationKeyDto> |
getDataResult(User userIn,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request) |
RhnSetDecl |
getSetDecl()
Get the RhnSet 'Decl' for the action
|
protected void |
operateOnAddedElements(java.util.List<RhnSetElement> elements,
javax.servlet.http.HttpServletRequest request)
Operate on the added elements, whatever that entails for a
given subclass.
|
protected void |
operateOnRemovedElements(java.util.List<RhnSetElement> elements,
javax.servlet.http.HttpServletRequest request)
Operate on the removed elements, whatever that entails for a
given subclass.
|
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.
|
processParamMap
generateUserMessage, getPrimaryElementIds, operateOnDiff
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 UPDATE_METHOD
protected DataResult<ActivationKeyDto> getDataResult(User userIn, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request)
getDataResult
in class RhnSetAction
protected void operateOnRemovedElements(java.util.List<RhnSetElement> elements, javax.servlet.http.HttpServletRequest request)
operateOnRemovedElements
in class BaseSetOperateOnDiffAction
elements
- The elements which were removedrequest
- The requestprotected void operateOnAddedElements(java.util.List<RhnSetElement> elements, javax.servlet.http.HttpServletRequest request)
operateOnAddedElements
in class BaseSetOperateOnDiffAction
elements
- The elements which were addedrequest
- The requestpublic RhnSetDecl getSetDecl()
BaseSetOperateOnDiffAction
getSetDecl
in class BaseSetOperateOnDiffAction
protected void processMethodKeys(java.util.Map<java.lang.String,java.lang.String> map)
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 java.util.Iterator<Token> getCurrentItemsIterator(RequestContext ctx)
BaseSetOperateOnDiffAction
getCurrentItemsIterator
in class BaseSetOperateOnDiffAction
ctx
- to fetch info from