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:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCopyEntry(javax.servlet.http.HttpServletRequest request) copy the entry whose key is specified in the Http requestdoCopyForm(javax.servlet.http.HttpServletRequest request) copy the form whose key is specified in the Http requestdoCreateEntry(javax.servlet.http.HttpServletRequest request) Perform the entry creationdoCreateField(javax.servlet.http.HttpServletRequest request) Perform creation fielddoCreateForm(javax.servlet.http.HttpServletRequest request) Perform the form creationdoDisableAutoForm(javax.servlet.http.HttpServletRequest request) Perform disable auto published formdoDisableForm(javax.servlet.http.HttpServletRequest request) Perform disable formdoDownloadFile(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 errordoEnableAutoForm(javax.servlet.http.HttpServletRequest request) Perform enable auto published formdoEnableForm(javax.servlet.http.HttpServletRequest request) Perform enable formdoExportResponseTestForm(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 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 filterdoInsertRegularExpression(javax.servlet.http.HttpServletRequest request) insert association between field and regular expressiondoManageOutputProcessor(javax.servlet.http.HttpServletRequest request) Perform the form modificationdoModifyEntry(javax.servlet.http.HttpServletRequest request) Perform the entry modificationdoModifyField(javax.servlet.http.HttpServletRequest request) Perform modification fielddoModifyForm(javax.servlet.http.HttpServletRequest request) Perform the form modificationdoModifyMessage(javax.servlet.http.HttpServletRequest request) Perform the messages form modificationdoModifyRecap(javax.servlet.http.HttpServletRequest request) Perform the recap form modificationdoMoveDownEntry(javax.servlet.http.HttpServletRequest request) Move down the entrydoMoveDownField(javax.servlet.http.HttpServletRequest request) Move down the fielddoMoveEntry(javax.servlet.http.HttpServletRequest request) Move the entry in the questions group specified in parameterdoMoveOutEntry(javax.servlet.http.HttpServletRequest request) Move out the entrydoMoveUpEntry(javax.servlet.http.HttpServletRequest request) Move up the entrydoMoveUpField(javax.servlet.http.HttpServletRequest request) Move up the fielddoRemoveEntry(javax.servlet.http.HttpServletRequest request) Perform the entry supressiondoRemoveField(javax.servlet.http.HttpServletRequest request) Perform suppression fielddoRemoveForm(javax.servlet.http.HttpServletRequest request) Perform the form supressiondoRemoveRegularExpression(javax.servlet.http.HttpServletRequest request) Delete association between field and regular expressiondoTestForm(javax.servlet.http.HttpServletRequest request) if there is no error perform in session the response of the form else return the errorgetConfirmDisableAutoForm(javax.servlet.http.HttpServletRequest request) Gets the confirmation page of disable auto published formgetConfirmDisableForm(javax.servlet.http.HttpServletRequest request) Gets the confirmation page of disable formgetConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request) Gets the confirmation page of delete entrygetConfirmRemoveField(javax.servlet.http.HttpServletRequest request) Gets the confirmation page of delete fieldgetConfirmRemoveForm(javax.servlet.http.HttpServletRequest request) Gets the confirmation page of delete formgetCreateEntry(javax.servlet.http.HttpServletRequest request) Gets the entry creation pagegetCreateField(javax.servlet.http.HttpServletRequest request) Gets the field creation pagegetCreateForm(javax.servlet.http.HttpServletRequest request) Gets the form creation pagestatic StringgetJspManageOutputProcessForm(javax.servlet.http.HttpServletRequest request, int nIdForm, String parameterName, String parameterValue) return url of the jsp modify formgetManageForm(javax.servlet.http.HttpServletRequest request) Return management Form ( list of form )getManageOutputProcessor(javax.servlet.http.HttpServletRequest request) Gets the form modification pagegetModifyEntry(javax.servlet.http.HttpServletRequest request) Gets the entry modification pagegetModifyField(javax.servlet.http.HttpServletRequest request, boolean bWithConditionalQuestion) Gets the field modification pagegetModifyForm(javax.servlet.http.HttpServletRequest request) Gets the form modification pagegetModifyMessage(javax.servlet.http.HttpServletRequest request) Gets the form messages modification pagegetModifyRecap(javax.servlet.http.HttpServletRequest request) Gets the form recap modification pagegetMoveEntry(javax.servlet.http.HttpServletRequest request) Gets the list of questions groupgetResult(javax.servlet.http.HttpServletRequest request) Gets the form result pagegetTestForm(javax.servlet.http.HttpServletRequest request) Gets the form test pageMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_MANAGE_FORM
- See Also:
-
PARAMETER_ACTION_REDIRECT
- See Also:
-
PUBLICATION_MODE_AUTO
- See Also:
-
-
Constructor Details
-
FormJspBean
public FormJspBean()
-
-
Method Details
-
getManageForm
Return management Form ( list of form )- Parameters:
request- The Http request- Returns:
- Html form
-
getCreateForm
Gets the form creation page- Parameters:
request- The HTTP request- Returns:
- The form creation page
-
doCreateForm
Perform the form creation- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getModifyForm
Gets the form modification page- Parameters:
request- The HTTP request- Returns:
- The form modification page
-
doModifyForm
Perform the form modification- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getConfirmRemoveForm
Gets the confirmation page of delete form- Parameters:
request- The HTTP request- Returns:
- the confirmation page of delete form
-
doRemoveForm
Perform the form supression- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doCopyForm
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
Gets the form recap modification page- Parameters:
request- The HTTP request- Returns:
- the form recap modification page
-
doModifyRecap
Perform the recap form modification- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getCreateEntry
Gets the entry creation page- Parameters:
request- The HTTP request- Returns:
- The entry creation page
-
doCreateEntry
Perform the entry creation- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getModifyEntry
Gets the entry modification page- Parameters:
request- The HTTP request- Returns:
- The entry modification page
-
doModifyEntry
Perform the entry modification- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getConfirmRemoveEntry
Gets the confirmation page of delete entry- Parameters:
request- The HTTP request- Returns:
- the confirmation page of delete entry
-
doRemoveEntry
Perform the entry supression- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doCopyEntry
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
Gets the list of questions group- Parameters:
request- The HTTP request- Returns:
- the list of questions group
-
doMoveEntry
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
Move up the entry- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doMoveDownEntry
Move down the entry- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doMoveOutEntry
Move out the entry- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getConfirmDisableForm
Gets the confirmation page of disable form- Parameters:
request- The HTTP request- Returns:
- the confirmation page of disable form
-
getConfirmDisableAutoForm
Gets the confirmation page of disable auto published form- Parameters:
request- The HTTP request- Returns:
- the confirmation page of disable form
-
doDisableForm
Perform disable form- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doDisableAutoForm
Perform disable auto published form- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doEnableForm
Perform enable form- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doEnableAutoForm
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 requestnIdForm- the key of form to modify- Returns:
- return url of the jsp modify form
-
getCreateField
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 requestbWithConditionalQuestion- true if the field is associate to conditionals questions- Returns:
- the field modification page
-
doCreateField
Perform creation field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doModifyField
Perform modification field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getConfirmRemoveField
Gets the confirmation page of delete field- Parameters:
request- The HTTP request- Returns:
- the confirmation page of delete field
-
doRemoveField
Perform suppression field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doMoveUpField
Move up the field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doMoveDownField
Move down the field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doRemoveRegularExpression
Delete association between field and regular expression- Parameters:
request- the Http Request- Returns:
- The URL to go after performing the action
-
doInsertRegularExpression
insert association between field and regular expression- Parameters:
request- the Http Request- Returns:
- The URL to go after performing the action
-
getTestForm
Gets the form test page- Parameters:
request- the http request- Returns:
- the form test page
-
doTestForm
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 requestresponse- The http response- Returns:
- The URL to go after performing the action
-
getResult
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 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 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
Gets the form modification page- Parameters:
request- The HTTP request- Returns:
- The form modification page
-
doManageOutputProcessor
Perform the form modification- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getModifyMessage
Gets the form messages modification page- Parameters:
request- The HTTP request- Returns:
- the form messages modification page
-
doModifyMessage
Perform the messages form modification- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-