Class FormJspBean

java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.plugins.form.web.FormJspBean
All Implemented Interfaces:
Serializable

public class FormJspBean extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
This class provides the user interface to manage form features ( manage, create, modify, remove)
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCopyEntry(javax.servlet.http.HttpServletRequest request)
    copy the entry whose key is specified in the Http request
    doCopyForm(javax.servlet.http.HttpServletRequest request)
    copy the form whose key is specified in the Http request
    doCreateEntry(javax.servlet.http.HttpServletRequest request)
    Perform the entry creation
    doCreateField(javax.servlet.http.HttpServletRequest request)
    Perform creation field
    doCreateForm(javax.servlet.http.HttpServletRequest request)
    Perform the form creation
    doDisableAutoForm(javax.servlet.http.HttpServletRequest request)
    Perform disable auto published form
    doDisableForm(javax.servlet.http.HttpServletRequest request)
    Perform disable form
    doDownloadFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    write in the http response the value of the response whose identifier is specified in the request if there is no response return a error
    doEnableAutoForm(javax.servlet.http.HttpServletRequest request)
    Perform enable auto published form
    doEnableForm(javax.servlet.http.HttpServletRequest request)
    Perform enable form
    doExportResponseTestForm(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    write in the http response the export file of all response submit who are save during the test.
    doExportResult(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    write in the http response the export file of all response submit who verify the date filter if there is no response return a error
    void
    doGenerateGraph(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    write in the http response the statistic graph of all response submit who verify the date filter
    doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
    insert association between field and regular expression
    doManageOutputProcessor(javax.servlet.http.HttpServletRequest request)
    Perform the form modification
    doModifyEntry(javax.servlet.http.HttpServletRequest request)
    Perform the entry modification
    doModifyField(javax.servlet.http.HttpServletRequest request)
    Perform modification field
    doModifyForm(javax.servlet.http.HttpServletRequest request)
    Perform the form modification
    doModifyMessage(javax.servlet.http.HttpServletRequest request)
    Perform the messages form modification
    doModifyRecap(javax.servlet.http.HttpServletRequest request)
    Perform the recap form modification
    doMoveDownEntry(javax.servlet.http.HttpServletRequest request)
    Move down the entry
    doMoveDownField(javax.servlet.http.HttpServletRequest request)
    Move down the field
    doMoveEntry(javax.servlet.http.HttpServletRequest request)
    Move the entry in the questions group specified in parameter
    doMoveOutEntry(javax.servlet.http.HttpServletRequest request)
    Move out the entry
    doMoveUpEntry(javax.servlet.http.HttpServletRequest request)
    Move up the entry
    doMoveUpField(javax.servlet.http.HttpServletRequest request)
    Move up the field
    doRemoveEntry(javax.servlet.http.HttpServletRequest request)
    Perform the entry supression
    doRemoveField(javax.servlet.http.HttpServletRequest request)
    Perform suppression field
    doRemoveForm(javax.servlet.http.HttpServletRequest request)
    Perform the form supression
    doRemoveRegularExpression(javax.servlet.http.HttpServletRequest request)
    Delete association between field and regular expression
    doTestForm(javax.servlet.http.HttpServletRequest request)
    if there is no error perform in session the response of the form else return the error
    getConfirmDisableAutoForm(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of disable auto published form
    getConfirmDisableForm(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of disable form
    getConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of delete entry
    getConfirmRemoveField(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of delete field
    getConfirmRemoveForm(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of delete form
    getCreateEntry(javax.servlet.http.HttpServletRequest request)
    Gets the entry creation page
    getCreateField(javax.servlet.http.HttpServletRequest request)
    Gets the field creation page
    getCreateForm(javax.servlet.http.HttpServletRequest request)
    Gets the form creation page
    static String
    getJspManageOutputProcessForm(javax.servlet.http.HttpServletRequest request, int nIdForm, String parameterName, String parameterValue)
    return url of the jsp modify form
    getManageForm(javax.servlet.http.HttpServletRequest request)
    Return management Form ( list of form )
    getManageOutputProcessor(javax.servlet.http.HttpServletRequest request)
    Gets the form modification page
    getModifyEntry(javax.servlet.http.HttpServletRequest request)
    Gets the entry modification page
    getModifyField(javax.servlet.http.HttpServletRequest request, boolean bWithConditionalQuestion)
    Gets the field modification page
    getModifyForm(javax.servlet.http.HttpServletRequest request)
    Gets the form modification page
    getModifyMessage(javax.servlet.http.HttpServletRequest request)
    Gets the form messages modification page
    getModifyRecap(javax.servlet.http.HttpServletRequest request)
    Gets the form recap modification page
    getMoveEntry(javax.servlet.http.HttpServletRequest request)
    Gets the list of questions group
    getResult(javax.servlet.http.HttpServletRequest request)
    Gets the form result page
    getTestForm(javax.servlet.http.HttpServletRequest request)
    Gets the form test page

    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 Details

  • Constructor Details

    • FormJspBean

      public FormJspBean()
  • Method Details

    • getManageForm

      public String getManageForm(javax.servlet.http.HttpServletRequest request)
      Return management Form ( list of form )
      Parameters:
      request - The Http request
      Returns:
      Html form
    • getCreateForm

      public String getCreateForm(javax.servlet.http.HttpServletRequest request)
      Gets the form creation page
      Parameters:
      request - The HTTP request
      Returns:
      The form creation page
    • doCreateForm

      public String doCreateForm(javax.servlet.http.HttpServletRequest request)
      Perform the form creation
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getModifyForm

      public String getModifyForm(javax.servlet.http.HttpServletRequest request)
      Gets the form modification page
      Parameters:
      request - The HTTP request
      Returns:
      The form modification page
    • doModifyForm

      public String doModifyForm(javax.servlet.http.HttpServletRequest request)
      Perform the form modification
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getConfirmRemoveForm

      public String getConfirmRemoveForm(javax.servlet.http.HttpServletRequest request)
      Gets the confirmation page of delete form
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page of delete form
    • doRemoveForm

      public String doRemoveForm(javax.servlet.http.HttpServletRequest request)
      Perform the form supression
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doCopyForm

      public String doCopyForm(javax.servlet.http.HttpServletRequest request)
      copy the form whose key is specified in the Http request
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getModifyRecap

      public String getModifyRecap(javax.servlet.http.HttpServletRequest request)
      Gets the form recap modification page
      Parameters:
      request - The HTTP request
      Returns:
      the form recap modification page
    • doModifyRecap

      public String doModifyRecap(javax.servlet.http.HttpServletRequest request)
      Perform the recap form modification
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getCreateEntry

      public String getCreateEntry(javax.servlet.http.HttpServletRequest request)
      Gets the entry creation page
      Parameters:
      request - The HTTP request
      Returns:
      The entry creation page
    • doCreateEntry

      public String doCreateEntry(javax.servlet.http.HttpServletRequest request)
      Perform the entry creation
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getModifyEntry

      public String getModifyEntry(javax.servlet.http.HttpServletRequest request)
      Gets the entry modification page
      Parameters:
      request - The HTTP request
      Returns:
      The entry modification page
    • doModifyEntry

      public String doModifyEntry(javax.servlet.http.HttpServletRequest request)
      Perform the entry modification
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getConfirmRemoveEntry

      public String getConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request)
      Gets the confirmation page of delete entry
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page of delete entry
    • doRemoveEntry

      public String doRemoveEntry(javax.servlet.http.HttpServletRequest request)
      Perform the entry supression
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doCopyEntry

      public String doCopyEntry(javax.servlet.http.HttpServletRequest request)
      copy the entry whose key is specified in the Http request
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getMoveEntry

      public String getMoveEntry(javax.servlet.http.HttpServletRequest request)
      Gets the list of questions group
      Parameters:
      request - The HTTP request
      Returns:
      the list of questions group
    • doMoveEntry

      public String doMoveEntry(javax.servlet.http.HttpServletRequest request)
      Move the entry in the questions group specified in parameter
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doMoveUpEntry

      public String doMoveUpEntry(javax.servlet.http.HttpServletRequest request)
      Move up the entry
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doMoveDownEntry

      public String doMoveDownEntry(javax.servlet.http.HttpServletRequest request)
      Move down the entry
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doMoveOutEntry

      public String doMoveOutEntry(javax.servlet.http.HttpServletRequest request)
      Move out the entry
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getConfirmDisableForm

      public String getConfirmDisableForm(javax.servlet.http.HttpServletRequest request)
      Gets the confirmation page of disable form
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page of disable form
    • getConfirmDisableAutoForm

      public String getConfirmDisableAutoForm(javax.servlet.http.HttpServletRequest request)
      Gets the confirmation page of disable auto published form
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page of disable form
    • doDisableForm

      public String doDisableForm(javax.servlet.http.HttpServletRequest request)
      Perform disable form
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doDisableAutoForm

      public String doDisableAutoForm(javax.servlet.http.HttpServletRequest request)
      Perform disable auto published form
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doEnableForm

      public String doEnableForm(javax.servlet.http.HttpServletRequest request)
      Perform enable form
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doEnableAutoForm

      public String doEnableAutoForm(javax.servlet.http.HttpServletRequest request)
      Perform enable auto published form
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getJspManageOutputProcessForm

      public static String getJspManageOutputProcessForm(javax.servlet.http.HttpServletRequest request, int nIdForm, String parameterName, String parameterValue)
      return url of the jsp modify form
      Parameters:
      request - The HTTP request
      nIdForm - the key of form to modify
      Returns:
      return url of the jsp modify form
    • getCreateField

      public String getCreateField(javax.servlet.http.HttpServletRequest request)
      Gets the field creation page
      Parameters:
      request - The HTTP request
      Returns:
      the field creation page
    • getModifyField

      public String getModifyField(javax.servlet.http.HttpServletRequest request, boolean bWithConditionalQuestion)
      Gets the field modification page
      Parameters:
      request - The HTTP request
      bWithConditionalQuestion - true if the field is associate to conditionals questions
      Returns:
      the field modification page
    • doCreateField

      public String doCreateField(javax.servlet.http.HttpServletRequest request)
      Perform creation field
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doModifyField

      public String doModifyField(javax.servlet.http.HttpServletRequest request)
      Perform modification field
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getConfirmRemoveField

      public String getConfirmRemoveField(javax.servlet.http.HttpServletRequest request)
      Gets the confirmation page of delete field
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page of delete field
    • doRemoveField

      public String doRemoveField(javax.servlet.http.HttpServletRequest request)
      Perform suppression field
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doMoveUpField

      public String doMoveUpField(javax.servlet.http.HttpServletRequest request)
      Move up the field
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doMoveDownField

      public String doMoveDownField(javax.servlet.http.HttpServletRequest request)
      Move down the field
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doRemoveRegularExpression

      public String doRemoveRegularExpression(javax.servlet.http.HttpServletRequest request)
      Delete association between field and regular expression
      Parameters:
      request - the Http Request
      Returns:
      The URL to go after performing the action
    • doInsertRegularExpression

      public String doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
      insert association between field and regular expression
      Parameters:
      request - the Http Request
      Returns:
      The URL to go after performing the action
    • getTestForm

      public String getTestForm(javax.servlet.http.HttpServletRequest request)
      Gets the form test page
      Parameters:
      request - the http request
      Returns:
      the form test page
    • doTestForm

      public String doTestForm(javax.servlet.http.HttpServletRequest request)
      if there is no error perform in session the response of the form else return the error
      Parameters:
      request - the http request
      Returns:
      The URL to go after performing the action
    • doExportResponseTestForm

      public String doExportResponseTestForm(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      write in the http response the export file of all response submit who are save during the test. if there is no response return a error
      Parameters:
      request - the http request
      response - The http response
      Returns:
      The URL to go after performing the action
    • getResult

      public String getResult(javax.servlet.http.HttpServletRequest request)
      Gets the form result page
      Parameters:
      request - the http request
      Returns:
      the form test page
    • doExportResult

      public String doExportResult(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      write in the http response the export file of all response submit who verify the date filter if there is no response return a error
      Parameters:
      request - the http request
      response - The http response
      Returns:
      The URL to go after performing the action
    • doGenerateGraph

      public void doGenerateGraph(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      write in the http response the statistic graph of all response submit who verify the date filter
      Parameters:
      request - the http request
      response - The http response
    • doDownloadFile

      public String doDownloadFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      write in the http response the value of the response whose identifier is specified in the request if there is no response return a error
      Parameters:
      request - the http request
      response - The http response
      Returns:
      The URL to go after performing the action
    • getManageOutputProcessor

      public String getManageOutputProcessor(javax.servlet.http.HttpServletRequest request)
      Gets the form modification page
      Parameters:
      request - The HTTP request
      Returns:
      The form modification page
    • doManageOutputProcessor

      public String doManageOutputProcessor(javax.servlet.http.HttpServletRequest request)
      Perform the form modification
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getModifyMessage

      public String getModifyMessage(javax.servlet.http.HttpServletRequest request)
      Gets the form messages modification page
      Parameters:
      request - The HTTP request
      Returns:
      the form messages modification page
    • doModifyMessage

      public String doModifyMessage(javax.servlet.http.HttpServletRequest request)
      Perform the messages form modification
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action