|
||||||||||
| 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.EntryTypeGeolocation
public class EntryTypeGeolocation
EntryTypeGeolocation
| Field Summary | |
|---|---|
static String |
CONSTANT_ADDRESS
|
static String |
CONSTANT_PROVIDER
|
static String |
CONSTANT_SHOWXY
|
static String |
CONSTANT_X
|
static String |
CONSTANT_Y
|
static String |
PARAMETER_MAP_PROVIDER
|
static String |
PARAMETER_SHOWXY
|
static String |
PARAMETER_SUFFIX_ADDRESS
|
static String |
PARAMETER_SUFFIX_MAP_PROVIDER
|
static String |
PARAMETER_SUFFIX_X
|
static String |
PARAMETER_SUFFIX_Y
|
| Constructor Summary | |
|---|---|
EntryTypeGeolocation()
|
|
| Method Summary | |
|---|---|
void |
addSearchCriteria(HashMap<String,Object> mapSearchItem,
RecordField recordField)
add in the search map the criteria |
String |
convertRecordFieldTitleToString(RecordField recordField,
Locale locale,
boolean displayFront)
convert the title contains in the record field to string |
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 |
void |
getImportRecordFieldData(Record record,
byte[] decodedBytes,
String nomFile,
boolean b,
List<RecordField> listRecordField,
Locale locale)
|
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.ReferenceList |
getMapProvidersRefList()
Builds the ReferenceList of all available map providers |
void |
getRecordFieldData(Record record,
javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
boolean addNewValue,
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 addNewValue,
List<RecordField> listRecordField,
Locale locale)
save in the list of record field the record field associate to the entry |
String |
getSQLJoin()
Join that get only the address. |
List<Object> |
getSQLParametersValues()
Returns the entry id and field title parameter |
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 |
void |
getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale,
StringBuffer strXml)
add The Xml of the entry in the string buffer |
boolean |
isSortable()
Check if the entry is sortable |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAMETER_MAP_PROVIDER
public static final String PARAMETER_SHOWXY
public static final String PARAMETER_SUFFIX_X
public static final String PARAMETER_SUFFIX_Y
public static final String PARAMETER_SUFFIX_MAP_PROVIDER
public static final String PARAMETER_SUFFIX_ADDRESS
public static final String CONSTANT_ADDRESS
public static final String CONSTANT_X
public static final String CONSTANT_Y
public static final String CONSTANT_PROVIDER
public static final String CONSTANT_SHOWXY
| Constructor Detail |
|---|
public EntryTypeGeolocation()
| Method Detail |
|---|
public String getTemplateCreate()
getTemplateCreate in interface IEntrygetTemplateCreate in class Entrypublic String getTemplateModify()
getTemplateModify in interface IEntrygetTemplateModify in class Entrypublic String getTemplateHtmlFormEntry(boolean isDisplayFront)
getTemplateHtmlFormEntry in class EntryisDisplayFront - true if display for front office or false if
display for back office
public String getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
getTemplateHtmlFormSearchEntry in class EntryisDisplayFront - true if display for front office or false if
display for back office
public String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
getTemplateHtmlRecordFieldValue 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)
getEntryData in interface IEntrygetEntryData in class Entryrequest - HttpRequestlocale - the locale
public fr.paris.lutece.util.ReferenceList getMapProvidersRefList()
ReferenceList of all available map providers
ReferenceList
public void getRecordFieldData(Record record,
javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
boolean addNewValue,
List<RecordField> listRecordField,
Locale locale)
throws DirectoryErrorException
getRecordFieldData in interface IEntrygetRecordFieldData in class Entryrecord - 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 - If an error occurs
public void addSearchCriteria(HashMap<String,Object> mapSearchItem,
RecordField recordField)
addSearchCriteria in interface IEntryaddSearchCriteria in class EntrymapSearchItem - Search maprecordField - the record field
public void getRecordFieldData(Record record,
List<String> lstValue,
boolean bTestDirectoryError,
boolean addNewValue,
List<RecordField> listRecordField,
Locale locale)
throws DirectoryErrorException
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 getImportRecordFieldData(Record record,
byte[] decodedBytes,
String nomFile,
boolean b,
List<RecordField> listRecordField,
Locale locale)
throws DirectoryErrorException
getImportRecordFieldData in interface IEntrygetImportRecordFieldData in class Entryrecord - The record
DirectoryErrorException
public void getImportRecordFieldData(Record record,
String strImportValue,
boolean bTestDirectoryError,
List<RecordField> listRecordField,
Locale locale)
throws DirectoryErrorException
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 occurspublic String toString()
toString in class Object
public String convertRecordFieldTitleToString(RecordField recordField,
Locale locale,
boolean displayFront)
convertRecordFieldTitleToString in interface IEntryconvertRecordFieldTitleToString in class EntryrecordField - the recordFieldlocale - the localedisplayFront - true if display front or false if display back
public String convertRecordFieldValueToString(RecordField recordField,
Locale locale,
boolean bDisplayFront,
boolean bExportDirectory)
convertRecordFieldValueToString in interface IEntryconvertRecordFieldValueToString in class EntryrecordField - the recordFieldlocale - the localebDisplayFront - true if display front or false if display backbExportDirectory - true if display export
public boolean isSortable()
isSortable in interface IEntryisSortable in class Entrypublic String getSQLJoin()
getSQLJoin in interface IEntrygetSQLJoin in class Entry" JOIN some_table ON col1=col2 ")IEntry.isSortable()public List<Object> getSQLParametersValues()
getSQLParametersValues in interface IEntrygetSQLParametersValues in class Entry
public void getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale,
StringBuffer strXml)
getXml in interface IEntrygetXml in class Entryplugin - pluginlocale - loclaestrXml - the string buffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||