public abstract class AbstractOrderEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
filterByDepends |
Constructor and Description |
---|
AbstractOrderEvent(ru.bitel.bgbilling.modules.tv.access.TvAccess tvAccess,
Event event,
int deviceId,
TvAccountRuntime tvAccountRuntime,
int eventType,
int tvAccountId,
TvAccountSpec tvAccountSpec,
java.util.Set<java.lang.Integer> oldDeviceOptionIds,
java.util.Set<java.lang.Integer> newDeviceOptionIds) |
public AbstractOrderEvent(ru.bitel.bgbilling.modules.tv.access.TvAccess tvAccess, Event event, int deviceId, TvAccountRuntime tvAccountRuntime, int eventType, int tvAccountId, TvAccountSpec tvAccountSpec, java.util.Set<java.lang.Integer> oldDeviceOptionIds, java.util.Set<java.lang.Integer> newDeviceOptionIds)
public int getContractId()
public int getTvAccountId()
public TvAccountRuntime getTvAccountRuntime()
@Deprecated public final java.util.List<ProductEntry> getFullProductEntryList(short newState) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public abstract java.util.List<ProductEntry> getFullProductEntryListToEnable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected abstract java.util.Map<java.lang.Integer,ProductSpecRuntime> getFullProductSpecRuntimeMapToEnable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Set<ProductSpecRuntime> getFullProductSpecRuntimeSetToEnable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Set<ProductSpec> getFullProductSpecSetToEnable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Set<ServiceSpec> getFullServiceSpecSetToEnable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Set<ServiceSpecRuntime> getFullServiceSpecRuntimeSetToEnable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Set<TvChannelSpec> getFullTvChannelSpecSetToEnable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public boolean isOptionsModified()
public java.util.Set<java.lang.Integer> getOldDeviceOptionIds()
public java.util.Set<java.lang.Integer> getNewDeviceOptionIds()
public java.util.Set<java.lang.Integer> getDeviceOptionIdsToEnable()
public java.util.Set<java.lang.Integer> getDeviceOptionIdsToDisable()
public void setNewDeviceOptionIds(java.util.Set<java.lang.Integer> newDeviceOptionIds)
public java.util.List<ProductSpec> getProductSpecList(java.util.Collection<java.lang.Integer> productSpecIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ProductSpecRuntime> getProductSpecRuntimeList(java.util.Collection<java.lang.Integer> productSpecIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ProductSpec> getDeviceOptionProductSpecSetToEnable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ProductSpec> getDeviceOptionProductSpecSetToDisable() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ProductSpec> getNewDeviceOptionProductSpecs() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ProductSpec> getOldDeviceOptionProductSpecs() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public boolean isFilterByDepends()
public void setFilterByDepends(boolean filterByDepends)
protected final java.util.Map<java.lang.Integer,ProductSpecRuntime> filterProductSpecByDepends(java.util.Map<java.lang.Integer,ProductSpecRuntime> map)
public static java.util.List<TvAccount> getTvAccountChildren(TvAccountRuntimeMap tvAccountRuntimeMap, int tvAccountId, long millis)