Class RSCMContractServiceUpdateEvent
java.lang.Object
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.QueueEvent
ru.bitel.bgbilling.modules.rscm.server.event.RSCMContractServiceUpdateEvent
- All Implemented Interfaces:
java.io.Serializable
public class RSCMContractServiceUpdateEvent
extends ru.bitel.bgbilling.kernel.event.common.QueueEvent
Асинхронное событие - изменения/добавления услуги RSCM в договор.
Унаследован от
Унаследован от
QueueEvent- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN -
Constructor Summary
Constructors Modifier Constructor Description protectedRSCMContractServiceUpdateEvent()RSCMContractServiceUpdateEvent(int userId, int moduleId, int contractId, RSCMContractService contractService)Конструктор события. -
Method Summary
Modifier and Type Method Description RSCMContractServicegetContractService()Возвращает изменяемую/добавляемую услугу.intgetTypeId()Deprecated.Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getDestination, getGenerateTime, getMessageID, getModuleId, getPluginId, getSuperContractId, getTime, getTimestamp, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
RSCMContractServiceUpdateEvent
protected RSCMContractServiceUpdateEvent() -
RSCMContractServiceUpdateEvent
public RSCMContractServiceUpdateEvent(int userId, int moduleId, int contractId, RSCMContractService contractService)Конструктор события.- Parameters:
userId- - id пользователя, сгенерировавшего событиеmoduleId- - код модуляcontractId- - код договораcontractService- - услуга rscm модуля
-
-
Method Details
-
getTypeId
@Deprecated public int getTypeId()Deprecated.Использовать проверку instanceof.- Overrides:
getTypeIdin classru.bitel.bgbilling.kernel.event.common.Event
-
getContractService
Возвращает изменяемую/добавляемую услугу.- Returns:
- contractService - услуга
-