Class CrudAction

    • Constructor Summary

      Constructors 
      Constructor Description
      CrudAction()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.struts.action.ActionForward cancel​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      org.apache.struts.action.ActionForward cancelled​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      org.apache.struts.action.ActionForward confirm​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      org.apache.struts.action.ActionForward create​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      protected void createLists​(org.apache.struts.validator.DynaValidatorForm form, javax.servlet.http.HttpServletRequest request)  
      org.apache.struts.action.ActionForward delete​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      org.apache.struts.action.ActionForward deleteConfirm​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      org.apache.struts.action.ActionForward edit​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      org.apache.struts.action.ActionForward execute​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      protected String getAction​(org.apache.struts.validator.DynaValidatorForm dynaForm)  
      protected Map getActionMethodPropertiesMap()  
      protected String getAltAction​(org.apache.struts.validator.DynaValidatorForm dynaForm)  
      protected org.apache.struts.action.ActionForward getUnspecifiedDefaultForward​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)  
      org.apache.struts.action.ActionForward list​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      protected void prepareMethod​(org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, String def, String alt)  
      org.apache.struts.action.ActionForward save​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      org.apache.struts.action.ActionForward saveConfirm​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      org.apache.struts.action.ActionForward unspecified​(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class org.apache.struts.actions.DispatchAction

        dispatchMethod, getMethodName, getParameter
      • Methods inherited from class org.apache.struts.action.Action

        addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
    • Constructor Detail

      • CrudAction

        public CrudAction()
    • Method Detail

      • createLists

        protected void createLists​(org.apache.struts.validator.DynaValidatorForm form,
                                   javax.servlet.http.HttpServletRequest request)
                            throws Exception
        Throws:
        Exception
      • getUnspecifiedDefaultForward

        protected org.apache.struts.action.ActionForward getUnspecifiedDefaultForward​(org.apache.struts.action.ActionMapping mapping,
                                                                                      javax.servlet.http.HttpServletRequest request)
        Specified by:
        getUnspecifiedDefaultForward in class ExtendedMethodAction
      • prepareMethod

        protected void prepareMethod​(org.apache.struts.validator.DynaValidatorForm dynaForm,
                                     javax.servlet.http.HttpServletRequest request,
                                     String def,
                                     String alt)
                              throws Exception
        Throws:
        Exception
      • unspecified

        public org.apache.struts.action.ActionForward unspecified​(org.apache.struts.action.ActionMapping mapping,
                                                                  org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                                  javax.servlet.http.HttpServletRequest request,
                                                                  javax.servlet.http.HttpServletResponse response)
                                                           throws Exception
        Throws:
        Exception
      • cancel

        public org.apache.struts.action.ActionForward cancel​(org.apache.struts.action.ActionMapping mapping,
                                                             org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response)
                                                      throws Exception
        Throws:
        Exception
      • deleteConfirm

        public org.apache.struts.action.ActionForward deleteConfirm​(org.apache.struts.action.ActionMapping mapping,
                                                                    org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                                    javax.servlet.http.HttpServletRequest request,
                                                                    javax.servlet.http.HttpServletResponse response)
                                                             throws Exception
        Throws:
        Exception
      • saveConfirm

        public org.apache.struts.action.ActionForward saveConfirm​(org.apache.struts.action.ActionMapping mapping,
                                                                  org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                                  javax.servlet.http.HttpServletRequest request,
                                                                  javax.servlet.http.HttpServletResponse response)
                                                           throws Exception
        Throws:
        Exception
      • edit

        public org.apache.struts.action.ActionForward edit​(org.apache.struts.action.ActionMapping mapping,
                                                           org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                           javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response)
                                                    throws Exception
        Throws:
        Exception
      • list

        public org.apache.struts.action.ActionForward list​(org.apache.struts.action.ActionMapping mapping,
                                                           org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                           javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response)
                                                    throws Exception
        Throws:
        Exception
      • save

        public org.apache.struts.action.ActionForward save​(org.apache.struts.action.ActionMapping mapping,
                                                           org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                           javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response)
                                                    throws Exception
        Throws:
        Exception
      • delete

        public org.apache.struts.action.ActionForward delete​(org.apache.struts.action.ActionMapping mapping,
                                                             org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response)
                                                      throws Exception
        Throws:
        Exception
      • create

        public org.apache.struts.action.ActionForward create​(org.apache.struts.action.ActionMapping mapping,
                                                             org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response)
                                                      throws Exception
        Throws:
        Exception
      • confirm

        public org.apache.struts.action.ActionForward confirm​(org.apache.struts.action.ActionMapping mapping,
                                                              org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                              javax.servlet.http.HttpServletRequest request,
                                                              javax.servlet.http.HttpServletResponse response)
                                                       throws Exception
        Throws:
        Exception
      • cancelled

        public org.apache.struts.action.ActionForward cancelled​(org.apache.struts.action.ActionMapping mapping,
                                                                org.apache.struts.validator.DynaValidatorForm dynaForm,
                                                                javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse response)
                                                         throws Exception
        Throws:
        Exception
      • getAction

        protected String getAction​(org.apache.struts.validator.DynaValidatorForm dynaForm)
                            throws Exception
        Throws:
        Exception
      • getAltAction

        protected String getAltAction​(org.apache.struts.validator.DynaValidatorForm dynaForm)
                               throws Exception
        Throws:
        Exception
      • execute

        public org.apache.struts.action.ActionForward execute​(org.apache.struts.action.ActionMapping mapping,
                                                              org.apache.struts.action.ActionForm form,
                                                              javax.servlet.http.HttpServletRequest request,
                                                              javax.servlet.http.HttpServletResponse response)
                                                       throws Exception
        Overrides:
        execute in class ParameterLookupDispatchAction
        Throws:
        Exception