public class MeterService extends AppService implements MeterServiceRemote
critCHARACTERISTIC, critCONTINUOUS, critGAUGE
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 |
---|
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, 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 MeterService() throws java.rmi.RemoteException
java.rmi.RemoteException
public MeterService(MXServer mxServer) throws java.rmi.RemoteException
mxServer
- java.rmi.RemoteException
public void meterUniqueToSet(Mbo thisMbo) throws MXException, java.rmi.RemoteException
meterUniqueToSet
in interface MeterServiceRemote
thisMbo
- the object to which the meter is being addedMXException
java.rmi.RemoteException
meterUniqueToSet(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 MeterServiceRemote
thisMbo
- 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.MXException
java.rmi.RemoteException
meterSequenceUniqueToSet(Mbo thisMbo)