public class MapTipTemplateData
extends java.lang.Object
Constructor and Description |
---|
MapTipTemplateData(MapTipRemote maptip,
UserInfo userInfo)
Creates an instance of MapTipTemplateData filling all attributes from the mbo data
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTemplate(java.lang.String templateField)
Retrieves the desired template (maptip, summary or mouseover)
|
boolean |
hasAccess()
Checks whether or not the current user has access to this maptip template
|
void |
setMapTipData(MapTipRemote maptip,
UserInfo userInfo)
Fills all attributes from the mbo data
|
public MapTipTemplateData(MapTipRemote maptip, UserInfo userInfo) throws java.rmi.RemoteException, MXException
maptip
- userInfo
- MXException
java.rmi.RemoteException
public void setMapTipData(MapTipRemote maptip, UserInfo userInfo) throws java.rmi.RemoteException, MXException
maptip
- userInfo
- MXException
java.rmi.RemoteException
public boolean hasAccess()
public java.lang.String getTemplate(java.lang.String templateField)
templateField
- possible values for this string: MAPTIPTEMPLATE, MAPTIPSUMMARYTEMPLATE, MOUSEOVERTEMPLATE