|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEntry
IEntry Class
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()
|
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()
|
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 true if the question must be confirmed by a duplicated field |
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 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(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 |
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 |
Method Detail |
---|
int getIdEntry()
java.lang.String getTitle()
java.lang.String getHelpMessage()
java.lang.String getComment()
boolean isMandatory()
boolean isConfirmField()
boolean isUnique()
java.lang.String getConfirmFieldTitle()
boolean isFieldInLine()
int getPosition()
Form getForm()
EntryType getEntryType()
IEntry getParent()
java.util.List<IEntry> getChildren()
java.util.List<Field> getFields()
Field getFieldDepend()
int getNumberConditionalQuestion()
java.lang.String getRequestData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
request
- HttpRequestlocale
- the locale
FormError getResponseData(javax.servlet.http.HttpServletRequest request, java.util.List<Response> listResponse, java.util.Locale locale)
request
- HttpRequestlistResponse
- the list of response associate to the entry in the form submitlocale
- the locale
java.lang.String getHtmlCode()
java.lang.String getTemplateCreate()
java.lang.String getTemplateModify()
fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage, java.lang.String strBaseUrl, java.lang.String strPageIndexParameterName, java.lang.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 index
fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginentry
- the entry
java.lang.String getResponseValueForExport(javax.servlet.http.HttpServletRequest request, Response response, java.util.Locale locale)
response
- the response associate to the entrylocale
- the localerequest
- the request
java.lang.String getResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, java.util.Locale locale)
response
- the response associate to the entrylocale
- the localerequest
- the request
boolean isLastInTheList()
boolean isFirstInTheList()
void setIdEntry(int idEntry)
idEntry
- the id of the entryvoid setTitle(java.lang.String title)
title
- titlevoid setHelpMessage(java.lang.String helpMessage)
helpMessage
- the entry help messagevoid setComment(java.lang.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(java.util.List<IEntry> children)
children
- the list of entryvoid setFields(java.util.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(java.lang.String strConfirmFieldTitle)
strConfirmFieldTitle
- void setUnique(boolean bUnique)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |