Class FormStepJspBean

  • All Implemented Interfaces:
    java.io.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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ACTION_MODIFY_STEP  
    • Constructor Summary

      Constructors 
      Constructor Description
      FormStepJspBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doCreateStep​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new step
      java.lang.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)  
      java.lang.String doImportJson​(javax.servlet.http.HttpServletRequest request)  
      java.lang.String doImportTemplate​(javax.servlet.http.HttpServletRequest request)  
      java.lang.String doModifyStep​(javax.servlet.http.HttpServletRequest request)
      Process the change of a step
      java.lang.String doRemoveStep​(javax.servlet.http.HttpServletRequest request)
      Handles the removal of a step
      java.lang.String getConfirmRemoveStep​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a step whose identifier is in the http request
      java.lang.String getCreateStep​(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a step
      java.lang.String getManageSteps​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      java.lang.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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ACTION_MODIFY_STEP

        public static final java.lang.String ACTION_MODIFY_STEP
        See Also:
        Constant Field Values
    • Constructor Detail

      • FormStepJspBean

        public FormStepJspBean()
    • Method Detail

      • getManageSteps

        @View(value="manageSteps",
              defaultView=true)
        public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String doImportTemplate​(javax.servlet.http.HttpServletRequest request)
                                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException