|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEntry
IEntry Class
| Method Summary | |
|---|---|
java.lang.String |
convertRecordFieldValueToString(RecordField recordField,
java.util.Locale locale)
convert the value contains in the record field to string |
java.util.List<IEntry> |
getChildren()
|
java.lang.String |
getComment()
|
Directory |
getDirectory()
|
int |
getDisplayHeight()
|
int |
getDisplayWidth()
|
java.lang.String |
getEntryData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
Get the request data |
EntryType |
getEntryType()
|
java.util.List<Field> |
getFields()
|
java.lang.String |
getHelpMessage()
|
java.lang.String |
getHelpMessageSearch()
|
java.lang.String |
getHtmlFormEntry(java.util.Locale locale)
Get Html code used in entry form |
java.lang.String |
getHtmlFormEntry(java.util.Locale locale,
java.util.List<RecordField> listRecordField)
Get Html code used in entry form |
java.lang.String |
getHtmlFormSearchEntry(java.util.Locale locale)
Get Html code used in search form |
java.lang.String |
getHtmlFormSearchEntry(java.util.Locale locale,
java.util.List<RecordField> listRecordField)
Get Html code used in search form |
java.lang.String |
getHtmlRecordFieldValue(java.util.Locale locale,
RecordField recordField)
Get the Html code used in display records |
int |
getIdEntry()
|
DirectoryError |
getImportRecordFieldData(java.lang.String strImportValue,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
save in the list of record field the record field associate to the entry |
java.util.HashMap<java.lang.String,java.lang.Object> |
getMapSearchItem(RecordField recordField)
Get a Map containing the field that should be the research and the search value |
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()
|
DirectoryError |
getRecordFieldData(javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
save in the list of record field the record field associate to the entry |
DirectoryError |
getRecordFieldData(java.util.List<java.lang.String> listValue,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
save in the list of record field the record field associate to the entry |
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 |
java.lang.String |
getTemplateCreate()
Get template create url |
java.lang.String |
getTemplateModify()
Get the template modify url |
java.lang.String |
getTitle()
|
boolean |
isFieldInLine()
|
boolean |
isFirstInTheList()
|
boolean |
isIndexed()
|
boolean |
isLastInTheList()
|
boolean |
isMandatory()
|
boolean |
isShownInAdvancedSearch()
|
boolean |
isShownInResultList()
|
boolean |
isShownInResultRecord()
|
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 |
setDirectory(Directory directory)
set the directory associate to the entry |
void |
setDisplayHeight(int height)
set the height of the entry |
void |
setDisplayWidth(int width)
set the width of the entry |
void |
setEntryType(EntryType entryType)
set the type of the entry |
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 |
setHelpMessage(java.lang.String helpMessage)
set entry help message |
void |
setHelpMessageSearch(java.lang.String helpMessage)
set the entry help message for search |
void |
setIdEntry(int idEntry)
set the id of the entry |
void |
setIndexed(boolean indexed)
set true if the field must be indexed |
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 |
setParent(IEntry parent)
set parent entry if the entry is insert in a group |
void |
setPosition(int position)
set position entry |
void |
setShownInAdvancedSearch(boolean shown)
set true if the field must be shown advanced search |
void |
setShownInResultList(boolean shown)
set true if the field must be shown in result list page |
void |
setShownInResultRecord(boolean shown)
set true if the field must be shown in result record page |
void |
setTitle(java.lang.String title)
set title entry |
| Method Detail |
|---|
int getIdEntry()
void setIdEntry(int idEntry)
idEntry - the id of the entryDirectory getDirectory()
void setDirectory(Directory directory)
directory - the directory associate to the entryjava.lang.String getTitle()
void setTitle(java.lang.String title)
title - titlejava.lang.String getHelpMessage()
void setHelpMessage(java.lang.String helpMessage)
helpMessage - entry helpMessagejava.lang.String getHelpMessageSearch()
void setHelpMessageSearch(java.lang.String helpMessage)
helpMessage - the entry help message for searchjava.lang.String getComment()
void setComment(java.lang.String comment)
comment - entry commentboolean isMandatory()
void setMandatory(boolean mandatory)
mandatory - true if the question is mandatoryboolean isFieldInLine()
void setFieldInLine(boolean fieldInLine)
fieldInLine - true if the field associate must be display in lineboolean isShownInAdvancedSearch()
boolean isShownInResultList()
void setShownInResultList(boolean shown)
shown - true if the entry must be shown in result list pageboolean isShownInResultRecord()
void setShownInResultRecord(boolean shown)
shown - true if the entry must be shown in result record pagevoid setShownInAdvancedSearch(boolean shown)
shown - true if the entry must be shown in advanced searchboolean isIndexed()
void setIndexed(boolean indexed)
indexed - true if the field must be indexedint getPosition()
void setPosition(int position)
position - position entryEntryType getEntryType()
void setEntryType(EntryType entryType)
entryType - the type of the entryjava.util.List<Field> getFields()
void setFields(java.util.List<Field> fields)
fields - the list of fieldIEntry getParent()
void setParent(IEntry parent)
parent - parent entryjava.util.List<IEntry> getChildren()
void setChildren(java.util.List<IEntry> children)
children - the list of entryboolean isLastInTheList()
void setLastInTheList(boolean lastInTheList)
lastInTheList - true if the entry is the last entry of a group or the list of entryboolean isFirstInTheList()
void setFirstInTheList(boolean firstInTheList)
firstInTheList - true if the entry is the last entry of a group or the list of entryint getDisplayWidth()
void setDisplayWidth(int width)
width - width of the entryint getDisplayHeight()
void setDisplayHeight(int height)
height - the height of the entry
java.lang.String getEntryData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
request - HttpRequestlocale - the locale
DirectoryError getRecordFieldData(javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
request - HttpRequestbTestDirectoryError - true if the value contains in the request must be testedlistRecordField - the list of record field associate to the recordlocale - the locale
DirectoryError getRecordFieldData(java.util.List<java.lang.String> listValue,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
listValue - the list which contains the string value of the record fieldbTestDirectoryError - true if the value contains in the request must be testedlistRecordField - the list of record field associate to the recordlocale - the locale
DirectoryError getImportRecordFieldData(java.lang.String strImportValue,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
strImportValue - the import string which contains the string value of the record fieldbTestDirectoryError - true if the value contains in the request must be testedlistRecordField - the list of record field associate to the recordlocale - the locale
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 getHtmlFormEntry(java.util.Locale locale)
locale - the locale
java.lang.String getHtmlFormEntry(java.util.Locale locale,
java.util.List<RecordField> listRecordField)
locale - the localelistRecordField - the list of record field associate to the entry
java.lang.String getHtmlFormSearchEntry(java.util.Locale locale)
locale - the locale
java.lang.String getHtmlFormSearchEntry(java.util.Locale locale,
java.util.List<RecordField> listRecordField)
locale - the localelistRecordField - the list of record field associate to the entry
java.lang.String getHtmlRecordFieldValue(java.util.Locale locale,
RecordField recordField)
locale - the localerecordField - the record field associate to the entry
java.lang.String convertRecordFieldValueToString(RecordField recordField,
java.util.Locale locale)
recordField - the recordFieldlocale - the locale
java.util.HashMap<java.lang.String,java.lang.Object> getMapSearchItem(RecordField recordField)
recordField - the record field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||