public class Entry extends Object implements IEntry
| Constructor and Description |
|---|
Entry() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getDefaultValue() |
List<EntryAdditionalAttribute> |
getEntryAdditionalAttributeList() |
EntryType |
getEntryType() |
int |
getHeight() |
String |
getHelpMessage() |
int |
getIdEntry() |
int |
getMaxSizeEnter() |
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
|
int |
getPosition() |
fr.paris.lutece.util.ReferenceList |
getReferenceListRegularExpression(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of regular expression who is use in the template modify of the entry
|
List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> |
getRegularExpressionList() |
String |
getRequestData(javax.servlet.http.HttpServletRequest request,
Locale locale)
Get the request data
|
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
|
FormError |
getResponseData(int nIdSuggestSubmit,
javax.servlet.http.HttpServletRequest request,
List<Response> listResponse,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
save in the list of response the response associate to the entry in the form submit
|
Suggest |
getSuggest() |
String |
getTemplateCreate()
Get template create url of the entry
|
String |
getTemplateHtmlCodeForm()
Get the HtmlCode of the entry
|
String |
getTemplateHtmlCodeResponse()
Get the template of the html code of the response value associate to the entry
|
String |
getTemplateModify()
Get the template modify url of the entry
|
String |
getTitle() |
int |
getWidth() |
void |
getXml(Locale locale,
StringBuffer strXml)
add The Xml of the entry in the string buffer
|
boolean |
isMandatory() |
boolean |
isShowInSuggestSubmitList() |
void |
setComment(String comment)
set entry comment
|
void |
setDefaultValue(String value)
set the default value of the entry
|
void |
setEntryAdditionalAttributeList(List<EntryAdditionalAttribute> entryAdditionalAttributeList)
set a list of additional attribute which is associate to the entry
|
void |
setEntryType(EntryType entryType)
set the type of the entry
|
void |
setHeight(int height)
set the height of the entry
|
void |
setHelpMessage(String helpMessage)
set the entry help message
|
void |
setIdEntry(int idEntry)
set the id of the entry
|
void |
setMandatory(boolean mandatory)
set true if the question is mandatory
|
void |
setMaxSizeEnter(int maxSizeEnter)
set the max size of enter user
|
void |
setPosition(int position)
set position entry
|
void |
setRegularExpressionList(List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
set a list of regular expression which is associate to the entry
|
void |
setShowInSuggestSubmitList(boolean show)
set true if the entry must be shown in suggest submit list
|
void |
setSuggest(Suggest suggest)
set the suggest of the entry
|
void |
setTitle(String title)
set title entry
|
void |
setWidth(int width)
set the width of the entry
|
public static final String TAG_ENTRY
public static final String TAG_ENTRY_ID
public static final String TAG_TITLE
public static final String TAG_TYPE
protected static final String PARAMETER_TITLE
protected static final String PARAMETER_HELP_MESSAGE
protected static final String PARAMETER_COMMENT
protected static final String PARAMETER_MANDATORY
protected static final String PARAMETER_HEIGHT
protected static final String PARAMETER_WIDTH
protected static final String PARAMETER_VALUE
protected static final String PARAMETER_MAX_SIZE_ENTER
protected static final String PARAMETER_SHOW_IN_SUGGEST_SUBMIT_LIST
protected static final String MESSAGE_MANDATORY_FIELD
protected static final String MESSAGE_NUMERIC_FIELD
protected static final String FIELD_TITLE
protected static final String FIELD_INSERT_GROUP
protected static final String FIELD_HELP_MESSAGE
protected static final String FIELD_COMMENT
protected static final String FIELD_VALUE
protected static final String FIELD_PRESENTATION
protected static final String FIELD_MANDATORY
protected static final String FIELD_WIDTH
protected static final String FIELD_HEIGHT
protected static final String FIELD_MAX_SIZE_ENTER
protected static final String JSP_DOWNLOAD_FILE
protected static final String MARK_ENTRY
protected static final String EMPTY_STRING
public String getComment()
getComment in interface IEntrypublic EntryType getEntryType()
getEntryType in interface IEntrypublic String getHelpMessage()
getHelpMessage in interface IEntrypublic int getIdEntry()
getIdEntry in interface IEntrypublic int getPosition()
getPosition in interface IEntrypublic boolean isMandatory()
isMandatory in interface IEntrypublic boolean isShowInSuggestSubmitList()
isShowInSuggestSubmitList in interface IEntrypublic void setComment(String comment)
setComment in interface IEntrycomment - entry commentpublic void setEntryType(EntryType entryType)
setEntryType in interface IEntryentryType - the type of the entrypublic void setHelpMessage(String helpMessage)
setHelpMessage in interface IEntryhelpMessage - the entry help messagepublic void setIdEntry(int idEntry)
setIdEntry in interface IEntryidEntry - the id of the entrypublic void setShowInSuggestSubmitList(boolean show)
setShowInSuggestSubmitList in interface IEntryshow - true if the entry must be shown in suggest submit listpublic void setMandatory(boolean mandatory)
setMandatory in interface IEntrymandatory - true if the question is mandatorypublic void setPosition(int position)
setPosition in interface IEntryposition - position entrypublic void setTitle(String title)
public Suggest getSuggest()
getSuggest in interface IEntrypublic void setSuggest(Suggest suggest)
setSuggest in interface IEntrysuggest - the suggest of the entrypublic List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getRegularExpressionList()
getRegularExpressionList in interface IEntrypublic void setRegularExpressionList(List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
setRegularExpressionList in interface IEntryregularExpressionList - a list of regular expression which is associate to the entrypublic String getDefaultValue()
getDefaultValue in interface IEntrypublic void setDefaultValue(String value)
setDefaultValue in interface IEntryvalue - the default value of the entrypublic int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public int getMaxSizeEnter()
getMaxSizeEnter in interface IEntrypublic void setMaxSizeEnter(int maxSizeEnter)
setMaxSizeEnter in interface IEntrymaxSizeEnter - the max size of enter userpublic String getTemplateHtmlCodeForm()
getTemplateHtmlCodeForm in interface IEntrypublic String getTemplateHtmlCodeResponse()
getTemplateHtmlCodeResponse in interface IEntrypublic String getRequestData(javax.servlet.http.HttpServletRequest request, Locale locale)
getRequestData in interface IEntryrequest - HttpRequestlocale - the localepublic FormError getResponseData(javax.servlet.http.HttpServletRequest request, List<Response> listResponse, Locale locale)
getResponseData in interface IEntryrequest - HttpRequestlistResponse - the list of response associate to the entry in the form submitlocale - the localepublic FormError getResponseData(int nIdSuggestSubmit, javax.servlet.http.HttpServletRequest request, List<Response> listResponse, Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getResponseData in interface IEntrynIdSuggestSubmit - the id of the SuggestSubmitrequest - HttpRequestlistResponse - the list of response associate to the entry in the form submitlocale - the localeplugin - the pluginpublic String getTemplateCreate()
getTemplateCreate in interface IEntrypublic String getTemplateModify()
getTemplateModify in interface IEntrypublic fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex)
getPaginator in interface IEntrynItemPerPage - 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 indexpublic fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getReferenceListRegularExpression in interface IEntryentry - the entryplugin - the pluginpublic List<EntryAdditionalAttribute> getEntryAdditionalAttributeList()
getEntryAdditionalAttributeList in interface IEntrypublic void setEntryAdditionalAttributeList(List<EntryAdditionalAttribute> entryAdditionalAttributeList)
setEntryAdditionalAttributeList in interface IEntryentryAdditionalAttributeList - a list of additional attribute which is associate to the entrypublic void getXml(Locale locale, StringBuffer strXml)
IEntryCopyright © 2016 City of Paris. All rights reserved.