Class ProductModifyEvent
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.QueueEvent
ru.bitel.bgbilling.kernel.event.common.LocalEvent
ru.bitel.oss.systems.inventory.product.common.event.ProductModifyEvent
- All Implemented Interfaces:
Serializable
,ErrorReturnableEvent
public class ProductModifyEvent
extends ru.bitel.bgbilling.kernel.event.common.LocalEvent
- See Also:
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
ConstructorDescriptionProductModifyEvent
(int contractId, int userId, ProductSpec productSpec, Product oldProduct, Product newProduct, boolean sync, boolean process) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isSync()
Нужна ли синхронизация (не нужна, если MW активировало/активирует само).void
setMessage
(String message) void
setNewProduct
(Product newProduct) void
setOldProduct
(Product oldProduct) void
setProcess
(boolean activate) void
setProductEntryList
(List<ProductEntry> productEntryList) Methods inherited from class ru.bitel.bgbilling.kernel.event.common.LocalEvent
getError, setError
Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getDestination, getGenerateTime, getMessageID, getModuleId, getPluginId, getSource, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, setSource, toString, toString
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Constructor Details
-
ProductModifyEvent
public ProductModifyEvent(int contractId, int userId, ProductSpec productSpec, Product oldProduct, Product newProduct, boolean sync, boolean process)
-
-
Method Details
-
isSync
public boolean isSync()Нужна ли синхронизация (не нужна, если MW активировало/активирует само). -
isProcess
public boolean isProcess() -
setProcess
public void setProcess(boolean activate) -
getMessage
-
setMessage
-
getProductSpec
-
getOldProduct
-
setOldProduct
-
getNewProduct
-
setNewProduct
-
getProductEntryList
-
setProductEntryList
-