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 attributes,
UserInfo userinfo) |
java.util.List |
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 attributes)
Method to return the HTML string for the Graphic attributes (Used in the Identify tool)
|
java.util.Map |
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 attributes) throws java.rmi.RemoteException, MXException
objectname - mapName - userinfo - attributes - java.rmi.RemoteExceptionMXExceptionpublic java.lang.String deleteLinearSegment(MboRemote appMbo, java.lang.String objectName, java.lang.String relationship, java.util.Map attributes, UserInfo userinfo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.Map loadAttributesFromTemplate(java.lang.String template,
java.lang.String objectName,
MboRemote appMbo,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
template - objectName - appMbo - userInfo - MXExceptionjava.rmi.RemoteExceptionpublic java.util.List 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 - MXExceptionjava.rmi.RemoteExceptionjavax.script.ScriptExceptionpublic double convertMeasure(double measure,
java.lang.String unitSource,
java.lang.String unitDestiny)
measure - unitSource - unitDestiny -