Class ProductOrderEvent
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.order.product.common.event.ProductOrderEvent
- All Implemented Interfaces:
Serializable
,ErrorReturnableEvent
public class ProductOrderEvent
extends ru.bitel.bgbilling.kernel.event.common.LocalEvent
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
ConstructorDescriptionProductOrderEvent
(int mode, int contractId, int userId, boolean customer, ProductSpec productSpec, ProductSpecActivationMode activateMode, Product oldProduct, Product newProduct, boolean sync, boolean activate) ProductOrderEvent
(int mode, int contractId, int userId, ProductSpec productSpec, ProductSpecActivationMode activateMode, Product oldProduct, Product newProduct, boolean sync, boolean activate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
getMode()
boolean
boolean
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
-
Field Details
-
MODE_ACTIVATE
public static final int MODE_ACTIVATE- See Also:
-
MODE_DEACTIVATE
public static final int MODE_DEACTIVATE- See Also:
-
MODE_MODIFY
public static final int MODE_MODIFY- See Also:
-
MODE_REACTIVATE
public static final int MODE_REACTIVATE- See Also:
-
-
Constructor Details
-
ProductOrderEvent
@Deprecated public ProductOrderEvent(int mode, int contractId, int userId, ProductSpec productSpec, ProductSpecActivationMode activateMode, Product oldProduct, Product newProduct, boolean sync, boolean activate) Deprecated. -
ProductOrderEvent
public ProductOrderEvent(int mode, int contractId, int userId, boolean customer, ProductSpec productSpec, ProductSpecActivationMode activateMode, Product oldProduct, Product newProduct, boolean sync, boolean activate)
-
-
Method Details
-
isCustomer
public boolean isCustomer() -
getProductSpec
-
getActivationMode
-
isSync
public boolean isSync()Нужна ли синхронизация (не нужна, если MW активировало/активирует само). -
isProcess
public boolean isProcess() -
setProcess
public void setProcess(boolean activate) -
getMessage
-
setMessage
-
getOldProduct
-
setOldProduct
-
getNewProduct
-
setNewProduct
-
getMode
public int getMode() -
getProductEntryList
-
setProductEntryList
-