Class ProductPeriodModifiedEvent
java.lang.Object
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.oss.systems.inventory.product.common.event.ProductPeriodModifiedEvent
- All Implemented Interfaces:
Serializable
public class ProductPeriodModifiedEvent
extends ru.bitel.bgbilling.kernel.event.common.Event
- See Also:
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
ModifierConstructorDescriptionprotected
ProductPeriodModifiedEvent
(int moduleId, int contractId, int accountId, int productSpecId, int productId, int activationModeId, Date productTimeFrom, Date productTimeTo, int productPeriodId, Date oldProductPeriodTimeFrom, Date oldProductPeriodTimeTo, Date newProductPeriodTimeFrom, Date newProductPeriodTimeTo, Date prolongationTime, int version) ProductPeriodModifiedEvent
(int moduleId, int contractId, int userId, Product product, ProductPeriod oldProductPeriod, ProductPeriod newProductPeriod) -
Method Summary
Modifier and TypeMethodDescriptionint
int
Если null - это удаление периода, т.к. у периода срок окочания не может быть бесконечнымint
int
int
int
Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getDestination, getGenerateTime, getMessageID, getModuleId, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, toString, toString
-
Constructor Details
-
ProductPeriodModifiedEvent
protected ProductPeriodModifiedEvent() -
ProductPeriodModifiedEvent
public ProductPeriodModifiedEvent(int moduleId, int contractId, int userId, Product product, ProductPeriod oldProductPeriod, ProductPeriod newProductPeriod) -
ProductPeriodModifiedEvent
public ProductPeriodModifiedEvent(int moduleId, int contractId, int accountId, int productSpecId, int productId, int activationModeId, Date productTimeFrom, Date productTimeTo, int productPeriodId, Date oldProductPeriodTimeFrom, Date oldProductPeriodTimeTo, Date newProductPeriodTimeFrom, Date newProductPeriodTimeTo, Date prolongationTime, int version)
-
-
Method Details
-
getAccountId
public int getAccountId() -
getProductSpecId
public int getProductSpecId() -
getProductId
public int getProductId() -
getActivationModeId
public int getActivationModeId() -
getProductTimeFrom
-
getProductTimeTo
-
getProductPeriodId
public int getProductPeriodId() -
getOldProductPeriodTimeFrom
-
getOldProductPeriodTimeTo
-
getProlongationTime
-
getNewProductPeriodTimeFrom
-
getNewProductPeriodTimeTo
Если null - это удаление периода, т.к. у периода срок окочания не может быть бесконечным- Returns:
-
getVersion
public int getVersion()
-