public class ProductModifyEvent extends LocalEvent
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Constructor and Description |
---|
ProductModifyEvent(int contractId,
int userId,
ProductSpec productSpec,
Product oldProduct,
Product newProduct,
boolean sync,
boolean process) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
Product |
getNewProduct() |
Product |
getOldProduct() |
java.util.List<ProductEntry> |
getProductEntryList() |
ProductSpec |
getProductSpec() |
boolean |
isProcess() |
boolean |
isSync()
Нужна ли синхронизация (не нужна, если MW активировало/активирует само).
|
void |
setMessage(java.lang.String message) |
void |
setNewProduct(Product newProduct) |
void |
setOldProduct(Product oldProduct) |
void |
setProcess(boolean activate) |
void |
setProductEntryList(java.util.List<ProductEntry> productEntryList) |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString
public ProductModifyEvent(int contractId, int userId, ProductSpec productSpec, Product oldProduct, Product newProduct, boolean sync, boolean process)
public boolean isSync()
public boolean isProcess()
public void setProcess(boolean activate)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public ProductSpec getProductSpec()
public Product getOldProduct()
public void setOldProduct(Product oldProduct)
public Product getNewProduct()
public void setNewProduct(Product newProduct)
public java.util.List<ProductEntry> getProductEntryList()
public void setProductEntryList(java.util.List<ProductEntry> productEntryList)