public class MeasurementService extends AppService implements MeasurementServiceRemote
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 |
|---|
MeasurementService()
Constructor for MeasurementService.
|
MeasurementService(MXServer mxServer)
Constructor for MeasurementService.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getConversionFactor(UserInfo userInfo,
java.lang.String fromUOM,
java.lang.String toUOM)
Returns the conversion factor that will convert the "from"
unit of measure (UOM) to the "to" unit of measure.
|
void |
init()
Initialize the Application Service.
|
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, 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 MeasurementService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic MeasurementService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - -- the "Server Environment" this Service is being
created in.java.rmi.RemoteExceptionpublic void init()
AppServiceinit in interface Serviceinit in class AppServiceServicepublic double getConversionFactor(UserInfo userInfo, java.lang.String fromUOM, java.lang.String toUOM) throws MXException, java.rmi.RemoteException
getConversionFactor in interface MeasurementServiceRemoteUserInfo - The userInfo of the calling Mbo.fromUOM - The unit of measure(UOM) to be converted from.toUOM - The unit of measure to be converted to.ParametesAreRequired - if either UOM parameter is empty.FactorDoesNotExist - if a valid relationship does not exist.MXExceptionjava.rmi.RemoteException