public class OmTvAccountStateModifyEvent extends QueueEvent
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Modifier | Constructor and Description |
---|---|
protected |
OmTvAccountStateModifyEvent() |
|
OmTvAccountStateModifyEvent(int moduleId,
int contractId,
int userId,
int deviceId,
int tvAccountId,
long connectionId,
short state,
int accessCode,
boolean recheck)
Изменение состояния для соединения.
|
|
OmTvAccountStateModifyEvent(int moduleId,
int userId,
TvAccount tvAccount,
short state,
int accessCode)
Изменение состояния для сервиса.
|
|
OmTvAccountStateModifyEvent(int moduleId,
int userId,
TvAccount tvAccount,
short state,
int accessCode,
boolean recheck)
Изменение состояния для сервиса.
|
Modifier and Type | Method and Description |
---|---|
int |
getAccessCode() |
int |
getDeviceId() |
short |
getState() |
int |
getTvAccountId() |
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 OmTvAccountStateModifyEvent()
public OmTvAccountStateModifyEvent(int moduleId, int userId, TvAccount tvAccount, short state, int accessCode)
moduleId
- userId
- tvAccount
- state
- accessCode
- public OmTvAccountStateModifyEvent(int moduleId, int userId, TvAccount tvAccount, short state, int accessCode, boolean recheck)
moduleId
- userId
- tvAccount
- state
- accessCode
- public OmTvAccountStateModifyEvent(int moduleId, int contractId, int userId, int deviceId, int tvAccountId, long connectionId, short state, int accessCode, boolean recheck)
moduleId
- contractId
- userId
- deviceId
- tvAccountId
- connectionId
- state
- accessCode
- protected void prepareMessage(javax.jms.Message message) throws javax.jms.JMSException
prepareMessage
in class Event
javax.jms.JMSException
public int getDeviceId()
public int getTvAccountId()
public short getState()
public int getAccessCode()
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