|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.business.Entry
public class Entry
class Entry
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIBUTE_ENTRY_ID
|
static java.lang.String |
ATTRIBUTE_ENTRY_ID_TYPE
|
static java.lang.String |
ATTRIBUTE_SHOWXY
|
static java.lang.String |
ATTRIBUTE_TITLE
|
protected static java.lang.String |
FIELD_COMMENT
|
protected static java.lang.String |
FIELD_ENTRY_ASSOCIATE
|
protected static java.lang.String |
FIELD_HEIGHT
|
protected static java.lang.String |
FIELD_HEIGHT_DISPLAY
|
protected static java.lang.String |
FIELD_HELP_MESSAGE
|
protected static java.lang.String |
FIELD_HELP_MESSAGE_SEARCH
|
protected static java.lang.String |
FIELD_INSERT_GROUP
|
protected static java.lang.String |
FIELD_LABEL_ALL_SEARCH
|
protected static java.lang.String |
FIELD_MANDATORY
|
protected static java.lang.String |
FIELD_MAX_SIZE_ENTER
|
protected static java.lang.String |
FIELD_PRESENTATION
|
protected static java.lang.String |
FIELD_REQUEST_SQL
|
protected static java.lang.String |
FIELD_TITLE
|
protected static java.lang.String |
FIELD_VALUE
|
protected static java.lang.String |
FIELD_WIDTH
|
protected static java.lang.String |
FIELD_WIDTH_DISPLAY
|
protected static java.lang.String |
JSP_DOWNLOAD_FILE
|
protected static java.lang.String |
MARK_DEFAULT_VALUES
|
protected static java.lang.String |
MARK_ENTRY
|
protected static java.lang.String |
MARK_LOCALE
|
protected static java.lang.String |
MARK_MYLUTECE_USER_INFOS_LIST
|
protected static java.lang.String |
MARK_MYLUTECE_USER_LOGIN
|
protected static java.lang.String |
MARK_RECORD_FIELD
|
protected static java.lang.String |
MARK_SHOW_ALL_INFO
|
protected static java.lang.String |
MESSAGE_MANDATORY_FIELD
|
protected static java.lang.String |
MESSAGE_NUMERIC_FIELD
|
protected static java.lang.String |
PARAMETER_AUTOCOMPLETE
|
protected static java.lang.String |
PARAMETER_COMMENT
|
protected static java.lang.String |
PARAMETER_DATE_BEGIN
|
protected static java.lang.String |
PARAMETER_DATE_END
|
protected static java.lang.String |
PARAMETER_DIRECTORY_ASSOCIATE
|
protected static java.lang.String |
PARAMETER_DISPLAY_HEIGHT
|
protected static java.lang.String |
PARAMETER_DISPLAY_WIDTH
|
protected static java.lang.String |
PARAMETER_ENTRY_ASSOCIATE
|
protected static java.lang.String |
PARAMETER_FIELD_IN_LINE
|
protected static java.lang.String |
PARAMETER_HEIGHT
|
protected static java.lang.String |
PARAMETER_HELP_MESSAGE
|
protected static java.lang.String |
PARAMETER_HELP_MESSAGE_SEARCH
|
protected static java.lang.String |
PARAMETER_ID_DIRECTORY_RECORD
|
protected static java.lang.String |
PARAMETER_INDEXED
|
protected static java.lang.String |
PARAMETER_INDEXED_AS_SUMMARY
|
protected static java.lang.String |
PARAMETER_INDEXED_AS_TITLE
|
protected static java.lang.String |
PARAMETER_IS_ADD_VALUE_SEARCH_ALL
|
protected static java.lang.String |
PARAMETER_LABEL_VALUE_SEARCH_ALL
|
protected static java.lang.String |
PARAMETER_MANDATORY
|
protected static java.lang.String |
PARAMETER_MAX_SIZE_ENTER
|
protected static java.lang.String |
PARAMETER_MULTIPLE_SEARCH_FIELDS
|
protected static java.lang.String |
PARAMETER_REQUEST_SQL
|
protected static java.lang.String |
PARAMETER_ROLE_ASSOCIATED
|
protected static java.lang.String |
PARAMETER_SEARCH_ACTION
|
protected static java.lang.String |
PARAMETER_SHOW_ALL_INFO
|
protected static java.lang.String |
PARAMETER_SHOWN_IN_ADVANCED_SEARCH
|
protected static java.lang.String |
PARAMETER_SHOWN_IN_COMPLETENESS
|
protected static java.lang.String |
PARAMETER_SHOWN_IN_EXPORT
|
protected static java.lang.String |
PARAMETER_SHOWN_IN_HISTORY
|
protected static java.lang.String |
PARAMETER_SHOWN_IN_RESULT_LIST
|
protected static java.lang.String |
PARAMETER_SHOWN_IN_RESULT_RECORD
|
protected static java.lang.String |
PARAMETER_TITLE
|
protected static java.lang.String |
PARAMETER_UPDATE_ENTRY
|
protected static java.lang.String |
PARAMETER_VALUE
|
protected static java.lang.String |
PARAMETER_WIDTH
|
protected static java.lang.String |
PARAMETER_WORKGROUP_ASSOCIATED
|
protected static java.lang.String |
PROPERTY_IMPORT_MULTIPLE_VALUE_DELIMITER
|
static java.lang.String |
TAG_ENTRY
|
static java.lang.String |
TAG_LIST_ENTRY
|
static java.lang.String |
TAG_TITLE
|
| Constructor Summary | |
|---|---|
Entry()
|
|
| Method Summary | |
|---|---|
void |
addSearchCriteria(java.util.HashMap<java.lang.String,java.lang.Object> mapSearchItem,
RecordField recordField)
add in the search map the criteria |
java.lang.String |
convertRecordFieldTitleToString(RecordField recordField,
java.util.Locale locale,
boolean bDisplayFront)
convert the title contains in the record field to string |
java.lang.String |
convertRecordFieldValueToString(RecordField recordField,
java.util.Locale locale,
boolean bDisplayFront,
boolean bExportDirectory)
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()
|
int |
getEntryAssociate()
|
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,
boolean isDisplayFront)
Get Html code used in entry form |
java.lang.String |
getHtmlFormEntry(java.util.Locale locale,
java.util.List<RecordField> defaultValues,
boolean isDisplayFront)
Get Html code used in entry form |
java.lang.String |
getHtmlFormSearchEntry(java.util.Locale locale,
boolean isDisplayFront)
Get Html code used in search form |
java.lang.String |
getHtmlFormSearchEntry(java.util.Locale locale,
java.util.List<RecordField> defaultValues,
boolean isDisplayFront)
Get Html code used in search form |
java.lang.String |
getHtmlRecordFieldValue(java.util.Locale locale,
RecordField recordField,
boolean isDisplayFront)
Get the Html code used in display records |
int |
getIdEntry()
|
void |
getImportRecordFieldData(Record record,
byte[] decodedBytes,
java.lang.String nomFile,
boolean b,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
|
void |
getImportRecordFieldData(Record record,
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.lang.String |
getLabelValueAllSearch()
|
IMapProvider |
getMapProvider()
Gets the map provider |
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 |
fr.paris.lutece.portal.web.util.LocalizedPaginator |
getPaginator(int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex,
java.util.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,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
save in the list of record field the record field associate to the entry |
void |
getRecordFieldData(Record record,
java.util.List<java.lang.String> lstValue,
boolean bTestDirectoryError,
boolean bAddNewValue,
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 |
getRequestSQL()
|
java.lang.String |
getSQLJoin()
Provide default join on directory_record_field |
java.lang.String |
getSQLOrderBy()
Provides default order by on directory_record_field.record_field_value |
java.util.List<java.lang.Object> |
getSQLParametersValues()
Returns the entry id |
java.lang.String |
getTemplateCreate()
Get template create url |
java.lang.String |
getTemplateHtmlFormEntry(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in entry form |
java.lang.String |
getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in search form |
java.lang.String |
getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in display records |
java.lang.String |
getTemplateModify()
Get the template modify url |
java.lang.String |
getTitle()
|
void |
getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Locale locale,
java.lang.StringBuffer strXml)
add The Xml of the entry in the string buffer |
boolean |
isAddValueAllSearch()
|
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 request SQL |
void |
setAutocompleteEntry(boolean bIsAutocompleEntry)
set autocomplete entry type |
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 |
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(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 |
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(java.lang.String strLabelValueAllSearch)
Get the request data |
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 |
setParent(IEntry parent)
set parent entry if the entry is insert in a group |
void |
setPosition(int position)
set position entry |
void |
setRequestSQL(java.lang.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(java.lang.String title)
set title entry |
void |
setWorkgroupAssociated(boolean bWorkGroupAssociated)
set true if a workgroup can be associated with a item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG_ENTRY
public static final java.lang.String ATTRIBUTE_ENTRY_ID
public static final java.lang.String TAG_TITLE
public static final java.lang.String ATTRIBUTE_TITLE
public static final java.lang.String ATTRIBUTE_ENTRY_ID_TYPE
public static final java.lang.String TAG_LIST_ENTRY
public static final java.lang.String ATTRIBUTE_SHOWXY
protected static final java.lang.String PARAMETER_TITLE
protected static final java.lang.String PARAMETER_HELP_MESSAGE
protected static final java.lang.String PARAMETER_HELP_MESSAGE_SEARCH
protected static final java.lang.String PARAMETER_COMMENT
protected static final java.lang.String PARAMETER_MANDATORY
protected static final java.lang.String PARAMETER_INDEXED
protected static final java.lang.String PARAMETER_INDEXED_AS_TITLE
protected static final java.lang.String PARAMETER_INDEXED_AS_SUMMARY
protected static final java.lang.String PARAMETER_MULTIPLE_SEARCH_FIELDS
protected static final java.lang.String PARAMETER_SHOWN_IN_ADVANCED_SEARCH
protected static final java.lang.String PARAMETER_SHOWN_IN_RESULT_LIST
protected static final java.lang.String PARAMETER_SHOWN_IN_RESULT_RECORD
protected static final java.lang.String PARAMETER_SHOWN_IN_HISTORY
protected static final java.lang.String PARAMETER_AUTOCOMPLETE
protected static final java.lang.String PARAMETER_FIELD_IN_LINE
protected static final java.lang.String PARAMETER_HEIGHT
protected static final java.lang.String PARAMETER_WIDTH
protected static final java.lang.String PARAMETER_DISPLAY_HEIGHT
protected static final java.lang.String PARAMETER_DISPLAY_WIDTH
protected static final java.lang.String PARAMETER_VALUE
protected static final java.lang.String PARAMETER_MAX_SIZE_ENTER
protected static final java.lang.String PARAMETER_ID_DIRECTORY_RECORD
protected static final java.lang.String PARAMETER_UPDATE_ENTRY
protected static final java.lang.String PARAMETER_WORKGROUP_ASSOCIATED
protected static final java.lang.String PARAMETER_ROLE_ASSOCIATED
protected static final java.lang.String PARAMETER_SEARCH_ACTION
protected static final java.lang.String PARAMETER_DATE_BEGIN
protected static final java.lang.String PARAMETER_DATE_END
protected static final java.lang.String PARAMETER_DIRECTORY_ASSOCIATE
protected static final java.lang.String PARAMETER_ENTRY_ASSOCIATE
protected static final java.lang.String PARAMETER_REQUEST_SQL
protected static final java.lang.String PARAMETER_IS_ADD_VALUE_SEARCH_ALL
protected static final java.lang.String PARAMETER_LABEL_VALUE_SEARCH_ALL
protected static final java.lang.String PARAMETER_SHOWN_IN_EXPORT
protected static final java.lang.String PARAMETER_SHOWN_IN_COMPLETENESS
protected static final java.lang.String PARAMETER_SHOW_ALL_INFO
protected static final java.lang.String MESSAGE_MANDATORY_FIELD
protected static final java.lang.String MESSAGE_NUMERIC_FIELD
protected static final java.lang.String FIELD_TITLE
protected static final java.lang.String FIELD_INSERT_GROUP
protected static final java.lang.String FIELD_HELP_MESSAGE
protected static final java.lang.String FIELD_HELP_MESSAGE_SEARCH
protected static final java.lang.String FIELD_COMMENT
protected static final java.lang.String FIELD_VALUE
protected static final java.lang.String FIELD_PRESENTATION
protected static final java.lang.String FIELD_MANDATORY
protected static final java.lang.String FIELD_WIDTH
protected static final java.lang.String FIELD_HEIGHT
protected static final java.lang.String FIELD_WIDTH_DISPLAY
protected static final java.lang.String FIELD_HEIGHT_DISPLAY
protected static final java.lang.String FIELD_MAX_SIZE_ENTER
protected static final java.lang.String FIELD_ENTRY_ASSOCIATE
protected static final java.lang.String FIELD_REQUEST_SQL
protected static final java.lang.String FIELD_LABEL_ALL_SEARCH
protected static final java.lang.String JSP_DOWNLOAD_FILE
protected static final java.lang.String MARK_ENTRY
protected static final java.lang.String MARK_LOCALE
protected static final java.lang.String MARK_RECORD_FIELD
protected static final java.lang.String MARK_DEFAULT_VALUES
protected static final java.lang.String MARK_SHOW_ALL_INFO
protected static final java.lang.String MARK_MYLUTECE_USER_INFOS_LIST
protected static final java.lang.String MARK_MYLUTECE_USER_LOGIN
protected static final java.lang.String PROPERTY_IMPORT_MULTIPLE_VALUE_DELIMITER
| Constructor Detail |
|---|
public Entry()
| Method Detail |
|---|
public int getIdEntry()
getIdEntry in interface IEntrypublic void setIdEntry(int idEntry)
IEntry
setIdEntry in interface IEntryidEntry - the id of the entrypublic Directory getDirectory()
getDirectory in interface IEntrypublic void setDirectory(Directory directory)
IEntry
setDirectory in interface IEntrydirectory - the directory associate to the entrypublic java.lang.String getTitle()
getTitle in interface IEntrypublic void setTitle(java.lang.String title)
IEntry
setTitle in interface IEntrytitle - titlepublic java.lang.String getHelpMessage()
getHelpMessage in interface IEntrypublic void setHelpMessage(java.lang.String helpMessage)
IEntry
setHelpMessage in interface IEntryhelpMessage - entry helpMessagepublic java.lang.String getHelpMessageSearch()
getHelpMessageSearch in interface IEntrypublic void setHelpMessageSearch(java.lang.String helpMessage)
IEntry
setHelpMessageSearch in interface IEntryhelpMessage - the entry help message for searchpublic java.lang.String getComment()
getComment in interface IEntrypublic void setComment(java.lang.String comment)
IEntry
setComment in interface IEntrycomment - entry commentpublic boolean isMandatory()
isMandatory in interface IEntrypublic void setMandatory(boolean mandatory)
IEntry
setMandatory in interface IEntrymandatory - true if the question is mandatorypublic boolean isFieldInLine()
isFieldInLine in interface IEntrypublic void setFieldInLine(boolean fieldInLine)
IEntry
setFieldInLine in interface IEntryfieldInLine - true if the field associate must be display in linepublic boolean isShownInAdvancedSearch()
isShownInAdvancedSearch in interface IEntrypublic void setShownInAdvancedSearch(boolean shown)
IEntry
setShownInAdvancedSearch in interface IEntryshown - true if the entry must be shown in advanced searchpublic boolean isShownInResultList()
isShownInResultList in interface IEntrypublic void setShownInResultList(boolean shown)
IEntry
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)
IEntry
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)
IEntry
setShownInHistory in interface IEntryshown - true if the entry must be shown in history pagepublic boolean isShownInExport()
isShownInExport in interface IEntrypublic void setShownInExport(boolean shown)
IEntry
setShownInExport in interface IEntryshown - true if the entry must be shown in data exportpublic boolean isShownInCompleteness()
isShownInCompleteness in interface IEntrypublic void setShownInCompleteness(boolean shown)
IEntry
setShownInCompleteness in interface IEntryshown - true if the entry must be shown in record completenesspublic boolean isIndexed()
isIndexed in interface IEntrypublic void setIndexed(boolean indexed)
IEntry
setIndexed in interface IEntryindexed - true if the field must be indexedpublic int getPosition()
getPosition in interface IEntrypublic void setPosition(int position)
IEntry
setPosition in interface IEntryposition - position entrypublic EntryType getEntryType()
getEntryType in interface IEntrypublic void setEntryType(EntryType entryType)
IEntry
setEntryType in interface IEntryentryType - the type of the entrypublic java.util.List<Field> getFields()
getFields in interface IEntrypublic void setFields(java.util.List<Field> fields)
IEntry
setFields in interface IEntryfields - the list of fieldpublic IEntry getParent()
getParent in interface IEntrypublic void setParent(IEntry parent)
IEntry
setParent in interface IEntryparent - parent entrypublic java.util.List<IEntry> getChildren()
getChildren in interface IEntrypublic void setChildren(java.util.List<IEntry> children)
IEntry
setChildren in interface IEntrychildren - the list of entrypublic boolean isLastInTheList()
isLastInTheList in interface IEntrypublic void setLastInTheList(boolean lastInTheList)
IEntry
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)
IEntry
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)
IEntry
setDisplayWidth in interface IEntrywidth - width of the entrypublic int getDisplayHeight()
getDisplayHeight in interface IEntrypublic void setDisplayHeight(int height)
IEntry
setDisplayHeight in interface IEntryheight - the height of the entrypublic boolean isRoleAssociated()
isRoleAssociated in interface IEntrypublic void setRoleAssociated(boolean bRoleAssociated)
IEntry
setRoleAssociated in interface IEntrybRoleAssociated - true if a role can be associated with a itempublic boolean isWorkgroupAssociated()
isWorkgroupAssociated in interface IEntrypublic void setWorkgroupAssociated(boolean bWorkGroupAssociated)
IEntry
setWorkgroupAssociated in interface IEntrybWorkGroupAssociated - true if a workgroup can be associated with a itempublic boolean isMultipleSearchFields()
isMultipleSearchFields in interface IEntrypublic void setMultipleSearchFields(boolean multipleSearchFields)
IEntry
setMultipleSearchFields in interface IEntrymultipleSearchFields - true if the entry is display with Multiple search fieldpublic int getEntryAssociate()
getEntryAssociate in interface IEntrypublic void setEntryAssociate(int idEntryAssociate)
IEntry
setEntryAssociate in interface IEntryidEntryAssociate - id entrypublic java.lang.String getRequestSQL()
getRequestSQL in interface IEntrypublic void setRequestSQL(java.lang.String strRequestSQL)
IEntry
setRequestSQL in interface IEntrystrRequestSQL - request SQLpublic boolean isAddValueAllSearch()
isAddValueAllSearch in interface IEntrypublic void setAddValueAllSearch(boolean bAddValueAllSearch)
IEntry
setAddValueAllSearch in interface IEntrypublic boolean isAutocompleteEntry()
isAutocompleteEntry in interface IEntrypublic void setAutocompleteEntry(boolean bIsAutocompleEntry)
IEntry
setAutocompleteEntry in interface IEntrypublic java.lang.String getLabelValueAllSearch()
getLabelValueAllSearch in interface IEntrypublic void setLabelValueAllSearch(java.lang.String strLabelValueAllSearch)
IEntry
setLabelValueAllSearch in interface IEntrypublic java.lang.String getTemplateHtmlFormEntry(boolean isDisplayFront)
true - if display for front office or false if display for back office
public java.lang.String getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
true - if display for front office or false if display for back office
public java.lang.String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
true - if display for front office or false if display for back office
public java.lang.String getEntryData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
IEntry
getEntryData in interface IEntryrequest - HttpRequestlocale - the locale
public void getRecordFieldData(Record record,
javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
boolean bAddNewValue,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
throws DirectoryErrorException
IEntry
getRecordFieldData in interface IEntryrecord - the record associated to the record fieldrequest - HttpRequestbTestDirectoryError - true if the value contains in the request must be testedlistRecordField - the list of record field associate to the recordlocale - the locale
DirectoryErrorException
public void getImportRecordFieldData(Record record,
java.lang.String strImportValue,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
throws DirectoryErrorException
IEntry
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 locale
DirectoryErrorException
public void getRecordFieldData(Record record,
java.util.List<java.lang.String> lstValue,
boolean bTestDirectoryError,
boolean bAddNewValue,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
throws DirectoryErrorException
IEntry
getRecordFieldData in interface IEntrylstValue - 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
DirectoryErrorExceptionpublic java.lang.String getTemplateCreate()
IEntry
getTemplateCreate in interface IEntrypublic java.lang.String getTemplateModify()
IEntry
getTemplateModify in interface IEntry
public fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex)
IEntry
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 index
public fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IEntry
getReferenceListRegularExpression in interface IEntryentry - the entryplugin - the plugin
public java.lang.String getHtmlFormEntry(java.util.Locale locale,
boolean isDisplayFront)
IEntry
getHtmlFormEntry in interface IEntrylocale - the localeisDisplayFront - true if the template front or false if the template back
public java.lang.String getHtmlFormEntry(java.util.Locale locale,
java.util.List<RecordField> defaultValues,
boolean isDisplayFront)
IEntry
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 back
public java.lang.String getHtmlFormSearchEntry(java.util.Locale locale,
boolean isDisplayFront)
IEntry
getHtmlFormSearchEntry in interface IEntrylocale - the localeisDisplayFront - true if the template front or false if the template back
public java.lang.String getHtmlFormSearchEntry(java.util.Locale locale,
java.util.List<RecordField> defaultValues,
boolean isDisplayFront)
IEntry
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 back
public java.lang.String getHtmlRecordFieldValue(java.util.Locale locale,
RecordField recordField,
boolean isDisplayFront)
IEntry
getHtmlRecordFieldValue in interface IEntrylocale - the localerecordField - the record field associate to the entryisDisplayFront - true if the template front or false if the template back
public java.lang.String convertRecordFieldValueToString(RecordField recordField,
java.util.Locale locale,
boolean bDisplayFront,
boolean bExportDirectory)
IEntry
convertRecordFieldValueToString in interface IEntryrecordField - the recordFieldlocale - the localebDisplayFront - true if display front or false if display backbExportDirectory - true if display export
public java.lang.String convertRecordFieldTitleToString(RecordField recordField,
java.util.Locale locale,
boolean bDisplayFront)
IEntry
convertRecordFieldTitleToString in interface IEntryrecordField - the recordFieldlocale - the localebDisplayFront - true if display front or false if display back
public void addSearchCriteria(java.util.HashMap<java.lang.String,java.lang.Object> mapSearchItem,
RecordField recordField)
IEntry
addSearchCriteria in interface IEntrymapSearchItem - Search maprecordField - the record field
public void getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Locale locale,
java.lang.StringBuffer strXml)
IEntry
getXml in interface IEntryplugin - pluginlocale - loclaestrXml - the string buffer
public void getImportRecordFieldData(Record record,
byte[] decodedBytes,
java.lang.String nomFile,
boolean b,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
throws DirectoryErrorException
getImportRecordFieldData in interface IEntryDirectoryErrorExceptionpublic void setMapProvider(IMapProvider mapProvider)
setMapProvider in interface IEntrymapProvider - the map providerpublic IMapProvider getMapProvider()
getMapProvider in interface IEntrypublic boolean isSortable()
isSortable in interface IEntry
public fr.paris.lutece.portal.web.util.LocalizedPaginator getPaginator(int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex,
java.util.Locale locale)
IEntry
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 - Locale
public java.lang.String getSQLJoin()
getSQLJoin in interface IEntry" JOIN some_table ON col1=col2 ")IEntry.isSortable()public java.lang.String getSQLOrderBy()
getSQLOrderBy in interface IEntry" ORDER BY some_column ")IEntry.isSortable()public java.util.List<java.lang.Object> getSQLParametersValues()
getSQLParametersValues 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 index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||