public class MapLinearUtils
extends java.lang.Object
Constructor and Description |
---|
MapLinearUtils() |
Modifier and Type | Method and Description |
---|---|
double |
convertMeasure(double measure,
java.lang.String unitSource,
java.lang.String unitDestiny)
This method converts a measure in a unit to another unit.
|
java.lang.String |
deleteLinearSegment(MboRemote appMbo,
java.lang.String objectName,
java.lang.String relationship,
java.util.Map<java.lang.String,java.lang.String> attributes,
UserInfo userinfo) |
java.util.List<java.lang.Long> |
getLinearGraphicsbyWhereClause(java.lang.String whereClause,
java.lang.String objectName,
MboRemote appMbo,
UserInfo userInfo)
Method to return a list of Graphics IDs for a particular object that matches the where clause.
|
java.lang.String |
getLinearLayerGraphicInfo(MboRemote mbo,
java.lang.String objectname,
java.lang.String relationship,
java.lang.String msgTemplate,
java.lang.String mapName,
UserInfo userinfo,
java.util.Map<java.lang.String,java.lang.String> attributes)
Method to return the HTML string for the Graphic attributes (Used in the Identify tool)
|
java.util.Map<java.lang.String,java.lang.Integer> |
loadAttributesFromTemplate(java.lang.String template,
java.lang.String objectName,
MboRemote appMbo,
UserInfo userInfo)
Method to get all the attributes from the template.
|
public java.lang.String getLinearLayerGraphicInfo(MboRemote mbo, java.lang.String objectname, java.lang.String relationship, java.lang.String msgTemplate, java.lang.String mapName, UserInfo userinfo, java.util.Map<java.lang.String,java.lang.String> attributes) throws java.rmi.RemoteException, MXException
objectname
- mapName
- userinfo
- attributes
- java.rmi.RemoteException
MXException
public java.lang.String deleteLinearSegment(MboRemote appMbo, java.lang.String objectName, java.lang.String relationship, java.util.Map<java.lang.String,java.lang.String> attributes, UserInfo userinfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Map<java.lang.String,java.lang.Integer> loadAttributesFromTemplate(java.lang.String template, java.lang.String objectName, MboRemote appMbo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
template
- objectName
- appMbo
- userInfo
- MXException
java.rmi.RemoteException
public java.util.List<java.lang.Long> getLinearGraphicsbyWhereClause(java.lang.String whereClause, java.lang.String objectName, MboRemote appMbo, UserInfo userInfo) throws MXException, java.rmi.RemoteException, javax.script.ScriptException
whereClause
- objectName
- appMbo
- userInfo
- MXException
java.rmi.RemoteException
javax.script.ScriptException
public double convertMeasure(double measure, java.lang.String unitSource, java.lang.String unitDestiny)
measure
- unitSource
- unitDestiny
-