public class ServiceAddressService extends AppService implements ServiceAddressServiceRemote
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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<com.ibm.json.java.JSONObject> |
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. |
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 |
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, 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, setProxy, setRunning, setURL, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public ServiceAddressService(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean hasServiceAddressData(MboRemote mbo) throws MXException, java.rmi.RemoteException
hasServiceAddressData
in interface ServiceAddressServiceRemote
MXException
java.rmi.RemoteException
public boolean isSAInfoEditable(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemote
isSAInfoEditable
in interface ServiceAddressServiceRemote
mbo
- - Current mbo record to recover Org. valuesjava.rmi.RemoteException
MXException
public boolean isAddressMasterMaximo(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemote
isAddressMasterMaximo
in interface ServiceAddressServiceRemote
mbo
- - Current mbo record to recover Org. valuesjava.rmi.RemoteException
MXException
public boolean isAddressDetailRequired(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemote
isAddressDetailRequired
in interface ServiceAddressServiceRemote
mbo
- - Current mbo record to recover Org. valuesjava.rmi.RemoteException
MXException
public boolean isCoordinatesLatLong(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemote
isCoordinatesLatLong
in interface ServiceAddressServiceRemote
mbo
- - Current mbo record to recover Org. valuesjava.rmi.RemoteException
MXException
public java.lang.String[] getStreetOrderFormat(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemote
getStreetOrderFormat
in interface ServiceAddressServiceRemote
mbo
- - Current mbo record to recover Org. valuesjava.rmi.RemoteException
MXException
public boolean isSAMessagePrompt(MboRemote mbo) throws java.rmi.RemoteException, MXException
ServiceAddressServiceRemote
isSAMessagePrompt
in interface ServiceAddressServiceRemote
mbo
- - Current mbo record to recover Org. valuesjava.rmi.RemoteException
MXException
public com.ibm.json.java.JSONObject getLatLngFromAddressableMbo(MboRemote mboWithXY) throws MXException, java.rmi.RemoteException
ServiceAddressServiceRemote
getLatLngFromAddressableMbo
in interface ServiceAddressServiceRemote
mboWithXY
- mbo that is the result of calling getAutoLocateObject in an AutoLocatable mboMXException
java.rmi.RemoteException
public java.util.List<com.ibm.json.java.JSONObject> getLatLngFromAutolocatableMbos(MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
ServiceAddressServiceRemote
getLatLngFromAutolocatableMbos
in interface ServiceAddressServiceRemote
mboSet
- mboSet containing the mbos for which the x/y will be retrievedMXException
java.rmi.RemoteException