Class FormQuestionJspBean

java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
All Implemented Interfaces:
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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    • FormQuestionJspBean

      public FormQuestionJspBean()
  • Method Details

    • getManageQuestions

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

      @View("createQuestion") public 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 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 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 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 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 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 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 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 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 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 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 String doRemoveFileComment(javax.servlet.http.HttpServletRequest request)
    • getConfirmRemoveComposite

      @View("getConfirmRemoveComposite") public 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 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 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 String doMoveComposite(javax.servlet.http.HttpServletRequest request)
      Process the FormDisplay moving action
      Parameters:
      request - The HTTP request
      Returns:
      The move component page