Class EntryTypeSelect
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.Entry
-
- fr.paris.lutece.plugins.form.business.EntryTypeSelect
-
-
Constructor Summary
Constructors Constructor Description EntryTypeSelect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHtmlCode()Get the HtmlCode of the entryfr.paris.lutece.util.html.PaginatorgetPaginator(int nItemPerPage, java.lang.String strBaseUrl, java.lang.String strPageIndexParameterName, java.lang.String strPageIndex)The paginator who is use in the template modify of the entryjava.lang.StringgetRequestData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)Get the request dataFormErrorgetResponseData(javax.servlet.http.HttpServletRequest request, java.util.List<Response> listResponse, java.util.Locale locale)save in the list of response the response associate to the entry in the form submitjava.lang.StringgetResponseValueForExport(javax.servlet.http.HttpServletRequest request, Response response, java.util.Locale locale)Get the response value associate to the entry to export in the file exportjava.lang.StringgetResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, java.util.Locale locale)Get the response value associate to the entry to write in the recapjava.lang.StringgetTemplateCreate()Get template create url of the entryjava.lang.StringgetTemplateModify()Get the template modify url of the entry-
Methods 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
-
-
-
-
Method Detail
-
getHtmlCode
public java.lang.String getHtmlCode()
Get the HtmlCode of the entry- Specified by:
getHtmlCodein interfaceIEntry- Overrides:
getHtmlCodein classEntry- Returns:
- the HtmlCode of the entry
-
getRequestData
public java.lang.String getRequestData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)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
public java.lang.String getTemplateCreate()
Get template create url of the entry- Specified by:
getTemplateCreatein interfaceIEntry- Overrides:
getTemplateCreatein classEntry- Returns:
- template create url of the entry
-
getTemplateModify
public java.lang.String 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, java.lang.String strBaseUrl, java.lang.String strPageIndexParameterName, java.lang.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, java.util.List<Response> listResponse, java.util.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 java.lang.String getResponseValueForExport(javax.servlet.http.HttpServletRequest request, Response response, java.util.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 java.lang.String getResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, java.util.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
-
-