public class Entry extends Object implements IEntry
Constructor and Description |
---|
Entry() |
Modifier and Type | Method and Description |
---|---|
void |
addSearchCriteria(HashMap<String,Object> mapSearchItem,
RecordField recordField)
add in the search map the criteria
|
void |
canUploadFiles(List<org.apache.commons.fileupload.FileItem> listUploadedFileItems,
List<org.apache.commons.fileupload.FileItem> listFileItemsToUpload,
Locale locale)
Check if the file can be uploaded or not.
|
String |
convertRecordFieldTitleToString(RecordField recordField,
Locale locale,
boolean bDisplayFront)
convert the title contains in the record field to string
|
String |
convertRecordFieldValueToString(RecordField recordField,
Locale locale,
boolean bDisplayFront,
boolean bExportDirectory)
convert the value contains in the record field to string
|
boolean |
getAnonymize()
Check if this entry should be anonymized when a record is anonymized.
|
List<IEntry> |
getChildren() |
String |
getComment() |
Directory |
getDirectory() |
int |
getDisplayHeight() |
int |
getDisplayWidth() |
int |
getEntryAssociate() |
String |
getEntryData(javax.servlet.http.HttpServletRequest request,
Locale locale)
Get the request data
|
EntryType |
getEntryType() |
List<Field> |
getFields() |
String |
getHelpMessage() |
String |
getHelpMessageSearch() |
String |
getHtmlFormEntry(Locale locale,
boolean isDisplayFront)
Get Html code used in entry form
|
String |
getHtmlFormEntry(Locale locale,
List<RecordField> defaultValues,
boolean isDisplayFront)
Get Html code used in entry form
|
String |
getHtmlFormEntryPopup(Locale locale,
List<RecordField> defaultValues,
boolean isDisplayFront) |
String |
getHtmlFormSearchEntry(Locale locale,
boolean isDisplayFront)
Get Html code used in search form
|
String |
getHtmlFormSearchEntry(Locale locale,
List<RecordField> defaultValues,
boolean isDisplayFront)
Get Html code used in search form
|
String |
getHtmlListEntry(Locale locale,
List<RecordField> defaultValues,
boolean isDisplayFront) |
String |
getHtmlRecordFieldValue(Locale locale,
RecordField recordField,
boolean isDisplayFront)
Get the Html code used in display records
|
int |
getIdEntry() |
void |
getImportRecordFieldData(Record record,
byte[] decodedBytes,
String nomFile,
boolean b,
List<RecordField> listRecordField,
Locale locale) |
void |
getImportRecordFieldData(Record record,
String strImportValue,
boolean bTestDirectoryError,
List<RecordField> listRecordField,
Locale locale)
save in the list of record field the record field associate to the entry
|
String |
getLabelValueAllSearch() |
IMapProvider |
getMapProvider()
Gets the map provider
|
int |
getNumberColumn() |
int |
getNumberRow() |
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
|
fr.paris.lutece.portal.web.util.LocalizedPaginator |
getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex,
Locale locale)
The paginator who is use in the template modify of the entry
|
IEntry |
getParent() |
int |
getPosition() |
void |
getRecordFieldData(Record record,
javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
boolean bAddNewValue,
List<RecordField> listRecordField,
Locale locale)
save in the list of record field the record field associate to the entry
|
void |
getRecordFieldData(Record record,
List<String> lstValue,
boolean bTestDirectoryError,
boolean bAddNewValue,
List<RecordField> listRecordField,
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
|
String |
getRequestSQL() |
String |
getSQLJoin()
Gets the join clause for SQL in case of query order.
|
String |
getSQLOrderBy()
Gets the order by clause in case of query order.
|
List<Object> |
getSQLParametersValues()
Use with
IEntry.getSQLJoin() and IEntry.getSQLOrderBy() to add parameters values |
String |
getTemplateCreate()
Get template create url
|
String |
getTemplateHtmlFormEntry(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in entry form
|
String |
getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in search form
|
String |
getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in display records
|
String |
getTemplateModify()
Get the template modify url
|
String |
getTitle() |
void |
getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale,
StringBuffer strXml)
add The Xml of the entry in the string buffer
|
boolean |
isAddValueAllSearch() |
boolean |
isAnonymizable()
Check if entries of this type are anonymizable or not.
|
boolean |
isAutocompleteEntry() |
boolean |
isFieldInLine() |
boolean |
isFirstInTheList() |
boolean |
isIndexed() |
boolean |
isIndexedAsSummary() |
boolean |
isIndexedAsTitle() |
boolean |
isLastInTheList() |
boolean |
isMandatory() |
boolean |
isMultipleSearchFields() |
boolean |
isRoleAssociated() |
boolean |
isShownInAdvancedSearch() |
boolean |
isShownInCompleteness() |
boolean |
isShownInExport() |
boolean |
isShownInHistory() |
boolean |
isShownInResultList() |
boolean |
isShownInResultRecord() |
boolean |
isSortable()
Check if the entry is sortable
|
boolean |
isWorkgroupAssociated() |
void |
setAddValueAllSearch(boolean bAddValueAllSearch)
set the AddValueAllSearch boolean
|
void |
setAnonymize(boolean bAnonymize)
Set the anonymize status of an entry.
|
void |
setAutocompleteEntry(boolean bIsAutocompleEntry)
set autocomplete entry type
|
void |
setChildren(List<IEntry> children)
set the list of entry who are insert in the group
|
void |
setComment(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 |
setEntryAssociate(int idEntryAssociate)
set id entry is display with Multiple search field
|
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(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(String helpMessage)
set entry help message
|
void |
setHelpMessageSearch(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 |
setIndexedAsSummary(boolean indexedAsSummary)
set true if the field is (part of) the summary of the document in the global index
|
void |
setIndexedAsTitle(boolean indexedAsTitle)
set true if the field is (part of) the title of the document in the global index
|
void |
setLabelValueAllSearch(String strLabelValueAllSearch)
Set the label value all search
|
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 |
setMultipleSearchFields(boolean multipleSearchFields)
set true if the entry is display with Multiple search field
|
void |
setNumberColumn(int nNumberColumn) |
void |
setNumberRow(int nNumberRow) |
void |
setParent(IEntry parent)
set parent entry if the entry is insert in a group
|
void |
setPosition(int position)
set position entry
|
void |
setRequestSQL(String strRequestSQL)
set request SQL
|
void |
setRoleAssociated(boolean bRoleAssociated)
set true if a role can be associated with a item
|
void |
setShownInAdvancedSearch(boolean shown)
set true if the field must be shown advanced search
|
void |
setShownInCompleteness(boolean shown)
set true if the field must be shown record completeness
|
void |
setShownInExport(boolean shown)
set true if the field must be shown in data export
|
void |
setShownInHistory(boolean shown)
set true if the field must be shown in history page
|
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(String title)
set title entry
|
void |
setWorkgroupAssociated(boolean bWorkGroupAssociated)
set true if a workgroup can be associated with a item
|
public static final String TAG_ENTRY
public static final String ATTRIBUTE_ENTRY_ID
public static final String TAG_TITLE
public static final String ATTRIBUTE_TITLE
public static final String ATTRIBUTE_ENTRY_ID_TYPE
public static final String TAG_LIST_ENTRY
public static final String ATTRIBUTE_SHOWXY
public static final String ATTRIBUTE_IS_SORTABLE
protected static final String PARAMETER_TITLE
protected static final String PARAMETER_HELP_MESSAGE
protected static final String PARAMETER_HELP_MESSAGE_SEARCH
protected static final String PARAMETER_COMMENT
protected static final String PARAMETER_MANDATORY
protected static final String PARAMETER_INDEXED
protected static final String PARAMETER_INDEXED_AS_TITLE
protected static final String PARAMETER_INDEXED_AS_SUMMARY
protected static final String PARAMETER_MULTIPLE_SEARCH_FIELDS
protected static final String PARAMETER_SHOWN_IN_ADVANCED_SEARCH
protected static final String PARAMETER_SHOWN_IN_RESULT_LIST
protected static final String PARAMETER_SHOWN_IN_RESULT_RECORD
protected static final String PARAMETER_SHOWN_IN_HISTORY
protected static final String PARAMETER_AUTOCOMPLETE
protected static final String PARAMETER_FIELD_IN_LINE
protected static final String PARAMETER_HEIGHT
protected static final String PARAMETER_WIDTH
protected static final String PARAMETER_DISPLAY_HEIGHT
protected static final String PARAMETER_DISPLAY_WIDTH
protected static final String PARAMETER_VALUE
protected static final String PARAMETER_MAX_SIZE_ENTER
protected static final String PARAMETER_ID_DIRECTORY_RECORD
protected static final String PARAMETER_UPDATE_ENTRY
protected static final String PARAMETER_WORKGROUP_ASSOCIATED
protected static final String PARAMETER_ROLE_ASSOCIATED
protected static final String PARAMETER_SEARCH_ACTION
protected static final String PARAMETER_DATE_BEGIN
protected static final String PARAMETER_DATE_END
protected static final String PARAMETER_DIRECTORY_ASSOCIATE
protected static final String PARAMETER_ENTRY_ASSOCIATE
protected static final String PARAMETER_REQUEST_SQL
protected static final String PARAMETER_IS_ADD_VALUE_SEARCH_ALL
protected static final String PARAMETER_LABEL_VALUE_SEARCH_ALL
protected static final String PARAMETER_SHOWN_IN_EXPORT
protected static final String PARAMETER_SHOWN_IN_COMPLETENESS
protected static final String PARAMETER_SHOW_ALL_INFO
protected static final String PARAMETER_NUMBER_ROWS
protected static final String PARAMETER_NUMBER_COLUMNS
protected static final String MESSAGE_MANDATORY_FIELD
protected static final String MESSAGE_NUMERIC_FIELD
protected static final String MESSAGE_BLOBSTORE_CLIENT_SERVICE_UNAVAILABLE
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_HELP_MESSAGE_SEARCH
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_WIDTH_DISPLAY
protected static final String FIELD_HEIGHT_DISPLAY
protected static final String FIELD_MAX_SIZE_ENTER
protected static final String FIELD_ENTRY_ASSOCIATE
protected static final String FIELD_REQUEST_SQL
protected static final String FIELD_LABEL_ALL_SEARCH
protected static final String FIELD_NUMBER_ROWS
protected static final String FIELD_NUMBER_COLUMNS
protected static final String JSP_DOWNLOAD_FILE
protected static final String MARK_ENTRY
protected static final String MARK_LOCALE
protected static final String MARK_RECORD_FIELD
protected static final String MARK_DEFAULT_VALUES
protected static final String MARK_SHOW_ALL_INFO
protected static final String MARK_MYLUTECE_USER_INFOS_LIST
protected static final String MARK_MYLUTECE_USER_LOGIN
protected static final String PROPERTY_IMPORT_MULTIPLE_VALUE_DELIMITER
public int getIdEntry()
getIdEntry
in interface IEntry
public void setIdEntry(int idEntry)
setIdEntry
in interface IEntry
idEntry
- the id of the entrypublic Directory getDirectory()
getDirectory
in interface IEntry
public void setDirectory(Directory directory)
setDirectory
in interface IEntry
directory
- the directory associate to the entrypublic void setTitle(String title)
public String getHelpMessage()
getHelpMessage
in interface IEntry
public void setHelpMessage(String helpMessage)
setHelpMessage
in interface IEntry
helpMessage
- entry helpMessagepublic String getHelpMessageSearch()
getHelpMessageSearch
in interface IEntry
public void setHelpMessageSearch(String helpMessage)
setHelpMessageSearch
in interface IEntry
helpMessage
- the entry help message for searchpublic String getComment()
getComment
in interface IEntry
public void setComment(String comment)
setComment
in interface IEntry
comment
- entry commentpublic boolean isMandatory()
isMandatory
in interface IEntry
public void setMandatory(boolean mandatory)
setMandatory
in interface IEntry
mandatory
- true if the question is mandatorypublic boolean isFieldInLine()
isFieldInLine
in interface IEntry
public void setFieldInLine(boolean fieldInLine)
setFieldInLine
in interface IEntry
fieldInLine
- true if the field associate must be display in linepublic boolean isShownInAdvancedSearch()
isShownInAdvancedSearch
in interface IEntry
public void setShownInAdvancedSearch(boolean shown)
setShownInAdvancedSearch
in interface IEntry
shown
- true if the entry must be shown in advanced searchpublic boolean isShownInResultList()
isShownInResultList
in interface IEntry
public void setShownInResultList(boolean shown)
setShownInResultList
in interface IEntry
shown
- true if the entry must be shown in result list pagepublic boolean isShownInResultRecord()
isShownInResultRecord
in interface IEntry
public void setShownInResultRecord(boolean shown)
setShownInResultRecord
in interface IEntry
shown
- true if the entry must be shown in result record pagepublic boolean isShownInHistory()
isShownInHistory
in interface IEntry
public void setShownInHistory(boolean shown)
setShownInHistory
in interface IEntry
shown
- true if the entry must be shown in history pagepublic boolean isShownInExport()
isShownInExport
in interface IEntry
public void setShownInExport(boolean shown)
setShownInExport
in interface IEntry
shown
- true if the entry must be shown in data exportpublic boolean isShownInCompleteness()
isShownInCompleteness
in interface IEntry
public void setShownInCompleteness(boolean shown)
setShownInCompleteness
in interface IEntry
shown
- true if the entry must be shown in record completenesspublic boolean isIndexed()
public void setIndexed(boolean indexed)
setIndexed
in interface IEntry
indexed
- true if the field must be indexedpublic int getPosition()
getPosition
in interface IEntry
public void setPosition(int position)
setPosition
in interface IEntry
position
- position entrypublic EntryType getEntryType()
getEntryType
in interface IEntry
public void setEntryType(EntryType entryType)
setEntryType
in interface IEntry
entryType
- the type of the entrypublic void setFields(List<Field> fields)
public IEntry getParent()
public void setParent(IEntry parent)
public List<IEntry> getChildren()
getChildren
in interface IEntry
public void setChildren(List<IEntry> children)
setChildren
in interface IEntry
children
- the list of entrypublic boolean isLastInTheList()
isLastInTheList
in interface IEntry
public void setLastInTheList(boolean lastInTheList)
setLastInTheList
in interface IEntry
lastInTheList
- true if the entry is the last entry of a group or the list of entrypublic boolean isFirstInTheList()
isFirstInTheList
in interface IEntry
public void setFirstInTheList(boolean firstInTheList)
setFirstInTheList
in interface IEntry
firstInTheList
- true if the entry is the last entry of a group or the list of entrypublic int getDisplayWidth()
getDisplayWidth
in interface IEntry
public void setDisplayWidth(int width)
setDisplayWidth
in interface IEntry
width
- width of the entrypublic int getDisplayHeight()
getDisplayHeight
in interface IEntry
public void setDisplayHeight(int height)
setDisplayHeight
in interface IEntry
height
- the height of the entrypublic boolean isRoleAssociated()
isRoleAssociated
in interface IEntry
public void setRoleAssociated(boolean bRoleAssociated)
setRoleAssociated
in interface IEntry
bRoleAssociated
- true if a role can be associated with a itempublic boolean isWorkgroupAssociated()
isWorkgroupAssociated
in interface IEntry
public void setWorkgroupAssociated(boolean bWorkGroupAssociated)
setWorkgroupAssociated
in interface IEntry
bWorkGroupAssociated
- true if a workgroup can be associated with a itempublic boolean isMultipleSearchFields()
isMultipleSearchFields
in interface IEntry
public void setMultipleSearchFields(boolean multipleSearchFields)
setMultipleSearchFields
in interface IEntry
multipleSearchFields
- true if the entry is display with Multiple search fieldpublic int getEntryAssociate()
getEntryAssociate
in interface IEntry
public void setEntryAssociate(int idEntryAssociate)
setEntryAssociate
in interface IEntry
idEntryAssociate
- id entrypublic String getRequestSQL()
getRequestSQL
in interface IEntry
public void setRequestSQL(String strRequestSQL)
setRequestSQL
in interface IEntry
strRequestSQL
- request SQLpublic boolean isAddValueAllSearch()
isAddValueAllSearch
in interface IEntry
public void setAddValueAllSearch(boolean bAddValueAllSearch)
setAddValueAllSearch
in interface IEntry
bAddValueAllSearch
- The AddValueAllSearch booleanpublic boolean isAutocompleteEntry()
isAutocompleteEntry
in interface IEntry
public void setAutocompleteEntry(boolean bIsAutocompleEntry)
setAutocompleteEntry
in interface IEntry
public String getLabelValueAllSearch()
getLabelValueAllSearch
in interface IEntry
public void setLabelValueAllSearch(String strLabelValueAllSearch)
setLabelValueAllSearch
in interface IEntry
strLabelValueAllSearch
- The label value all searchpublic String getTemplateHtmlFormEntry(boolean isDisplayFront)
isDisplayFront
- true if display for front office or false if display for back officepublic String getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
isDisplayFront
- true if display for front office or false if display for back officepublic String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
isDisplayFront
- true if display for front office or false if display for back officepublic String getEntryData(javax.servlet.http.HttpServletRequest request, Locale locale)
getEntryData
in interface IEntry
request
- HttpRequestlocale
- the localepublic void getRecordFieldData(Record record, javax.servlet.http.HttpServletRequest request, boolean bTestDirectoryError, boolean bAddNewValue, List<RecordField> listRecordField, Locale locale) throws DirectoryErrorException
getRecordFieldData
in interface IEntry
record
- the record associated to the record fieldrequest
- HttpRequestbTestDirectoryError
- true if the value contains in the request must be testedbAddNewValue
- true if add new valuelistRecordField
- the list of record field associate to the recordlocale
- the localeDirectoryErrorException
- If an error occurspublic void getImportRecordFieldData(Record record, String strImportValue, boolean bTestDirectoryError, List<RecordField> listRecordField, Locale locale) throws DirectoryErrorException
getImportRecordFieldData
in interface IEntry
record
- the record associated to the record fieldstrImportValue
- 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 localeDirectoryErrorException
- If an error occurspublic void getRecordFieldData(Record record, List<String> lstValue, boolean bTestDirectoryError, boolean bAddNewValue, List<RecordField> listRecordField, Locale locale) throws DirectoryErrorException
getRecordFieldData
in interface IEntry
record
- the record associated to the record fieldlstValue
- the list which contains the string value of the record fieldbTestDirectoryError
- true if the value contains in the request must be testedbAddNewValue
- true if add new valuelistRecordField
- the list of record field associate to the recordlocale
- the localeDirectoryErrorException
- If an error occurspublic String getTemplateCreate()
getTemplateCreate
in interface IEntry
public String getTemplateModify()
getTemplateModify
in interface IEntry
public fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex)
getPaginator
in interface IEntry
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 indexpublic fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getReferenceListRegularExpression
in interface IEntry
entry
- the entryplugin
- the pluginpublic String getHtmlFormEntry(Locale locale, boolean isDisplayFront)
getHtmlFormEntry
in interface IEntry
locale
- the localeisDisplayFront
- true if the template front or false if the template backpublic String getHtmlFormEntry(Locale locale, List<RecordField> defaultValues, boolean isDisplayFront)
getHtmlFormEntry
in interface IEntry
locale
- the localedefaultValues
- the list of record field associate to the entryisDisplayFront
- true if the template front or false if the template backpublic String getHtmlFormEntryPopup(Locale locale, List<RecordField> defaultValues, boolean isDisplayFront)
getHtmlFormEntryPopup
in interface IEntry
public String getHtmlListEntry(Locale locale, List<RecordField> defaultValues, boolean isDisplayFront)
getHtmlListEntry
in interface IEntry
public String getHtmlFormSearchEntry(Locale locale, boolean isDisplayFront)
getHtmlFormSearchEntry
in interface IEntry
locale
- the localeisDisplayFront
- true if the template front or false if the template backpublic String getHtmlFormSearchEntry(Locale locale, List<RecordField> defaultValues, boolean isDisplayFront)
getHtmlFormSearchEntry
in interface IEntry
locale
- the localedefaultValues
- the list of record field associate to the entryisDisplayFront
- true if the template front or false if the template backpublic String getHtmlRecordFieldValue(Locale locale, RecordField recordField, boolean isDisplayFront)
getHtmlRecordFieldValue
in interface IEntry
locale
- the localerecordField
- the record field associate to the entryisDisplayFront
- true if the template front or false if the template backpublic String convertRecordFieldValueToString(RecordField recordField, Locale locale, boolean bDisplayFront, boolean bExportDirectory)
convertRecordFieldValueToString
in interface IEntry
recordField
- the recordFieldlocale
- the localebDisplayFront
- true if display front or false if display backbExportDirectory
- true if display exportpublic String convertRecordFieldTitleToString(RecordField recordField, Locale locale, boolean bDisplayFront)
convertRecordFieldTitleToString
in interface IEntry
recordField
- the recordFieldlocale
- the localebDisplayFront
- true if display front or false if display backpublic void addSearchCriteria(HashMap<String,Object> mapSearchItem, RecordField recordField)
addSearchCriteria
in interface IEntry
mapSearchItem
- Search maprecordField
- the record fieldpublic void getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale, StringBuffer strXml)
public void getImportRecordFieldData(Record record, byte[] decodedBytes, String nomFile, boolean b, List<RecordField> listRecordField, Locale locale) throws DirectoryErrorException
getImportRecordFieldData
in interface IEntry
record
- The recorddecodedBytes
- decoded bytesnomFile
- name of fileb
- flaglistRecordField
- list of record fieldslocale
- the localeDirectoryErrorException
- directory error exceptionpublic void setMapProvider(IMapProvider mapProvider)
setMapProvider
in interface IEntry
mapProvider
- the map providerpublic IMapProvider getMapProvider()
getMapProvider
in interface IEntry
public boolean isSortable()
isSortable
in interface IEntry
public fr.paris.lutece.portal.web.util.LocalizedPaginator getPaginator(int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex, Locale locale)
getPaginator
in interface IEntry
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 indexlocale
- Localepublic String getSQLJoin()
getSQLJoin
in interface IEntry
" JOIN some_table ON col1=col2 "
)IEntry.isSortable()
public String getSQLOrderBy()
getSQLOrderBy
in interface IEntry
" ORDER BY some_column "
)IEntry.isSortable()
public List<Object> getSQLParametersValues()
IEntry.getSQLJoin()
and IEntry.getSQLOrderBy()
to add parameters valuesgetSQLParametersValues
in interface IEntry
public boolean isIndexedAsTitle()
isIndexedAsTitle
in interface IEntry
public void setIndexedAsTitle(boolean indexedAsTitle)
setIndexedAsTitle
in interface IEntry
indexedAsTitle
- true if the field is (part of) the title of the document in the global indexpublic boolean isIndexedAsSummary()
isIndexedAsSummary
in interface IEntry
public void setIndexedAsSummary(boolean indexedAsSummary)
setIndexedAsSummary
in interface IEntry
indexedAsSummary
- true if the field is (part of) the summary of the document in the global indexpublic void canUploadFiles(List<org.apache.commons.fileupload.FileItem> listUploadedFileItems, List<org.apache.commons.fileupload.FileItem> listFileItemsToUpload, Locale locale) throws DirectoryErrorException
canUploadFiles
in interface IEntry
listUploadedFileItems
- the list of uploaded fileslistFileItemsToUpload
- the list of files to uploadlocale
- the localeDirectoryErrorException
- exception if there is an errorpublic boolean isAnonymizable()
isAnonymizable
in interface IEntry
public boolean getAnonymize()
getAnonymize
in interface IEntry
public void setAnonymize(boolean bAnonymize)
setAnonymize
in interface IEntry
bAnonymize
- True if this entry should be anonymized when a record is anonymized, false otherwisepublic int getNumberRow()
getNumberRow
in interface IEntry
public void setNumberRow(int nNumberRow)
setNumberRow
in interface IEntry
nNumberRow
- the _nNumberRow to setpublic int getNumberColumn()
getNumberColumn
in interface IEntry
public void setNumberColumn(int nNumberColumn)
setNumberColumn
in interface IEntry
nNumberColumn
- the _nNumberColumn to setCopyright © 2020 City of Paris. All rights reserved.