public abstract class BaseSetOperateOnSelectedItemsAction extends RhnSetAction
SUBMITTED| Constructor and Description | 
|---|
| BaseSetOperateOnSelectedItemsAction() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addToMessage(org.apache.struts.action.ActionMessages msg,
            java.lang.String methodName,
            boolean b,
            long count) | 
| protected void | addToMessage(org.apache.struts.action.ActionMessages msg,
            java.lang.String methodName,
            boolean success,
            java.lang.Object[] args) | 
| protected org.apache.struts.action.ActionMessage | getEmptySelectionMessage() | 
| protected org.apache.struts.action.ActionMessage | getNoScriptMessage() | 
| protected org.apache.struts.action.ActionForward | handleEmptySelection(org.apache.struts.action.ActionMapping mapping,
                    org.apache.struts.action.ActionForm formIn,
                    javax.servlet.http.HttpServletRequest request)This method is to be called when the rhnsetis empty
 i.e no checked boxes were selected... | 
| org.apache.struts.action.ActionForward | handleNoScript(org.apache.struts.action.ActionMapping mapping,
              org.apache.struts.action.ActionForm formIn,
              javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response)Raises an error message saying javascript is required
 to process this page | 
| protected java.lang.Boolean | operateOnElement(org.apache.struts.action.ActionForm form,
                javax.servlet.http.HttpServletRequest request,
                RhnSetElement elementIn,
                User userIn)Here we go to the subclass to actually operate on the element | 
| org.apache.struts.action.ActionForward | operateOnSelectedSet(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 set of selected items. | 
| org.apache.struts.action.ActionForward | operateOnSelectedSet(org.apache.struts.action.ActionMapping mapping,
                    org.apache.struts.action.ActionForm formIn,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    java.lang.String callbackMethodName)Execute some operation on the set of selected items. | 
| protected void | processMessage(org.apache.struts.action.ActionMessages msgs,
              java.lang.String methodName,
              long successCount,
              long failureCount)This basically adds all the action messages
 that will be used for validation errors
 or status messages | 
getDataResult, getKeyMethodMap, getSetDecl, 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 operateOnSelectedSet(org.apache.struts.action.ActionMapping mapping,
                                                                   org.apache.struts.action.ActionForm formIn,
                                                                   javax.servlet.http.HttpServletRequest request,
                                                                   javax.servlet.http.HttpServletResponse response,
                                                                   java.lang.String callbackMethodName)
mapping - ActionMappingformIn - ActionFormrequest - ServletRequestresponse - ServletResponsecallbackMethodName - Name of the call back method.protected org.apache.struts.action.ActionForward handleEmptySelection(org.apache.struts.action.ActionMapping mapping,
                                                                      org.apache.struts.action.ActionForm formIn,
                                                                      javax.servlet.http.HttpServletRequest request)
mapping - ActionMappingformIn - ActionFormrequest - ServletRequestprotected org.apache.struts.action.ActionMessage getEmptySelectionMessage()
public org.apache.struts.action.ActionForward handleNoScript(org.apache.struts.action.ActionMapping mapping,
                                                             org.apache.struts.action.ActionForm formIn,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response)
mapping - struts ActionMappingformIn - struts ActionFormrequest - HttpServletRequestresponse - HttpServletResponseprotected org.apache.struts.action.ActionMessage getNoScriptMessage()
protected void processMessage(org.apache.struts.action.ActionMessages msgs,
                              java.lang.String methodName,
                              long successCount,
                              long failureCount)
msgs - container of the messagesmethodName - name of the caller method  which is used as a keysuccessCount - the number of successful actionsfailureCount - the number of failures.protected void addToMessage(org.apache.struts.action.ActionMessages msg,
                            java.lang.String methodName,
                            boolean b,
                            long count)
protected void addToMessage(org.apache.struts.action.ActionMessages msg,
                            java.lang.String methodName,
                            boolean success,
                            java.lang.Object[] args)
public org.apache.struts.action.ActionForward operateOnSelectedSet(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 java.lang.Boolean operateOnElement(org.apache.struts.action.ActionForm form,
                                             javax.servlet.http.HttpServletRequest request,
                                             RhnSetElement elementIn,
                                             User userIn)
form - the ActionFormrequest - the HttpServletRequest objectelementIn - we want to fetch the ID fromuserIn - who is performing the operation