public class ServiceAddressService extends AppService implements ServiceAddressServiceRemote
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
ServiceAddressService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
com.ibm.json.java.JSONObject |
getLatLngFromAddressableMbo(MboRemote mboWithXY)
Based on a mbo with GIS data it gets the mbo WGS coordinates (lat/lng).
With Bingmaps or Googlemaps providers the LATITUDEY and LONGITUDEX double attributes are already in WGS84. With Maximo Spatial maps this is not always true. |
java.util.List |
getLatLngFromAutolocatableMbos(MboSetRemote mboSet)
Runs getLatLngFromAddressableMbo(mbo) for every mbo in the mboSet after retrieving the mboWithXY .
from each mbo (by calling mbo.getAutoLocateObject()) The execution will split into threads because retrieving the x/y can be slow when coordinate system conversion and feature class fetching take place. |
SpatialMapConfServiceRemote |
getSpatialMapConfService(UserInfo userInfo)
Checks if Spatial is installed and if the map provider is correctly configured to "Spatial".
If both conditions are true, return the reference to SpatialMapConfService. If the map provider is "Spatial" but Spatial is not installed, show an error message. |
java.lang.String[] |
getStreetOrderFormat(MboRemote mbo)
Returns an array with the field's order that is set in STREETORDERNUM maxvar
|
boolean |
hasServiceAddressData(MboRemote mbo) |
boolean |
isAddressDetailRequired(MboRemote mbo)
Returns true if the maxvar STRADDRDETAIL is set to "REQUIRED"
|
boolean |
isAddressMasterMaximo(MboRemote mbo)
Returns true if the maxvar ADDRMASTER is set to "MAXIMO"
|
boolean |
isCoordinatesLatLong(MboRemote mbo)
Returns true if the maxvar COORDINATE is set to "LATLONG"
|
boolean |
isCoordinatesLatLong(java.lang.String orgid) |
boolean |
isSAInfoEditable(MboRemote mbo)
Returns true if the maxvar SAEDITABLE is set to "1"
|
boolean |
isSAMessagePrompt(MboRemote mbo)
Returns true if the maxvar SAMSGPROMPT is set to "1"
|
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, init, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic ServiceAddressService(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic boolean hasServiceAddressData(MboRemote mbo) throws MXException, java.rmi.RemoteException
hasServiceAddressData in interface ServiceAddressServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isSAInfoEditable(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemoteisSAInfoEditable in interface ServiceAddressServiceRemotembo - - Current mbo record to recover Org. valuesjava.rmi.RemoteExceptionMXExceptionpublic boolean isAddressMasterMaximo(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemoteisAddressMasterMaximo in interface ServiceAddressServiceRemotembo - - Current mbo record to recover Org. valuesjava.rmi.RemoteExceptionMXExceptionpublic boolean isAddressDetailRequired(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemoteisAddressDetailRequired in interface ServiceAddressServiceRemotembo - - Current mbo record to recover Org. valuesjava.rmi.RemoteExceptionMXExceptionpublic boolean isCoordinatesLatLong(java.lang.String orgid)
throws java.rmi.RemoteException,
MXException
isCoordinatesLatLong in interface ServiceAddressServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic boolean isCoordinatesLatLong(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemoteisCoordinatesLatLong in interface ServiceAddressServiceRemotembo - - Current mbo record to recover Org. valuesjava.rmi.RemoteExceptionMXExceptionpublic java.lang.String[] getStreetOrderFormat(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemotegetStreetOrderFormat in interface ServiceAddressServiceRemotembo - - Current mbo record to recover Org. valuesjava.rmi.RemoteExceptionMXExceptionpublic boolean isSAMessagePrompt(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemoteisSAMessagePrompt in interface ServiceAddressServiceRemotembo - - Current mbo record to recover Org. valuesjava.rmi.RemoteExceptionMXExceptionpublic SpatialMapConfServiceRemote getSpatialMapConfService(UserInfo userInfo) throws java.rmi.RemoteException, MXException
getSpatialMapConfService in interface ServiceAddressServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic com.ibm.json.java.JSONObject getLatLngFromAddressableMbo(MboRemote mboWithXY) throws MXException, java.rmi.RemoteException
ServiceAddressServiceRemotegetLatLngFromAddressableMbo in interface ServiceAddressServiceRemotemboWithXY - mbo that is the result of calling getAutoLocateObject in an AutoLocatable mboMXExceptionjava.rmi.RemoteExceptionpublic java.util.List getLatLngFromAutolocatableMbos(MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
ServiceAddressServiceRemotegetLatLngFromAutolocatableMbos in interface ServiceAddressServiceRemotemboSet - mboSet containing the mbos for which the x/y will be retrievedMXExceptionjava.rmi.RemoteException