public class MeterService extends AppService implements MeterServiceRemote
critCHARACTERISTIC, critCONTINUOUS, critGAUGEAPPLOGGER, 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 |
|---|
MeterService()
Construct the MeterService object
|
MeterService(MXServer mxServer)
Construct the MeterService object
|
| Modifier and Type | Method and Description |
|---|---|
void |
meterSequenceUniqueToSet(Mbo thisMbo)
informs when a duplicate sequence number has been entered for a meter group or on an
asset or location.
|
void |
meterUniqueToSet(Mbo thisMbo)
ensures that a MeterName value is added only once to the object
passed in the parameter.
|
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, verifyUserequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic MeterService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic MeterService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - java.rmi.RemoteExceptionpublic void meterUniqueToSet(Mbo thisMbo) throws MXException, java.rmi.RemoteException
meterUniqueToSet in interface MeterServiceRemotethisMbo - the object to which the meter is being addedMXExceptionjava.rmi.RemoteExceptionmeterUniqueToSet(Mbo thisMbo)public void meterSequenceUniqueToSet(Mbo thisMbo) throws MXException, java.rmi.RemoteException
The set can be saved with duplicate sequence numbers.
If sequence numbers are duplicated when applying a meter group to an asset or location,
notification of each duplicate sequence number is displayed in
a single dialog after the group's meters are saved to the asset or location.
If a sequence number is duplicated while adding a meter to a group,
asset or location, a message displays on validation of the sequence number.
While adding a meter to a group,
if the PropagateMeterGroupMod
flag is checked the addition
is copied to all the assets and locations that reference the meter group. If
sequences are duplicated on assets and/or locations during this propagation,
a single dialog will show all duplications at the end of the transaction.
meterSequenceUniqueToSet in interface MeterServiceRemotethisMbo - the object to which the meter is being addedMXApplicationException("meter","dupseqnum2") - when a duplicate sequence number is added to a meter group.MXApplicationException("meter","dupseqnumAsset2") - when a duplicate sequence number is added to an asset's meters.MXApplicationException("meter","dupseqnumLocation2") - when a duplicate sequence number is added to a location's meters.MXApplicationException("meter","dupseqnumResolution2") - nested in MXApplicationException("meter","dupseqnumAsset2") or MXApplicationException("meter","dupseqnumLocation2") when a sequence is duplicated while adding a meter group to an asset or location, or when an addition to a meter group is propagated to an asset or location.MXApplicationException("meter","dupseqnumQuery2") - nested in MXApplicationException("meter","dupseqnumAsset2") or MXApplicationException("meter","dupseqnumLocation2") when a sequence is duplicated while adding a meter to a group, asset or location.MXExceptionjava.rmi.RemoteExceptionmeterSequenceUniqueToSet(Mbo thisMbo)