Class FormStepJspBean

  • All Implemented Interfaces:
    Serializable

    @Controller(controllerJsp="ManageSteps.jsp",
                controllerPath="jsp/admin/plugins/forms/",
                right="FORMS_MANAGEMENT")
    public class FormStepJspBean
    extends AbstractJspBean
    This class provides the user interface to manage Form features ( manage, create, modify, remove )
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FormStepJspBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String doCreateStep​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new step
      String doDuplicateStep​(javax.servlet.http.HttpServletRequest request)
      Manages the copy of a step whose identifier is in the http request
      void doExportJson​(javax.servlet.http.HttpServletRequest request)  
      String doImportJson​(javax.servlet.http.HttpServletRequest request)  
      String doImportTemplate​(javax.servlet.http.HttpServletRequest request)  
      String doModifyStep​(javax.servlet.http.HttpServletRequest request)
      Process the change of a step
      String doRemoveStep​(javax.servlet.http.HttpServletRequest request)
      Handles the removal of a step
      String getConfirmRemoveStep​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a step whose identifier is in the http request
      String getCreateStep​(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a step
      String getManageSteps​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      String getModifyStep​(javax.servlet.http.HttpServletRequest request)
      Returns the form to update a step
      • Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean

        processController
      • Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

        getPlugin, init
      • Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

        getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
    • Constructor Detail

      • FormStepJspBean

        public FormStepJspBean()
    • Method Detail

      • getManageSteps

        @View(value="manageSteps",
              defaultView=true)
        public String getManageSteps​(javax.servlet.http.HttpServletRequest request)
                              throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Build the Manage View
        Parameters:
        request - The HTTP request
        Returns:
        The page
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException - Access denied is user isnt authorized by RBAC
      • getCreateStep

        @View("createStep")
        public String getCreateStep​(javax.servlet.http.HttpServletRequest request)
        Returns the form to create a step
        Parameters:
        request - The Http request
        Returns:
        the html code of the step form
      • doCreateStep

        @Action("createStep")
        public String doCreateStep​(javax.servlet.http.HttpServletRequest request)
                            throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Process the data capture form of a new step
        Parameters:
        request - The Http Request
        Returns:
        The Jsp URL of the process result
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getConfirmRemoveStep

        @View("confirmRemoveStep")
        public String getConfirmRemoveStep​(javax.servlet.http.HttpServletRequest request)
        Manages the removal form of a step whose identifier is in the http request
        Parameters:
        request - The Http request
        Returns:
        the html code to confirm
      • doDuplicateStep

        @Action("duplicateStep")
        public String doDuplicateStep​(javax.servlet.http.HttpServletRequest request)
                               throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Manages the copy of a step whose identifier is in the http request
        Parameters:
        request - The Http request
        Returns:
        the html code to confirm
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doRemoveStep

        @Action("removeStep")
        public String doRemoveStep​(javax.servlet.http.HttpServletRequest request)
                            throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Handles the removal of a step
        Parameters:
        request - The Http request
        Returns:
        the jsp URL to display the form to manage forms
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getModifyStep

        @View("modifyStep")
        public String getModifyStep​(javax.servlet.http.HttpServletRequest request)
        Returns the form to update a step
        Parameters:
        request - The Http request
        Returns:
        The HTML form to update info
      • doModifyStep

        @Action("modifyStep")
        public String doModifyStep​(javax.servlet.http.HttpServletRequest request)
                            throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Process the change of a step
        Parameters:
        request - The Http request
        Returns:
        The Jsp URL of the process result
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doExportJson

        @Action("doExportJson")
        public void doExportJson​(javax.servlet.http.HttpServletRequest request)
      • doImportJson

        @Action("doImportJson")
        public String doImportJson​(javax.servlet.http.HttpServletRequest request)
                            throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doImportTemplate

        @Action("doImportTemplate")
        public String doImportTemplate​(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException