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