Package fr.paris.lutece.plugins.form.web
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:
java.io.Serializable
public class FormJspBean extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBeanThis class provides the user interface to manage form features ( manage, create, modify, remove)- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAMETER_ACTION_REDIRECTstatic java.lang.StringPUBLICATION_MODE_AUTOstatic java.lang.StringRIGHT_MANAGE_FORM
-
Constructor Summary
Constructors Constructor Description FormJspBean()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoCopyEntry(javax.servlet.http.HttpServletRequest request)copy the entry whose key is specified in the Http requestjava.lang.StringdoCopyForm(javax.servlet.http.HttpServletRequest request)copy the form whose key is specified in the Http requestjava.lang.StringdoCreateEntry(javax.servlet.http.HttpServletRequest request)Perform the entry creationjava.lang.StringdoCreateField(javax.servlet.http.HttpServletRequest request)Perform creation fieldjava.lang.StringdoCreateForm(javax.servlet.http.HttpServletRequest request)Perform the form creationjava.lang.StringdoDisableAutoForm(javax.servlet.http.HttpServletRequest request)Perform disable auto published formjava.lang.StringdoDisableForm(javax.servlet.http.HttpServletRequest request)Perform disable formjava.lang.StringdoDownloadFile(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 errorjava.lang.StringdoEnableAutoForm(javax.servlet.http.HttpServletRequest request)Perform enable auto published formjava.lang.StringdoEnableForm(javax.servlet.http.HttpServletRequest request)Perform enable formjava.lang.StringdoExportResponseTestForm(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.java.lang.StringdoExportResult(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 errorvoiddoGenerateGraph(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 filterjava.lang.StringdoInsertRegularExpression(javax.servlet.http.HttpServletRequest request)insert association between field and regular expressionjava.lang.StringdoManageOutputProcessor(javax.servlet.http.HttpServletRequest request)Perform the form modificationjava.lang.StringdoModifyEntry(javax.servlet.http.HttpServletRequest request)Perform the entry modificationjava.lang.StringdoModifyField(javax.servlet.http.HttpServletRequest request)Perform modification fieldjava.lang.StringdoModifyForm(javax.servlet.http.HttpServletRequest request)Perform the form modificationjava.lang.StringdoModifyMessage(javax.servlet.http.HttpServletRequest request)Perform the messages form modificationjava.lang.StringdoModifyRecap(javax.servlet.http.HttpServletRequest request)Perform the recap form modificationjava.lang.StringdoMoveDownEntry(javax.servlet.http.HttpServletRequest request)Move down the entryjava.lang.StringdoMoveDownField(javax.servlet.http.HttpServletRequest request)Move down the fieldjava.lang.StringdoMoveEntry(javax.servlet.http.HttpServletRequest request)Move the entry in the questions group specified in parameterjava.lang.StringdoMoveOutEntry(javax.servlet.http.HttpServletRequest request)Move out the entryjava.lang.StringdoMoveUpEntry(javax.servlet.http.HttpServletRequest request)Move up the entryjava.lang.StringdoMoveUpField(javax.servlet.http.HttpServletRequest request)Move up the fieldjava.lang.StringdoRemoveEntry(javax.servlet.http.HttpServletRequest request)Perform the entry supressionjava.lang.StringdoRemoveField(javax.servlet.http.HttpServletRequest request)Perform suppression fieldjava.lang.StringdoRemoveForm(javax.servlet.http.HttpServletRequest request)Perform the form supressionjava.lang.StringdoRemoveRegularExpression(javax.servlet.http.HttpServletRequest request)Delete association between field and regular expressionjava.lang.StringdoTestForm(javax.servlet.http.HttpServletRequest request)if there is no error perform in session the response of the form else return the errorjava.lang.StringgetConfirmDisableAutoForm(javax.servlet.http.HttpServletRequest request)Gets the confirmation page of disable auto published formjava.lang.StringgetConfirmDisableForm(javax.servlet.http.HttpServletRequest request)Gets the confirmation page of disable formjava.lang.StringgetConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request)Gets the confirmation page of delete entryjava.lang.StringgetConfirmRemoveField(javax.servlet.http.HttpServletRequest request)Gets the confirmation page of delete fieldjava.lang.StringgetConfirmRemoveForm(javax.servlet.http.HttpServletRequest request)Gets the confirmation page of delete formjava.lang.StringgetCreateEntry(javax.servlet.http.HttpServletRequest request)Gets the entry creation pagejava.lang.StringgetCreateField(javax.servlet.http.HttpServletRequest request)Gets the field creation pagejava.lang.StringgetCreateForm(javax.servlet.http.HttpServletRequest request)Gets the form creation pagestatic java.lang.StringgetJspManageOutputProcessForm(javax.servlet.http.HttpServletRequest request, int nIdForm, java.lang.String parameterName, java.lang.String parameterValue)return url of the jsp modify formjava.lang.StringgetManageForm(javax.servlet.http.HttpServletRequest request)Return management Form ( list of form )java.lang.StringgetManageOutputProcessor(javax.servlet.http.HttpServletRequest request)Gets the form modification pagejava.lang.StringgetModifyEntry(javax.servlet.http.HttpServletRequest request)Gets the entry modification pagejava.lang.StringgetModifyField(javax.servlet.http.HttpServletRequest request, boolean bWithConditionalQuestion)Gets the field modification pagejava.lang.StringgetModifyForm(javax.servlet.http.HttpServletRequest request)Gets the form modification pagejava.lang.StringgetModifyMessage(javax.servlet.http.HttpServletRequest request)Gets the form messages modification pagejava.lang.StringgetModifyRecap(javax.servlet.http.HttpServletRequest request)Gets the form recap modification pagejava.lang.StringgetMoveEntry(javax.servlet.http.HttpServletRequest request)Gets the list of questions groupjava.lang.StringgetResult(javax.servlet.http.HttpServletRequest request)Gets the form result pagejava.lang.StringgetTestForm(javax.servlet.http.HttpServletRequest request)Gets the form test page-
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
-
-
-
-
Field Detail
-
RIGHT_MANAGE_FORM
public static final java.lang.String RIGHT_MANAGE_FORM
- See Also:
- Constant Field Values
-
PARAMETER_ACTION_REDIRECT
public static final java.lang.String PARAMETER_ACTION_REDIRECT
- See Also:
- Constant Field Values
-
PUBLICATION_MODE_AUTO
public static final java.lang.String PUBLICATION_MODE_AUTO
- See Also:
- Constant Field Values
-
-
Method Detail
-
getManageForm
public java.lang.String getManageForm(javax.servlet.http.HttpServletRequest request)
Return management Form ( list of form )- Parameters:
request- The Http request- Returns:
- Html form
-
getCreateForm
public java.lang.String getCreateForm(javax.servlet.http.HttpServletRequest request)
Gets the form creation page- Parameters:
request- The HTTP request- Returns:
- The form creation page
-
doCreateForm
public java.lang.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 java.lang.String getModifyForm(javax.servlet.http.HttpServletRequest request)
Gets the form modification page- Parameters:
request- The HTTP request- Returns:
- The form modification page
-
doModifyForm
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getCreateEntry(javax.servlet.http.HttpServletRequest request)
Gets the entry creation page- Parameters:
request- The HTTP request- Returns:
- The entry creation page
-
doCreateEntry
public java.lang.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 java.lang.String getModifyEntry(javax.servlet.http.HttpServletRequest request)
Gets the entry modification page- Parameters:
request- The HTTP request- Returns:
- The entry modification page
-
doModifyEntry
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getJspManageOutputProcessForm(javax.servlet.http.HttpServletRequest request, int nIdForm, java.lang.String parameterName, java.lang.String parameterValue)return url of the jsp modify form- Parameters:
request- The HTTP requestnIdForm- the key of form to modify- Returns:
- return url of the jsp modify form
-
getCreateField
public java.lang.String getCreateField(javax.servlet.http.HttpServletRequest request)
Gets the field creation page- Parameters:
request- The HTTP request- Returns:
- the field creation page
-
getModifyField
public java.lang.String getModifyField(javax.servlet.http.HttpServletRequest request, boolean bWithConditionalQuestion)Gets the field modification page- Parameters:
request- The HTTP requestbWithConditionalQuestion- true if the field is associate to conditionals questions- Returns:
- the field modification page
-
doCreateField
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getTestForm(javax.servlet.http.HttpServletRequest request)
Gets the form test page- Parameters:
request- the http request- Returns:
- the form test page
-
doTestForm
public java.lang.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 java.lang.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 requestresponse- The http response- Returns:
- The URL to go after performing the action
-
getResult
public java.lang.String getResult(javax.servlet.http.HttpServletRequest request)
Gets the form result page- Parameters:
request- the http request- Returns:
- the form test page
-
doExportResult
public java.lang.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 requestresponse- 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 requestresponse- The http response
-
doDownloadFile
public java.lang.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 requestresponse- The http response- Returns:
- The URL to go after performing the action
-
getManageOutputProcessor
public java.lang.String getManageOutputProcessor(javax.servlet.http.HttpServletRequest request)
Gets the form modification page- Parameters:
request- The HTTP request- Returns:
- The form modification page
-
doManageOutputProcessor
public java.lang.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 java.lang.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 java.lang.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
-
-