public interface IEntry
Modifier and Type | Method and Description |
---|---|
List<IEntry> |
getChildren() |
String |
getComment() |
String |
getConfirmFieldTitle()
Get the title of the confirmation field
|
EntryType |
getEntryType() |
Field |
getFieldDepend() |
List<Field> |
getFields() |
Form |
getForm() |
String |
getHelpMessage() |
String |
getHtmlCode()
Get the HtmlCode of the entry
|
int |
getIdEntry() |
int |
getNumberConditionalQuestion() |
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
|
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
|
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
|
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
|
String |
getResponseValueForRecap(javax.servlet.http.HttpServletRequest request,
Response response,
Locale locale)
Get the response value associate to the entry to write in the recap
|
String |
getTemplateCreate()
Get template create url of the entry
|
String |
getTemplateModify()
Get the template modify url of the entry
|
String |
getTitle() |
boolean |
isConfirmField() |
boolean |
isFieldInLine() |
boolean |
isFirstInTheList() |
boolean |
isLastInTheList() |
boolean |
isMandatory() |
boolean |
isUnique() |
void |
setChildren(List<IEntry> children)
set the list of entry who are insert in the group
|
void |
setComment(String comment)
set entry comment
|
void |
setConfirmField(boolean bConfirmField)
set true if the question must be confirmed by a duplicated field
|
void |
setConfirmFieldTitle(String strConfirmFieldTitle)
Set the title of the confirmation field
|
void |
setEntryType(EntryType entryType)
set the type of the entry
|
void |
setFieldDepend(Field field)
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(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(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 |
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(String title)
set title entry
|
void |
setUnique(boolean bUnique)
Set to true if the value of the response to this question must be unique
|
int getIdEntry()
String getTitle()
String getHelpMessage()
String getComment()
boolean isMandatory()
boolean isConfirmField()
boolean isUnique()
String getConfirmFieldTitle()
boolean isFieldInLine()
int getPosition()
Form getForm()
EntryType getEntryType()
IEntry getParent()
Field getFieldDepend()
int getNumberConditionalQuestion()
String getRequestData(javax.servlet.http.HttpServletRequest request, Locale locale)
request
- HttpRequestlocale
- the localeFormError getResponseData(javax.servlet.http.HttpServletRequest request, List<Response> listResponse, Locale locale)
request
- HttpRequestlistResponse
- the list of response associate to the entry in the form submitlocale
- the localeString getHtmlCode()
String getTemplateCreate()
String getTemplateModify()
fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex)
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 indexfr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginentry
- the entryString getResponseValueForExport(javax.servlet.http.HttpServletRequest request, Response response, Locale locale)
response
- the response associate to the entrylocale
- the localerequest
- the requestString getResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, Locale locale)
response
- the response associate to the entrylocale
- the localerequest
- the requestboolean isLastInTheList()
boolean isFirstInTheList()
void setIdEntry(int idEntry)
idEntry
- the id of the entryvoid setTitle(String title)
title
- titlevoid setHelpMessage(String helpMessage)
helpMessage
- the entry help messagevoid setComment(String comment)
comment
- entry commentvoid setMandatory(boolean mandatory)
mandatory
- true if the question is mandatoryvoid setFieldInLine(boolean fieldInLine)
fieldInLine
- true if the field associate must be display in linevoid setPosition(int position)
position
- position entryvoid setForm(Form form)
form
- the form of the entryvoid setEntryType(EntryType entryType)
entryType
- the type of the entryvoid setParent(IEntry parent)
parent
- parent entryvoid setChildren(List<IEntry> children)
children
- the list of entryvoid setFields(List<Field> fields)
fields
- the list of fieldvoid setFieldDepend(Field field)
field
- depend the field if the entry is a conditional questionvoid setNumberConditionalQuestion(int numberConditionalQuestion)
numberConditionalQuestion
- the number of conditional questions who are assocaite to the entryvoid setLastInTheList(boolean lastInTheList)
lastInTheList
- true if the entry is the last entry of a group or the list of entryvoid setFirstInTheList(boolean firstInTheList)
firstInTheList
- true if the entry is the last entry of a group or the list of entryvoid setConfirmField(boolean bConfirmField)
mandatory
- true if the question must be confirmed by a duplicated fieldvoid setConfirmFieldTitle(String strConfirmFieldTitle)
strConfirmFieldTitle
- void setUnique(boolean bUnique)
Copyright © 2016 City of Paris. All rights reserved.