public class MapProvider extends Object implements IMapProvider
| Constructor and Description |
|---|
MapProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackListHtmlCode()
Gets the html code for list result in Back Office
|
String |
getDisplayedName()
Gets the displayed name
|
String |
getFrontHtmlCode()
Gets the html code for front office
|
String |
getFrontListHtmlCode()
Gets the html code for list result front office
|
String |
getHtmlCode()
Gets the html code
|
String |
getKey()
Gets the key.
|
Object |
getParameter(int nKey)
returns the Parameter class contains all the parameters of the map
|
boolean |
isMapListSupported()
Defines if map in bo and fo lists is supported
|
void |
setBackListHtmlCode(String strBackListHtmlCode)
Set back list html code
|
void |
setDisplayedName(String displayedName)
Set the displayed name
|
void |
setFrontHtmlCode(String strFrontHtmlCode)
Sets the front html
|
void |
setFrontListHtmlCode(String strFrontListHtmlCode)
Sets the front list html code
|
void |
setHtmlCode(String htmlCode)
Sets the html code
|
void |
setKey(String key)
Sets the key
|
void |
setMapListSupported(boolean bMapListSupported)
Set to
true if map list is supported, false otherwise |
fr.paris.lutece.util.ReferenceItem |
toRefItem()
Builds a new
ReferenceItem for the map provider |
public String getKey()
getKey in interface IMapProviderpublic void setKey(String key)
key - the keypublic String getDisplayedName()
getDisplayedName in interface IMapProviderpublic void setDisplayedName(String displayedName)
displayedName - the displayed namepublic String getHtmlCode()
getHtmlCode in interface IMapProviderpublic void setHtmlCode(String htmlCode)
htmlCode - the html codepublic fr.paris.lutece.util.ReferenceItem toRefItem()
ReferenceItem for the map providertoRefItem in interface IMapProviderpublic String getFrontHtmlCode()
getFrontHtmlCode in interface IMapProviderpublic String getFrontListHtmlCode()
getFrontListHtmlCode in interface IMapProviderpublic void setFrontListHtmlCode(String strFrontListHtmlCode)
strFrontListHtmlCode - the front list templatepublic void setFrontHtmlCode(String strFrontHtmlCode)
strFrontHtmlCode - the front templatepublic void setBackListHtmlCode(String strBackListHtmlCode)
strBackListHtmlCode - the back list templatepublic String getBackListHtmlCode()
getBackListHtmlCode in interface IMapProviderpublic boolean isMapListSupported()
isMapListSupported in interface IMapProvidertrue if a map can be generated (show on map button), false otherwise.public void setMapListSupported(boolean bMapListSupported)
true if map list is supported, false otherwisebMapListSupported - the new valuepublic Object getParameter(int nKey)
IMapProvidergetParameter in interface IMapProviderCopyright © 2020 City of Paris. All rights reserved.