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 IEntrypublic void setIdEntry(int idEntry)
setIdEntry in interface IEntryidEntry - the id of the entrypublic Directory getDirectory()
getDirectory in interface IEntrypublic void setDirectory(Directory directory)
setDirectory in interface IEntrydirectory - the directory associate to the entrypublic void setTitle(String title)
public String getHelpMessage()
getHelpMessage in interface IEntrypublic void setHelpMessage(String helpMessage)
setHelpMessage in interface IEntryhelpMessage - entry helpMessagepublic String getHelpMessageSearch()
getHelpMessageSearch in interface IEntrypublic void setHelpMessageSearch(String helpMessage)
setHelpMessageSearch in interface IEntryhelpMessage - the entry help message for searchpublic String getComment()
getComment in interface IEntrypublic void setComment(String comment)
setComment in interface IEntrycomment - entry commentpublic boolean isMandatory()
isMandatory in interface IEntrypublic void setMandatory(boolean mandatory)
setMandatory in interface IEntrymandatory - true if the question is mandatorypublic boolean isFieldInLine()
isFieldInLine in interface IEntrypublic void setFieldInLine(boolean fieldInLine)
setFieldInLine in interface IEntryfieldInLine - true if the field associate must be display in linepublic boolean isShownInAdvancedSearch()
isShownInAdvancedSearch in interface IEntrypublic void setShownInAdvancedSearch(boolean shown)
setShownInAdvancedSearch in interface IEntryshown - true if the entry must be shown in advanced searchpublic boolean isShownInResultList()
isShownInResultList in interface IEntrypublic void setShownInResultList(boolean shown)
setShownInResultList in interface IEntryshown - true if the entry must be shown in result list pagepublic boolean isShownInResultRecord()
isShownInResultRecord in interface IEntrypublic void setShownInResultRecord(boolean shown)
setShownInResultRecord in interface IEntryshown - true if the entry must be shown in result record pagepublic boolean isShownInHistory()
isShownInHistory in interface IEntrypublic void setShownInHistory(boolean shown)
setShownInHistory in interface IEntryshown - true if the entry must be shown in history pagepublic boolean isShownInExport()
isShownInExport in interface IEntrypublic void setShownInExport(boolean shown)
setShownInExport in interface IEntryshown - true if the entry must be shown in data exportpublic boolean isShownInCompleteness()
isShownInCompleteness in interface IEntrypublic void setShownInCompleteness(boolean shown)
setShownInCompleteness in interface IEntryshown - true if the entry must be shown in record completenesspublic boolean isIndexed()
public void setIndexed(boolean indexed)
setIndexed in interface IEntryindexed - true if the field must be indexedpublic int getPosition()
getPosition in interface IEntrypublic void setPosition(int position)
setPosition in interface IEntryposition - position entrypublic EntryType getEntryType()
getEntryType in interface IEntrypublic void setEntryType(EntryType entryType)
setEntryType in interface IEntryentryType - 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 IEntrypublic void setChildren(List<IEntry> children)
setChildren in interface IEntrychildren - the list of entrypublic 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 int getDisplayWidth()
getDisplayWidth in interface IEntrypublic void setDisplayWidth(int width)
setDisplayWidth in interface IEntrywidth - width of the entrypublic int getDisplayHeight()
getDisplayHeight in interface IEntrypublic void setDisplayHeight(int height)
setDisplayHeight in interface IEntryheight - the height of the entrypublic boolean isRoleAssociated()
isRoleAssociated in interface IEntrypublic void setRoleAssociated(boolean bRoleAssociated)
setRoleAssociated in interface IEntrybRoleAssociated - true if a role can be associated with a itempublic boolean isWorkgroupAssociated()
isWorkgroupAssociated in interface IEntrypublic void setWorkgroupAssociated(boolean bWorkGroupAssociated)
setWorkgroupAssociated in interface IEntrybWorkGroupAssociated - true if a workgroup can be associated with a itempublic boolean isMultipleSearchFields()
isMultipleSearchFields in interface IEntrypublic void setMultipleSearchFields(boolean multipleSearchFields)
setMultipleSearchFields in interface IEntrymultipleSearchFields - true if the entry is display with Multiple search fieldpublic int getEntryAssociate()
getEntryAssociate in interface IEntrypublic void setEntryAssociate(int idEntryAssociate)
setEntryAssociate in interface IEntryidEntryAssociate - id entrypublic String getRequestSQL()
getRequestSQL in interface IEntrypublic void setRequestSQL(String strRequestSQL)
setRequestSQL in interface IEntrystrRequestSQL - request SQLpublic boolean isAddValueAllSearch()
isAddValueAllSearch in interface IEntrypublic void setAddValueAllSearch(boolean bAddValueAllSearch)
setAddValueAllSearch in interface IEntrybAddValueAllSearch - The AddValueAllSearch booleanpublic boolean isAutocompleteEntry()
isAutocompleteEntry in interface IEntrypublic void setAutocompleteEntry(boolean bIsAutocompleEntry)
setAutocompleteEntry in interface IEntrypublic String getLabelValueAllSearch()
getLabelValueAllSearch in interface IEntrypublic void setLabelValueAllSearch(String strLabelValueAllSearch)
setLabelValueAllSearch in interface IEntrystrLabelValueAllSearch - 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 IEntryrequest - 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 IEntryrecord - 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 IEntryrecord - 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 IEntryrecord - 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 IEntrypublic String getTemplateModify()
getTemplateModify in interface IEntrypublic fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
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 indexpublic fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getReferenceListRegularExpression in interface IEntryentry - the entryplugin - the pluginpublic String getHtmlFormEntry(Locale locale, boolean isDisplayFront)
getHtmlFormEntry in interface IEntrylocale - 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 IEntrylocale - 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 IEntrypublic String getHtmlListEntry(Locale locale, List<RecordField> defaultValues, boolean isDisplayFront)
getHtmlListEntry in interface IEntrypublic String getHtmlFormSearchEntry(Locale locale, boolean isDisplayFront)
getHtmlFormSearchEntry in interface IEntrylocale - 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 IEntrylocale - 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 IEntrylocale - 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 IEntryrecordField - 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 IEntryrecordField - the recordFieldlocale - the localebDisplayFront - true if display front or false if display backpublic void addSearchCriteria(HashMap<String,Object> mapSearchItem, RecordField recordField)
addSearchCriteria in interface IEntrymapSearchItem - 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 IEntryrecord - The recorddecodedBytes - decoded bytesnomFile - name of fileb - flaglistRecordField - list of record fieldslocale - the localeDirectoryErrorException - directory error exceptionpublic void setMapProvider(IMapProvider mapProvider)
setMapProvider in interface IEntrymapProvider - the map providerpublic IMapProvider getMapProvider()
getMapProvider in interface IEntrypublic boolean isSortable()
isSortable in interface IEntrypublic fr.paris.lutece.portal.web.util.LocalizedPaginator getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex,
Locale locale)
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 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 IEntrypublic boolean isIndexedAsTitle()
isIndexedAsTitle in interface IEntrypublic void setIndexedAsTitle(boolean indexedAsTitle)
setIndexedAsTitle in interface IEntryindexedAsTitle - true if the field is (part of) the title of the document in the global indexpublic boolean isIndexedAsSummary()
isIndexedAsSummary in interface IEntrypublic void setIndexedAsSummary(boolean indexedAsSummary)
setIndexedAsSummary in interface IEntryindexedAsSummary - 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 IEntrylistUploadedFileItems - the list of uploaded fileslistFileItemsToUpload - the list of files to uploadlocale - the localeDirectoryErrorException - exception if there is an errorpublic boolean isAnonymizable()
isAnonymizable in interface IEntrypublic boolean getAnonymize()
getAnonymize in interface IEntrypublic void setAnonymize(boolean bAnonymize)
setAnonymize in interface IEntrybAnonymize - True if this entry should be anonymized when a record is anonymized, false otherwisepublic int getNumberRow()
getNumberRow in interface IEntrypublic void setNumberRow(int nNumberRow)
setNumberRow in interface IEntrynNumberRow - the _nNumberRow to setpublic int getNumberColumn()
getNumberColumn in interface IEntrypublic void setNumberColumn(int nNumberColumn)
setNumberColumn in interface IEntrynNumberColumn - the _nNumberColumn to setCopyright © 2020 City of Paris. All rights reserved.