Class ProductModifyEvent
java.lang.Object
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
ConstructorsConstructorDescriptionProductModifyEvent(int contractId, int userId, ProductSpec productSpec, Product oldProduct, Product newProduct, boolean sync, boolean process) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisSync()Нужна ли синхронизация (не нужна, если MW активировало/активирует само).voidsetMessage(String message) voidsetNewProduct(Product newProduct) voidsetOldProduct(Product oldProduct) voidsetProcess(boolean activate) voidsetProductEntryList(List<ProductEntry> productEntryList) Methods inherited from class ru.bitel.bgbilling.kernel.event.common.LocalEvent
getError, setErrorMethods 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
-
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
-