|
||||||||||
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
fr.paris.lutece.plugins.directory.business.EntryTypeDate
public class EntryTypeDate
class EntryTypeDate
Field Summary |
---|
Constructor Summary | |
---|---|
EntryTypeDate()
|
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 bDisplayExport)
convert the value contains in the record field to string |
java.lang.String |
getEntryData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
Get the request data |
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 |
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 |
boolean |
isSortable()
Check if the entry is sortable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntryTypeDate()
Method Detail |
---|
public java.lang.String getTemplateHtmlFormEntry(boolean isDisplayFront)
Entry
getTemplateHtmlFormEntry
in class Entry
public java.lang.String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
Entry
getTemplateHtmlRecordFieldValue
in class Entry
public java.lang.String getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
Entry
getTemplateHtmlFormSearchEntry
in class Entry
public java.lang.String getEntryData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
IEntry
getEntryData
in interface IEntry
getEntryData
in class Entry
request
- HttpRequestlocale
- the locale
public java.lang.String getTemplateCreate()
IEntry
getTemplateCreate
in interface IEntry
getTemplateCreate
in class Entry
public java.lang.String getTemplateModify()
IEntry
getTemplateModify
in interface IEntry
getTemplateModify
in class Entry
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 IEntry
getRecordFieldData
in class Entry
record
- 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 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 IEntry
getRecordFieldData
in class Entry
lstValue
- 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
DirectoryErrorException
public java.lang.String convertRecordFieldValueToString(RecordField recordField, java.util.Locale locale, boolean bDisplayFront, boolean bDisplayExport)
IEntry
convertRecordFieldValueToString
in interface IEntry
convertRecordFieldValueToString
in class Entry
recordField
- the recordFieldlocale
- the localebDisplayFront
- true if display front or false if display backbDisplayExport
- true if display export
public java.lang.String convertRecordFieldTitleToString(RecordField recordField, java.util.Locale locale, boolean bDisplayFront)
IEntry
convertRecordFieldTitleToString
in interface IEntry
convertRecordFieldTitleToString
in class Entry
recordField
- 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 IEntry
addSearchCriteria
in class Entry
mapSearchItem
- Search maprecordField
- the record fieldpublic boolean isSortable()
isSortable
in interface IEntry
isSortable
in class Entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |