public class OmTvAccountModifyEvent extends QueueEvent
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Modifier | Constructor and Description |
---|---|
protected |
OmTvAccountModifyEvent() |
|
OmTvAccountModifyEvent(int moduleId,
int deviceId,
TvAccount oldTvAccount,
TvAccount newTvAccount,
short newState) |
Modifier and Type | Method and Description |
---|---|
short |
getNewState() |
TvAccount |
getNewTvAccount() |
TvAccount |
getOldTvAccount() |
protected void |
prepareMessage(javax.jms.Message message) |
AccountOrderEvent |
toOmEvent(ru.bitel.bgbilling.modules.tv.access.TvAccess access,
ConnectionSet connectionSet,
java.util.Date now) |
protected void |
toString(java.lang.StringBuilder sb) |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, serializeAsObject, setLogFunctionProcess, toString
protected OmTvAccountModifyEvent()
public OmTvAccountModifyEvent(int moduleId, int deviceId, TvAccount oldTvAccount, TvAccount newTvAccount, short newState)
moduleId
- ид модуляdeviceId
- Код устройства, если событие необходимо выполнить только на одном из всей цепочки устройств (например, при перезагрузке оного). Иначе = 0.oldTvAccount
- newTvAccount
- newState
- protected void prepareMessage(javax.jms.Message message) throws javax.jms.JMSException
prepareMessage
in class Event
javax.jms.JMSException
public TvAccount getOldTvAccount()
public TvAccount getNewTvAccount()
public short getNewState()
public AccountOrderEvent toOmEvent(ru.bitel.bgbilling.modules.tv.access.TvAccess access, ConnectionSet connectionSet, java.util.Date now) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException