|
||||||||||
| 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 | |
|---|---|
protected static java.lang.String |
FIELD_COMMENT
|
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_MANDATORY
|
protected static java.lang.String |
FIELD_MAX_SIZE_ENTER
|
protected static java.lang.String |
FIELD_PRESENTATION
|
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_RECORD_FIELD
|
protected static java.lang.String |
MESSAGE_MANDATORY_FIELD
|
protected static java.lang.String |
MESSAGE_NUMERIC_FIELD
|
protected static java.lang.String |
PARAMETER_COMMENT
|
protected static java.lang.String |
PARAMETER_DISPLAY_HEIGHT
|
protected static java.lang.String |
PARAMETER_DISPLAY_WIDTH
|
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_MANDATORY
|
protected static java.lang.String |
PARAMETER_MAX_SIZE_ENTER
|
protected static java.lang.String |
PARAMETER_SHOWN_IN_ADVANCED_SEARCH
|
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 |
PROPERTY_IMPORT_MULTIPLE_VALUE_DELIMITER
|
| Constructor Summary | |
|---|---|
Entry()
|
|
| 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> defaultValues)
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> defaultValues)
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> lstValue,
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 |
getTemplateHtmlFormEntry()
Get the url of the template wich contains the Html code used in entry form |
java.lang.String |
getTemplateHtmlFormSearchEntry()
Get the url of the template wich contains the Html code used in search form |
java.lang.String |
getTemplateHtmlRecordFieldValue()
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()
|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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_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_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 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 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 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 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 java.lang.String getTemplateHtmlFormEntry()
public java.lang.String getTemplateHtmlFormSearchEntry()
public java.lang.String getTemplateHtmlRecordFieldValue()
public java.lang.String getEntryData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
IEntry
getEntryData in interface IEntryrequest - HttpRequestlocale - the locale
public DirectoryError getRecordFieldData(javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
IEntry
getRecordFieldData in interface IEntryrequest - HttpRequestbTestDirectoryError - true if the value contains in the request must be testedlistRecordField - the list of record field associate to the recordlocale - the locale
public DirectoryError getImportRecordFieldData(java.lang.String strImportValue,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
IEntry
getImportRecordFieldData in interface IEntrystrImportValue - 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
public DirectoryError getRecordFieldData(java.util.List<java.lang.String> lstValue,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
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
public 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)
IEntry
getHtmlFormEntry in interface IEntrylocale - the locale
public java.lang.String getHtmlFormEntry(java.util.Locale locale,
java.util.List<RecordField> defaultValues)
IEntry
getHtmlFormEntry in interface IEntrylocale - the localedefaultValues - the list of record field associate to the entry
public java.lang.String getHtmlFormSearchEntry(java.util.Locale locale)
IEntry
getHtmlFormSearchEntry in interface IEntrylocale - the locale
public java.lang.String getHtmlFormSearchEntry(java.util.Locale locale,
java.util.List<RecordField> defaultValues)
IEntry
getHtmlFormSearchEntry in interface IEntrylocale - the localedefaultValues - the list of record field associate to the entry
public java.lang.String getHtmlRecordFieldValue(java.util.Locale locale,
RecordField recordField)
IEntry
getHtmlRecordFieldValue in interface IEntrylocale - the localerecordField - the record field associate to the entry
public java.lang.String convertRecordFieldValueToString(RecordField recordField,
java.util.Locale locale)
IEntry
convertRecordFieldValueToString in interface IEntryrecordField - the recordFieldlocale - the locale
public java.util.HashMap<java.lang.String,java.lang.Object> getMapSearchItem(RecordField recordField)
IEntry
getMapSearchItem in interface IEntryrecordField - the record field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||