public class ProductPeriodModifiedEvent extends Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Modifier | Constructor and Description |
---|---|
protected |
ProductPeriodModifiedEvent() |
|
ProductPeriodModifiedEvent(int moduleId,
int contractId,
int accountId,
int productSpecId,
int productId,
int activationModeId,
java.util.Date productTimeFrom,
java.util.Date productTimeTo,
int productPeriodId,
java.util.Date oldProductPeriodTimeFrom,
java.util.Date oldProductPeriodTimeTo,
java.util.Date newProductPeriodTimeFrom,
java.util.Date newProductPeriodTimeTo,
java.util.Date prolongationTime,
int version) |
|
ProductPeriodModifiedEvent(int moduleId,
int contractId,
int userId,
Product product,
ProductPeriod oldProductPeriod,
ProductPeriod newProductPeriod) |
Modifier and Type | Method and Description |
---|---|
int |
getAccountId() |
int |
getActivationModeId() |
java.util.Date |
getNewProductPeriodTimeFrom() |
java.util.Date |
getNewProductPeriodTimeTo()
Если null - это удаление периода, т.к. у периода срок окочания не может быть бесконечным
|
java.util.Date |
getOldProductPeriodTimeFrom() |
java.util.Date |
getOldProductPeriodTimeTo() |
int |
getProductId() |
int |
getProductPeriodId() |
int |
getProductSpecId() |
java.util.Date |
getProductTimeFrom() |
java.util.Date |
getProductTimeTo() |
java.util.Date |
getProlongationTime() |
int |
getVersion() |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString
protected ProductPeriodModifiedEvent()
public ProductPeriodModifiedEvent(int moduleId, int contractId, int userId, Product product, ProductPeriod oldProductPeriod, ProductPeriod newProductPeriod)
public ProductPeriodModifiedEvent(int moduleId, int contractId, int accountId, int productSpecId, int productId, int activationModeId, java.util.Date productTimeFrom, java.util.Date productTimeTo, int productPeriodId, java.util.Date oldProductPeriodTimeFrom, java.util.Date oldProductPeriodTimeTo, java.util.Date newProductPeriodTimeFrom, java.util.Date newProductPeriodTimeTo, java.util.Date prolongationTime, int version)
public int getAccountId()
public int getProductSpecId()
public int getProductId()
public int getActivationModeId()
public java.util.Date getProductTimeFrom()
public java.util.Date getProductTimeTo()
public int getProductPeriodId()
public java.util.Date getOldProductPeriodTimeFrom()
public java.util.Date getOldProductPeriodTimeTo()
public java.util.Date getProlongationTime()
public java.util.Date getNewProductPeriodTimeFrom()
public java.util.Date getNewProductPeriodTimeTo()
public int getVersion()