Class EntryTypeCheckBox
java.lang.Object
fr.paris.lutece.plugins.form.business.Entry
fr.paris.lutece.plugins.form.business.EntryTypeCheckBox
- All Implemented Interfaces:
IEntry
class EntryTypeCheckBox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the HtmlCode of the entryfr.paris.lutece.util.html.PaginatorgetPaginator(int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex) The paginator who is use in the template modify of the entrygetRequestData(javax.servlet.http.HttpServletRequest request, Locale locale) Get the request datagetResponseData(javax.servlet.http.HttpServletRequest request, List<Response> listResponse, Locale locale) save in the list of response the response associate to the entry in the form submitgetResponseValueForExport(javax.servlet.http.HttpServletRequest request, Response response, Locale locale) Get the response value associate to the entry to export in the file exportgetResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, Locale locale) Get the response value associate to the entry to write in the recapGet template create url of the entryGet the template modify url of the entryMethods inherited from class fr.paris.lutece.plugins.form.business.Entry
getChildren, getComment, getConfirmFieldTitle, getEntryType, getFieldDepend, getFields, getForm, getHelpMessage, getIdEntry, getNumberConditionalQuestion, getParent, getPosition, getReferenceListRegularExpression, getTitle, isConfirmField, isFieldInLine, isFirstInTheList, isLastInTheList, isMandatory, isUnique, setChildren, setComment, setConfirmField, setConfirmFieldTitle, setEntryType, setFieldDepend, setFieldInLine, setFields, setFirstInTheList, setForm, setHelpMessage, setIdEntry, setLastInTheList, setMandatory, setNumberConditionalQuestion, setParent, setPosition, setTitle, setUnique
-
Constructor Details
-
EntryTypeCheckBox
public EntryTypeCheckBox()
-
-
Method Details
-
getHtmlCode
Get the HtmlCode of the entry- Specified by:
getHtmlCodein interfaceIEntry- Overrides:
getHtmlCodein classEntry- Returns:
- the HtmlCode of the entry
-
getRequestData
Get the request data- Specified by:
getRequestDatain interfaceIEntry- Overrides:
getRequestDatain classEntry- Parameters:
request- HttpRequestlocale- the locale- Returns:
- null if all data requiered are in the request else the url of jsp error
-
getTemplateCreate
Get template create url of the entry- Specified by:
getTemplateCreatein interfaceIEntry- Overrides:
getTemplateCreatein classEntry- Returns:
- template create url of the entry
-
getTemplateModify
Get the template modify url of the entry- Specified by:
getTemplateModifyin interfaceIEntry- Overrides:
getTemplateModifyin classEntry- Returns:
- template modify url of the entry
-
getPaginator
public fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex) The paginator who is use in the template modify of the entry- Specified by:
getPaginatorin interfaceIEntry- Overrides:
getPaginatorin classEntry- Parameters:
nItemPerPage- Number of items to display per pagestrBaseUrl- The base Url for build links on each page linkstrPageIndexParameterName- The parameter name for the page indexstrPageIndex- The current page index- Returns:
- the paginator who is use in the template modify of the entry
-
getResponseData
public FormError getResponseData(javax.servlet.http.HttpServletRequest request, List<Response> listResponse, Locale locale) save in the list of response the response associate to the entry in the form submit- Specified by:
getResponseDatain interfaceIEntry- Overrides:
getResponseDatain classEntry- Parameters:
request- HttpRequestlistResponse- the list of response associate to the entry in the form submitlocale- the locale- Returns:
- a Form error object if there is an error in the response
-
getResponseValueForExport
public String getResponseValueForExport(javax.servlet.http.HttpServletRequest request, Response response, Locale locale) Get the response value associate to the entry to export in the file export- Specified by:
getResponseValueForExportin interfaceIEntry- Overrides:
getResponseValueForExportin classEntry- Parameters:
response- the response associate to the entrylocale- the localerequest- the request- Returns:
- the response value associate to the entry to export in the file export
-
getResponseValueForRecap
public String getResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, Locale locale) Get the response value associate to the entry to write in the recap- Specified by:
getResponseValueForRecapin interfaceIEntry- Overrides:
getResponseValueForRecapin classEntry- Parameters:
response- the response associate to the entrylocale- the localerequest- the request- Returns:
- the response value associate to the entry to write in the recap
-