Class FormControlJspBean

  • All Implemented Interfaces:
    java.io.Serializable

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doModifyControl​(javax.servlet.http.HttpServletRequest request)
      Process the data modification of a control
      java.lang.String doRemoveControl​(javax.servlet.http.HttpServletRequest request)
      Handles the removal of a Transition
      java.lang.String getConfirmRemoveControl​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a Control whose identifier is in the http request
      java.lang.String getManageConditionControl​(javax.servlet.http.HttpServletRequest request)
      display the Manage Condition Control View
      java.lang.String getManageControl​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      java.lang.String getModifyConditionControl​(javax.servlet.http.HttpServletRequest request)  
      java.lang.String getModifyControl​(javax.servlet.http.HttpServletRequest request)
      Returns the form to modify a control
      java.lang.String getReturnUrl​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a Control whose identifier is in the http request
      • 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, 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
    • Constructor Detail

      • FormControlJspBean

        public FormControlJspBean()
    • Method Detail

      • getManageControl

        @View(value="manageControl",
              defaultView=true)
        public java.lang.String getManageControl​(javax.servlet.http.HttpServletRequest request)
        Build the Manage View
        Parameters:
        request - The HTTP request
        Returns:
        The page
      • getManageConditionControl

        @View(value="manageConditionControl",
              defaultView=true)
        public java.lang.String getManageConditionControl​(javax.servlet.http.HttpServletRequest request)
        display the Manage Condition Control View
        Parameters:
        request - The HTTP request
        Returns:
        The page
      • getModifyConditionControl

        @View("modifyConditionControl")
        public java.lang.String getModifyConditionControl​(javax.servlet.http.HttpServletRequest request)
      • getModifyControl

        @View("modifyControl")
        public java.lang.String getModifyControl​(javax.servlet.http.HttpServletRequest request)
        Returns the form to modify a control
        Parameters:
        request - The Http request
        Returns:
        the html code of the control form
      • doModifyControl

        @Action("modifyControl")
        public java.lang.String doModifyControl​(javax.servlet.http.HttpServletRequest request)
                                         throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Process the data modification of a control
        Parameters:
        request - The Http Request
        Returns:
        The Jsp URL of the process result
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getConfirmRemoveControl

        @View("confirmRemoveControl")
        public java.lang.String getConfirmRemoveControl​(javax.servlet.http.HttpServletRequest request)
        Manages the removal form of a Control whose identifier is in the http request
        Parameters:
        request - The Http request
        Returns:
        the html code to confirm
      • doRemoveControl

        @Action("removeControl")
        public java.lang.String doRemoveControl​(javax.servlet.http.HttpServletRequest request)
                                         throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Handles the removal of a Transition
        Parameters:
        request - The Http request
        Returns:
        the jsp URL to display the form to manage Transition
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getReturnUrl

        @Action("cancelAndReturn")
        public java.lang.String getReturnUrl​(javax.servlet.http.HttpServletRequest request)
        Manages the removal form of a Control whose identifier is in the http request
        Parameters:
        request - The Http request
        Returns:
        the html code to confirm