|
||||||||||
| 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.EntryTypeSelect
public class EntryTypeSelect
class EntryTypeSelect
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
EntryTypeSelect()
|
|
| Method Summary | |
|---|---|
void |
addSearchCriteria(HashMap<String,Object> mapSearchItem,
RecordField recordField)
add in the search map the criteria |
String |
getEntryData(javax.servlet.http.HttpServletRequest request,
Locale locale)
Get the request data |
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 |
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 |
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 |
getSQLJoin()
Provide default join on directory_record_field |
String |
getSQLOrderBy()
Provides default order by on directory_record_field.record_field_value |
List<Object> |
getSQLParametersValues()
Returns the entry id |
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 EntryTypeSelect()
| Method Detail |
|---|
public String getTemplateHtmlFormEntry(boolean isDisplayFront)
Entry
getTemplateHtmlFormEntry in class EntryisDisplayFront - true if display for front office or false if
display for back office
public String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
Entry
getTemplateHtmlRecordFieldValue in class EntryisDisplayFront - true if display for front office or false if
display for back office
public String getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
Entry
getTemplateHtmlFormSearchEntry in class EntryisDisplayFront - true if display for front office or false if
display for back office
public String getEntryData(javax.servlet.http.HttpServletRequest request,
Locale locale)
IEntry
getEntryData in interface IEntrygetEntryData in class Entryrequest - HttpRequestlocale - the locale
public String getTemplateCreate()
IEntry
getTemplateCreate in interface IEntrygetTemplateCreate in class Entrypublic String getTemplateModify()
IEntry
getTemplateModify in interface IEntrygetTemplateModify in class Entry
public fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex)
IEntry
getPaginator in interface IEntrygetPaginator in class EntrynItemPerPage - 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 void getImportRecordFieldData(Record record,
String strImportValue,
boolean bTestDirectoryError,
List<RecordField> listRecordField,
Locale locale)
throws DirectoryErrorException
IEntry
getImportRecordFieldData in interface IEntrygetImportRecordFieldData in class Entryrecord - 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 - If an error occurs
public void getRecordFieldData(Record record,
List<String> lstValue,
boolean bTestDirectoryError,
boolean bAddNewValue,
List<RecordField> listRecordField,
Locale locale)
throws DirectoryErrorException
IEntry
getRecordFieldData in interface IEntrygetRecordFieldData in class Entryrecord - 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 testedlistRecordField - the list of record field associate to the recordlocale - the locale
DirectoryErrorException - If an error occurs
public void addSearchCriteria(HashMap<String,Object> mapSearchItem,
RecordField recordField)
IEntry
addSearchCriteria in interface IEntryaddSearchCriteria in class EntrymapSearchItem - Search maprecordField - the record fieldpublic boolean isSortable()
isSortable in interface IEntryisSortable in class Entry
public fr.paris.lutece.portal.web.util.LocalizedPaginator getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex,
Locale locale)
IEntry
getPaginator in interface IEntrygetPaginator in class EntrynItemPerPage - 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 String getSQLJoin()
Entry
getSQLJoin in interface IEntrygetSQLJoin in class Entry" JOIN some_table ON col1=col2 ")IEntry.isSortable()public String getSQLOrderBy()
Entry
getSQLOrderBy in interface IEntrygetSQLOrderBy in class Entry" ORDER BY some_column ")IEntry.isSortable()public List<Object> getSQLParametersValues()
Entry
getSQLParametersValues in interface IEntrygetSQLParametersValues in class Entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||