Class FormQuestionJspBean

  • All Implemented Interfaces:
    java.io.Serializable

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doCreateGroup​(javax.servlet.http.HttpServletRequest request)
      Perform the Group creation
      java.lang.String doCreateQuestion​(javax.servlet.http.HttpServletRequest request)
      Perform the Question creation with its Entry
      java.lang.String doCreateQuestionAndManageEntries​(javax.servlet.http.HttpServletRequest request)
      Perform the Question creation with its Entry and redirect to Entry fields management view
      java.lang.String doDuplicateQuestion​(javax.servlet.http.HttpServletRequest request)
      Action for duplicate a question of the form
      java.lang.String doModifyGroup​(javax.servlet.http.HttpServletRequest request)
      Perform the Group creation
      java.lang.String doModifyQuestion​(javax.servlet.http.HttpServletRequest request)
      Perform the Question update with its Entry
      java.lang.String doMoveComposite​(javax.servlet.http.HttpServletRequest request)
      Process the FormDisplay moving action
      java.lang.String doRemoveComposite​(javax.servlet.http.HttpServletRequest request)
      Perform the question suppression
      java.lang.String doRemoveFileComment​(javax.servlet.http.HttpServletRequest request)  
      java.lang.String doSaveQuestion​(javax.servlet.http.HttpServletRequest request)
      Perform the Question update with its Entry and redirect to the ModifyQuestion view
      java.lang.String getConfirmRemoveComposite​(javax.servlet.http.HttpServletRequest request)
      Gets the confirmation page of question/group deletion
      java.lang.String getCreateGroup​(javax.servlet.http.HttpServletRequest request)
      Gets the entry creation page
      java.lang.String getCreateQuestion​(javax.servlet.http.HttpServletRequest request)
      Gets the entry creation page
      java.lang.String getManageQuestions​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      java.lang.String getModifyGroup​(javax.servlet.http.HttpServletRequest request)
      Gets the entry creation page
      java.lang.String getModifyQuestion​(javax.servlet.http.HttpServletRequest request)
      Gets the Question entry modification page
      java.lang.String getMoveComposite​(javax.servlet.http.HttpServletRequest request)
      Gets the Move component page
      • 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
    • Constructor Detail

      • FormQuestionJspBean

        public FormQuestionJspBean()
    • Method Detail

      • getManageQuestions

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

        @View("createQuestion")
        public java.lang.String getCreateQuestion​(javax.servlet.http.HttpServletRequest request)
        Gets the entry creation page
        Parameters:
        request - The HTTP request
        Returns:
        The entry creation page
      • getCreateGroup

        @View("createGroup")
        public java.lang.String getCreateGroup​(javax.servlet.http.HttpServletRequest request)
        Gets the entry creation page
        Parameters:
        request - The HTTP request
        Returns:
        The entry creation page
      • doCreateGroup

        @Action("createGroup")
        public java.lang.String doCreateGroup​(javax.servlet.http.HttpServletRequest request)
                                       throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Perform the Group creation
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getModifyGroup

        @View("modifyGroup")
        public java.lang.String getModifyGroup​(javax.servlet.http.HttpServletRequest request)
        Gets the entry creation page
        Parameters:
        request - The HTTP request
        Returns:
        The entry creation page
      • doModifyGroup

        @Action("modifyGroup")
        public java.lang.String doModifyGroup​(javax.servlet.http.HttpServletRequest request)
                                       throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Perform the Group creation
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doCreateQuestion

        @Action("createQuestion")
        public java.lang.String doCreateQuestion​(javax.servlet.http.HttpServletRequest request)
                                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Perform the Question creation with its Entry
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doCreateQuestionAndManageEntries

        @Action("createQuestionAndManageEntries")
        public java.lang.String doCreateQuestionAndManageEntries​(javax.servlet.http.HttpServletRequest request)
                                                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Perform the Question creation with its Entry and redirect to Entry fields management view
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getModifyQuestion

        @View("modifyQuestion")
        public java.lang.String getModifyQuestion​(javax.servlet.http.HttpServletRequest request)
        Gets the Question entry modification page
        Parameters:
        request - The HTTP request
        Returns:
        The entry modification page
      • doModifyQuestion

        @Action("modifyQuestion")
        public java.lang.String doModifyQuestion​(javax.servlet.http.HttpServletRequest request)
                                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Perform the Question update with its Entry
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doSaveQuestion

        @Action("saveQuestion")
        public java.lang.String doSaveQuestion​(javax.servlet.http.HttpServletRequest request)
                                        throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Perform the Question update with its Entry and redirect to the ModifyQuestion view
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doDuplicateQuestion

        @Action("duplicateQuestion")
        public java.lang.String doDuplicateQuestion​(javax.servlet.http.HttpServletRequest request)
                                             throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Action for duplicate a question of the form
        Parameters:
        request - The HttpServletRequest the request
        Returns:
        the manage questions page
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doRemoveFileComment

        @Action("removeFileComment")
        public java.lang.String doRemoveFileComment​(javax.servlet.http.HttpServletRequest request)
      • getConfirmRemoveComposite

        @View("getConfirmRemoveComposite")
        public java.lang.String getConfirmRemoveComposite​(javax.servlet.http.HttpServletRequest request)
        Gets the confirmation page of question/group deletion
        Parameters:
        request - The HTTP request
        Returns:
        the confirmation page of delete entry
      • doRemoveComposite

        @Action("removeComposite")
        public java.lang.String doRemoveComposite​(javax.servlet.http.HttpServletRequest request)
                                           throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Perform the question suppression
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getMoveComposite

        @View("moveComposite")
        public java.lang.String getMoveComposite​(javax.servlet.http.HttpServletRequest request)
        Gets the Move component page
        Parameters:
        request - The HTTP request
        Returns:
        The move component page
      • doMoveComposite

        @Action("moveComposite")
        public java.lang.String doMoveComposite​(javax.servlet.http.HttpServletRequest request)
        Process the FormDisplay moving action
        Parameters:
        request - The HTTP request
        Returns:
        The move component page