|
||||||||||
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.EntryTypeNumbering
public class EntryTypeNumbering
class EntryTypeNumbering
Field Summary |
---|
Constructor Summary | |
---|---|
EntryTypeNumbering()
|
Method Summary | |
---|---|
String |
convertRecordFieldValueToString(RecordField recordField,
Locale locale,
boolean bDisplayFront,
boolean bExportDirectory)
convert the value contains in the record field to string |
String |
getEntryData(javax.servlet.http.HttpServletRequest request,
Locale locale)
Get the request data |
String |
getHtmlFormEntry(Locale locale,
boolean isDisplayFront)
Get Html code used in entry form |
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 |
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 |
String |
getSQLOrderBy()
Provides default order by on directory_record_field.record_field_value |
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 |
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 EntryTypeNumbering()
Method Detail |
---|
public String getTemplateHtmlFormEntry(boolean isDisplayFront)
Entry
getTemplateHtmlFormEntry
in class Entry
isDisplayFront
- true if display for front office or false if
display for back office
public String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
Entry
getTemplateHtmlRecordFieldValue
in class Entry
isDisplayFront
- true if display for front office or false if
display for back office
public String getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
Entry
getTemplateHtmlFormSearchEntry
in class Entry
isDisplayFront
- true if display for front office or false if
display for back office
public String getHtmlFormEntry(Locale locale, boolean isDisplayFront)
IEntry
getHtmlFormEntry
in interface IEntry
getHtmlFormEntry
in class Entry
locale
- the localeisDisplayFront
- true if the template front or false if the template back
public String getEntryData(javax.servlet.http.HttpServletRequest request, Locale locale)
IEntry
getEntryData
in interface IEntry
getEntryData
in class Entry
request
- HttpRequestlocale
- the locale
public String getTemplateCreate()
IEntry
getTemplateCreate
in interface IEntry
getTemplateCreate
in class Entry
public String getTemplateModify()
IEntry
getTemplateModify
in interface IEntry
getTemplateModify
in class Entry
public void getRecordFieldData(Record record, List<String> lstValue, boolean bTestDirectoryError, boolean bAddNewValue, List<RecordField> listRecordField, 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 void getImportRecordFieldData(Record record, String strImportValue, boolean bTestDirectoryError, List<RecordField> listRecordField, Locale locale) throws DirectoryErrorException
IEntry
getImportRecordFieldData
in interface IEntry
getImportRecordFieldData
in class Entry
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 locale
DirectoryErrorException
public String convertRecordFieldValueToString(RecordField recordField, Locale locale, boolean bDisplayFront, boolean bExportDirectory)
IEntry
convertRecordFieldValueToString
in interface IEntry
convertRecordFieldValueToString
in class Entry
recordField
- the recordFieldlocale
- the localebDisplayFront
- true if display front or false if display backbExportDirectory
- true if display export
public boolean isSortable()
isSortable
in interface IEntry
isSortable
in class Entry
public String getSQLOrderBy()
Entry
getSQLOrderBy
in interface IEntry
getSQLOrderBy
in class Entry
" ORDER BY some_column "
)IEntry.isSortable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |