public class ManageRevisionSubmit extends RhnSetAction
SUBMITTED| Constructor and Description | 
|---|
| ManageRevisionSubmit() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.struts.action.ActionForward | delete(org.apache.struts.action.ActionMapping mapping,
      org.apache.struts.action.ActionForm form,
      javax.servlet.http.HttpServletRequest request,
      javax.servlet.http.HttpServletResponse response)A passthrough for deleting revisions so that affected config sets are also
 cleared | 
| int | deleteRevision(RhnSetElement elementIn,
              User userIn)Attempts to delete the config revision with an id equal to the first element of
 the RhnSetElement. | 
| 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 | upload(org.apache.struts.action.ActionMapping mapping,
      org.apache.struts.action.ActionForm form,
      javax.servlet.http.HttpServletRequest request,
      javax.servlet.http.HttpServletResponse response)Accepts an uploaded file as the new revision for the current config file. | 
getKeyMethodMap, 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 delete(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 - HttpServletRequestresponse - HttpServletResponsepublic org.apache.struts.action.ActionForward upload(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response)
                                              throws java.io.IOException
mapping - struts action mapping.form - struts action formrequest - Http Requestresponse - Http Responsejava.io.IOException - If the file has trouble.public int deleteRevision(RhnSetElement elementIn, User userIn)
elementIn - The RhnSetElement that contains the soon to be deleted config
                  revision's id.userIn - The user requesting to delete config revisions.