|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.business.Entry
public class Entry
class Entry
| Field Summary | |
|---|---|
protected static java.lang.String |
EMPTY_STRING
|
protected static java.lang.String |
FIELD_COMMENT
|
protected static java.lang.String |
FIELD_CONFIRM_FIELD
|
protected static java.lang.String |
FIELD_CONFIRM_FIELD_TITLE
|
protected static java.lang.String |
FIELD_HEIGHT
|
protected static java.lang.String |
FIELD_HELP_MESSAGE
|
protected static java.lang.String |
FIELD_INSERT_GROUP
|
protected static java.lang.String |
FIELD_MANDATORY
|
protected static java.lang.String |
FIELD_MAX_SIZE_ENTER
|
protected static java.lang.String |
FIELD_PRESENTATION
|
protected static java.lang.String |
FIELD_TITLE
|
protected static java.lang.String |
FIELD_VALUE
|
protected static java.lang.String |
FIELD_WIDTH
|
protected static java.lang.String |
JSP_DOWNLOAD_FILE
|
protected static java.lang.String |
MARK_ENTRY
|
protected static java.lang.String |
MESSAGE_CONFIRM_FIELD
|
protected static java.lang.String |
MESSAGE_MANDATORY_FIELD
|
protected static java.lang.String |
MESSAGE_MAXLENGTH
|
protected static java.lang.String |
MESSAGE_NUMERIC_FIELD
|
protected static java.lang.String |
MESSAGE_UNIQUE_FIELD
|
protected static java.lang.String |
MESSAGE_XSS_FIELD
|
protected static java.lang.String |
PARAMETER_COMMENT
|
protected static java.lang.String |
PARAMETER_CONFIRM_FIELD
|
protected static java.lang.String |
PARAMETER_CONFIRM_FIELD_TITLE
|
protected static java.lang.String |
PARAMETER_FIELD_IN_LINE
|
protected static java.lang.String |
PARAMETER_HEIGHT
|
protected static java.lang.String |
PARAMETER_HELP_MESSAGE
|
protected static java.lang.String |
PARAMETER_MANDATORY
|
protected static java.lang.String |
PARAMETER_MAX_SIZE_ENTER
|
protected static java.lang.String |
PARAMETER_TITLE
|
protected static java.lang.String |
PARAMETER_UNIQUE
|
protected static java.lang.String |
PARAMETER_VALUE
|
protected static java.lang.String |
PARAMETER_WIDTH
|
protected static java.lang.String |
SUFFIX_CONFIRM_FIELD
|
| Constructor Summary | |
|---|---|
Entry()
|
|
| Method Summary | |
|---|---|
java.util.List<IEntry> |
getChildren()
|
java.lang.String |
getComment()
|
java.lang.String |
getConfirmFieldTitle()
Get the title of the confirmation field |
EntryType |
getEntryType()
|
Field |
getFieldDepend()
|
java.util.List<Field> |
getFields()
|
Form |
getForm()
|
java.lang.String |
getHelpMessage()
|
java.lang.String |
getHtmlCode()
Get the HtmlCode of the entry |
int |
getIdEntry()
|
IMapProvider |
getMapProvider()
The selected map provider |
int |
getNumberConditionalQuestion()
|
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 |
IEntry |
getParent()
|
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 |
java.lang.String |
getRequestData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
Get the request data |
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 |
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 |
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 |
java.lang.String |
getTemplateCreate()
Get template create url of the entry |
java.lang.String |
getTemplateModify()
Get the template modify url of the entry |
java.lang.String |
getTitle()
|
boolean |
isConfirmField()
Get the confirmField value |
boolean |
isFieldInLine()
|
boolean |
isFirstInTheList()
|
boolean |
isLastInTheList()
|
boolean |
isMandatory()
|
boolean |
isUnique()
|
void |
setChildren(java.util.List<IEntry> children)
set the list of entry who are insert in the group |
void |
setComment(java.lang.String comment)
set entry comment |
void |
setConfirmField(boolean bConfirmField)
Set the confirmField |
void |
setConfirmFieldTitle(java.lang.String strConfirmFieldTitle)
Set the title of the confirmation field |
void |
setEntryType(EntryType entryType)
set the type of the entry |
void |
setFieldDepend(Field depend)
set the field if the entry is a conditional question |
void |
setFieldInLine(boolean fieldInLine)
set true if the field associate must be display in line |
void |
setFields(java.util.List<Field> fields)
set the list of field who are associate to the entry |
void |
setFirstInTheList(boolean firstInTheList)
set true if the entry is the first entry of a group or the list of entry |
void |
setForm(Form form)
set the form of the entry |
void |
setHelpMessage(java.lang.String helpMessage)
set the entry help message |
void |
setIdEntry(int idEntry)
set the id of the entry |
void |
setLastInTheList(boolean lastInTheList)
set true if the entry is the last entry of a group or the list of entry |
void |
setMandatory(boolean mandatory)
set true if the question is mandatory |
void |
setMapProvider(IMapProvider mapProvider)
Sets the map provider |
void |
setNumberConditionalQuestion(int numberConditionalQuestion)
set the number of conditional questions who are assocaite to the entry |
void |
setParent(IEntry parent)
set parent entry if the entry is insert in a group |
void |
setPosition(int position)
set position entry |
void |
setTitle(java.lang.String title)
set title entry |
void |
setUnique(boolean _bUnique)
Set to true if the value of the response to this question must be unique |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String PARAMETER_TITLE
protected static final java.lang.String PARAMETER_HELP_MESSAGE
protected static final java.lang.String PARAMETER_COMMENT
protected static final java.lang.String PARAMETER_MANDATORY
protected static final java.lang.String PARAMETER_FIELD_IN_LINE
protected static final java.lang.String PARAMETER_HEIGHT
protected static final java.lang.String PARAMETER_WIDTH
protected static final java.lang.String PARAMETER_VALUE
protected static final java.lang.String PARAMETER_MAX_SIZE_ENTER
protected static final java.lang.String PARAMETER_CONFIRM_FIELD
protected static final java.lang.String PARAMETER_CONFIRM_FIELD_TITLE
protected static final java.lang.String SUFFIX_CONFIRM_FIELD
protected static final java.lang.String PARAMETER_UNIQUE
protected static final java.lang.String MESSAGE_MANDATORY_FIELD
protected static final java.lang.String MESSAGE_NUMERIC_FIELD
protected static final java.lang.String MESSAGE_CONFIRM_FIELD
protected static final java.lang.String MESSAGE_UNIQUE_FIELD
protected static final java.lang.String MESSAGE_XSS_FIELD
protected static final java.lang.String MESSAGE_MAXLENGTH
protected static final java.lang.String FIELD_TITLE
protected static final java.lang.String FIELD_INSERT_GROUP
protected static final java.lang.String FIELD_HELP_MESSAGE
protected static final java.lang.String FIELD_COMMENT
protected static final java.lang.String FIELD_VALUE
protected static final java.lang.String FIELD_PRESENTATION
protected static final java.lang.String FIELD_MANDATORY
protected static final java.lang.String FIELD_WIDTH
protected static final java.lang.String FIELD_HEIGHT
protected static final java.lang.String FIELD_MAX_SIZE_ENTER
protected static final java.lang.String FIELD_CONFIRM_FIELD
protected static final java.lang.String FIELD_CONFIRM_FIELD_TITLE
protected static final java.lang.String JSP_DOWNLOAD_FILE
protected static final java.lang.String MARK_ENTRY
protected static final java.lang.String EMPTY_STRING
| Constructor Detail |
|---|
public Entry()
| Method Detail |
|---|
public java.util.List<IEntry> getChildren()
getChildren in interface IEntrypublic java.lang.String getComment()
getComment in interface IEntrypublic EntryType getEntryType()
getEntryType in interface IEntrypublic java.util.List<Field> getFields()
getFields in interface IEntrypublic java.lang.String getHelpMessage()
getHelpMessage in interface IEntrypublic int getIdEntry()
getIdEntry in interface IEntrypublic IEntry getParent()
getParent in interface IEntrypublic int getPosition()
getPosition in interface IEntrypublic java.lang.String getTitle()
getTitle in interface IEntrypublic boolean isFieldInLine()
isFieldInLine in interface IEntrypublic boolean isMandatory()
isMandatory in interface IEntrypublic void setChildren(java.util.List<IEntry> children)
setChildren in interface IEntrychildren - the list of entrypublic void setComment(java.lang.String comment)
setComment in interface IEntrycomment - entry commentpublic void setEntryType(EntryType entryType)
setEntryType in interface IEntryentryType - the type of the entrypublic void setFieldInLine(boolean fieldInLine)
setFieldInLine in interface IEntryfieldInLine - true if the field associate must be display in linepublic void setFields(java.util.List<Field> fields)
setFields in interface IEntryfields - the list of fieldpublic void setHelpMessage(java.lang.String helpMessage)
setHelpMessage in interface IEntryhelpMessage - the entry help messagepublic void setIdEntry(int idEntry)
setIdEntry in interface IEntryidEntry - the id of the entrypublic void setMandatory(boolean mandatory)
setMandatory in interface IEntrymandatory - true if the question is mandatorypublic void setParent(IEntry parent)
setParent in interface IEntryparent - parent entrypublic void setPosition(int position)
setPosition in interface IEntryposition - position entrypublic void setTitle(java.lang.String title)
setTitle in interface IEntrytitle - titlepublic Form getForm()
getForm in interface IEntrypublic void setForm(Form form)
setForm in interface IEntryform - the form of the entrypublic Field getFieldDepend()
getFieldDepend in interface IEntrypublic void setFieldDepend(Field depend)
setFieldDepend in interface IEntrydepend - the field if the entry is a conditional questionpublic java.lang.String getHtmlCode()
getHtmlCode in interface IEntry
public java.lang.String getRequestData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
getRequestData in interface IEntryrequest - HttpRequestlocale - the locale
public FormError getResponseData(javax.servlet.http.HttpServletRequest request,
java.util.List<Response> listResponse,
java.util.Locale locale)
getResponseData in interface IEntryrequest - HttpRequestlistResponse - the list of response associate to the entry in the form submitlocale - the locale
public java.lang.String getTemplateCreate()
getTemplateCreate in interface IEntrypublic java.lang.String getTemplateModify()
getTemplateModify in interface IEntrypublic int getNumberConditionalQuestion()
getNumberConditionalQuestion in interface IEntry
public java.lang.String getResponseValueForExport(javax.servlet.http.HttpServletRequest request,
Response response,
java.util.Locale locale)
getResponseValueForExport in interface IEntryresponse - the response associate to the entrylocale - the localerequest - the request
public java.lang.String getResponseValueForRecap(javax.servlet.http.HttpServletRequest request,
Response response,
java.util.Locale locale)
getResponseValueForRecap in interface IEntryresponse - the response associate to the entrylocale - the localerequest - the request
public void setNumberConditionalQuestion(int numberConditionalQuestion)
setNumberConditionalQuestion in interface IEntrynumberConditionalQuestion - the number of conditional questions who are assocaite to the entry
public fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.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 index
public fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
getReferenceListRegularExpression in interface IEntryentry - the entryplugin - the plugin
public boolean isLastInTheList()
isLastInTheList in interface IEntrypublic void setLastInTheList(boolean lastInTheList)
setLastInTheList in interface IEntrylastInTheList - true if the entry is the last entry of a group or the list of entrypublic boolean isFirstInTheList()
isFirstInTheList in interface IEntrypublic void setFirstInTheList(boolean firstInTheList)
setFirstInTheList in interface IEntryfirstInTheList - true if the entry is the last entry of a group or the list of entrypublic void setConfirmField(boolean bConfirmField)
setConfirmField in interface IEntrynConfirmField - public boolean isConfirmField()
isConfirmField in interface IEntrypublic void setConfirmFieldTitle(java.lang.String strConfirmFieldTitle)
setConfirmFieldTitle in interface IEntrystrConfirmFieldTitle - public java.lang.String getConfirmFieldTitle()
getConfirmFieldTitle in interface IEntrypublic void setUnique(boolean _bUnique)
setUnique in interface IEntrypublic boolean isUnique()
isUnique in interface IEntrypublic IMapProvider getMapProvider()
getMapProvider in interface IEntryIMapProviderpublic void setMapProvider(IMapProvider mapProvider)
setMapProvider in interface IEntrymapProvider - the map provider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||