public abstract class BaseSetOperateOnDiffAction extends RhnSetAction
SUBMITTED| Constructor and Description |
|---|
BaseSetOperateOnDiffAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateUserMessage(java.util.List<RhnSetElement> added,
java.util.List<RhnSetElement> removed,
javax.servlet.http.HttpServletRequest request) |
protected abstract <T extends Identifiable> |
getCurrentItemsIterator(RequestContext ctx)
Get the Iterator for a Collection of Objects
that implement the Identifiable interface.
|
protected java.util.List<java.lang.Long> |
getPrimaryElementIds(java.util.List<RhnSetElement> elements) |
abstract RhnSetDecl |
getSetDecl()
Get the RhnSet 'Decl' for the action
|
protected abstract void |
operateOnAddedElements(java.util.List<RhnSetElement> elements,
javax.servlet.http.HttpServletRequest request)
Operate on the added elements, whatever that entails for a
given subclass.
|
org.apache.struts.action.ActionForward |
operateOnDiff(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Execute some operation on the items that have removed or added
from the set.
|
protected abstract void |
operateOnRemovedElements(java.util.List<RhnSetElement> elements,
javax.servlet.http.HttpServletRequest request)
Operate on the removed elements, whatever that entails for a
given subclass.
|
getDataResult, getKeyMethodMap, getSetName, selectall, unselectall, unspecified, updatelist, updateSetcreateSuccessMessage, filter, getForwardName, makeParamMap, processMethodKeys, processParamMapgetMethodName, 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, setServletpublic org.apache.struts.action.ActionForward operateOnDiff(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 void generateUserMessage(java.util.List<RhnSetElement> added, java.util.List<RhnSetElement> removed, javax.servlet.http.HttpServletRequest request)
protected abstract void operateOnRemovedElements(java.util.List<RhnSetElement> elements, javax.servlet.http.HttpServletRequest request)
elements - The elements which were removedrequest - The requestprotected abstract void operateOnAddedElements(java.util.List<RhnSetElement> elements, javax.servlet.http.HttpServletRequest request)
elements - The elements which were addedrequest - The requestpublic abstract RhnSetDecl getSetDecl()
getSetDecl in class RhnSetActionprotected abstract <T extends Identifiable> java.util.Iterator<T> getCurrentItemsIterator(RequestContext ctx)
T - The iterator operates on Identifiable typesctx - to fetch info fromprotected java.util.List<java.lang.Long> getPrimaryElementIds(java.util.List<RhnSetElement> elements)