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 IMapProvider
public void setKey(String key)
key
- the keypublic String getDisplayedName()
getDisplayedName
in interface IMapProvider
public void setDisplayedName(String displayedName)
displayedName
- the displayed namepublic String getHtmlCode()
getHtmlCode
in interface IMapProvider
public void setHtmlCode(String htmlCode)
htmlCode
- the html codepublic fr.paris.lutece.util.ReferenceItem toRefItem()
ReferenceItem
for the map providertoRefItem
in interface IMapProvider
public String getFrontHtmlCode()
getFrontHtmlCode
in interface IMapProvider
public String getFrontListHtmlCode()
getFrontListHtmlCode
in interface IMapProvider
public 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 IMapProvider
public boolean isMapListSupported()
isMapListSupported
in interface IMapProvider
true
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)
IMapProvider
getParameter
in interface IMapProvider
Copyright © 2020 City of Paris. All rights reserved.