fr.paris.lutece.plugins.form.web
Class FormEntryJspBean

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

public class FormEntryJspBean
extends ModifyFormJspBean

Jsp Bean for form entries. This class extends the ModifyFormJspBean. Every Jsp should use only this JspBean, and not ModifyFormJspBean or FormJspBean.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.form.web.ModifyFormJspBean
_nItemsPerPageEntry
 
Fields inherited from class fr.paris.lutece.plugins.form.web.FormJspBean
_listFormSubmitTest, _nDefaultItemsPerPage, _nIdActive, _nIdForm, _responseService, _strWorkGroup, PARAMETER_ACTION_REDIRECT, PUBLICATION_MODE_AUTO, RIGHT_MANAGE_FORM
 
Constructor Summary
FormEntryJspBean()
           
 
Method Summary
 String doChangeOrderEntry(javax.servlet.http.HttpServletRequest request)
          Change the attribute's order (move up or move down in the list)
 String doCopyEntry(javax.servlet.http.HttpServletRequest request)
          copy the entry whose key is specified in the Http request
 String doCreateEntry(javax.servlet.http.HttpServletRequest request)
          Perform the entry creation
 String doCreateField(javax.servlet.http.HttpServletRequest request)
          Perform creation field
 String doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
          insert association between field and regular expression
 String doModifyEntry(javax.servlet.http.HttpServletRequest request)
          Perform the entry modification
 String doModifyField(javax.servlet.http.HttpServletRequest request)
          Perform modification field
 String doMoveDownEntryConditional(javax.servlet.http.HttpServletRequest request)
          Move down the entry (conditional questions only)
 String doMoveDownField(javax.servlet.http.HttpServletRequest request)
          Move down the field
 String doMoveEntry(javax.servlet.http.HttpServletRequest request)
          Move the entry in the questions group specified in parameter
 String doMoveOutEntry(javax.servlet.http.HttpServletRequest request)
          Move out the entry
 String doMoveUpEntryConditional(javax.servlet.http.HttpServletRequest request)
          Move up the entry (conditional questions only)
 String doMoveUpField(javax.servlet.http.HttpServletRequest request)
          Move up the field
 String doRemoveEntry(javax.servlet.http.HttpServletRequest request)
          Perform the entry supression
 String doRemoveField(javax.servlet.http.HttpServletRequest request)
          Perform suppression field
 String doRemoveRegularExpression(javax.servlet.http.HttpServletRequest request)
          Delete association between field and regular expression
 String getConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of delete entry
 String getConfirmRemoveField(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of delete field
 String getCreateEntry(javax.servlet.http.HttpServletRequest request)
          Gets the entry creation page
 String getCreateField(javax.servlet.http.HttpServletRequest request)
          Gets the field creation page
 String getModifyEntry(javax.servlet.http.HttpServletRequest request)
          Gets the entry modification page
 String getModifyField(javax.servlet.http.HttpServletRequest request, boolean bWithConditionalQuestion)
          Gets the field modification page
 String getMoveEntry(javax.servlet.http.HttpServletRequest request)
          Gets the list of questions group
 String updateEntryOrder(javax.servlet.http.HttpServletRequest request)
          Updates the entries position for a form
 
Methods inherited from class fr.paris.lutece.plugins.form.web.ModifyFormJspBean
doCreateForm, doModifyForm, doModifyFormAdvancedParameters, doModifyFormAnswersManagement, doModifyFormPublication, getCreateForm, getJspModifyForm, getJspModifyFormAdvancedParameters, getJspModifyFormAnswerManagement, getJspModifyFormPublication, getModifyForm, getModifyFormAdvancedParameters, getModifyFormAnswersManagement, getModifyFormPublication, initOrderFirstLevel, initRefListEntryType
 
Methods inherited from class fr.paris.lutece.plugins.form.web.FormJspBean
doCopyForm, doDisableAutoForm, doDisableForm, doDownloadFile, doEnableAutoForm, doEnableForm, doExportResponseTestForm, doExportResult, doGenerateGraph, doManageOutputProcessor, doModifyEntryParameterDefaultValues, doModifyExportParameters, doModifyFormParameterDefaultValues, doModifyMessage, doModifyRecap, doRemoveForm, doTestForm, getConfirmDisableAutoForm, getConfirmDisableForm, getConfirmRemoveForm, getJspManageForm, getJspManageOutputProcessForm, getJspManageValidator, getJspTestForm, getManageAdvancedParameters, getManageForm, getManageOutputProcessor, getManageValidator, getModifyMessage, getModifyRecap, getResult, getTestForm
 
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, populate, setFeatureIcon, setPageTitleProperty, validate, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormEntryJspBean

public FormEntryJspBean()
Method Detail

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

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

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

doChangeOrderEntry

public String doChangeOrderEntry(javax.servlet.http.HttpServletRequest request)
Change the attribute's order (move up or move down in the list)

Parameters:
request - the request
Returns:
The URL of the form management page

doMoveDownEntryConditional

public String doMoveDownEntryConditional(javax.servlet.http.HttpServletRequest request)
Move down the entry (conditional questions only)

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doMoveUpEntryConditional

public String doMoveUpEntryConditional(javax.servlet.http.HttpServletRequest request)
Move up the entry (conditional questions only)

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

updateEntryOrder

public String updateEntryOrder(javax.servlet.http.HttpServletRequest request)
Updates the entries position for a form

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.