Class TvAccountRuntime
java.lang.Object
ru.bitel.bgbilling.modules.tv.server.runtime.TvAccountRuntime
- Direct Known Subclasses:
TvAccountRuntimeRoot
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ru.bitel.common.util.SetCache<Integer>
final int
Ссылка на InetServType. -
Constructor Summary
ConstructorDescriptionTvAccountRuntime
(int tvAccountId, AtomicReference<TvAccountSpecRuntime> servTypeRef, TvAccountRuntime parent) -
Method Summary
Modifier and TypeMethodDescriptionabstract ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime
ru.bitel.bgbilling.kernel.contract.status.server.ContractStatusList
long
long
getParentTvAccount
(TvApplication application) Возвращает родителский inetServ, если таковой имеется, иначе -#getParentInetServ(TvApplication)
==#getInetServ()
getParentTvAccountRuntime
(TvApplication application) abstract ru.bitel.oss.systems.inventory.product.server.ProductPeriodRuntimeList
abstract ProductRuntimeList
abstract ServiceRuntimeList
abstract ru.bitel.bgbilling.kernel.tariff.server.tree.TariffModuleTreeSet
boolean
abstract boolean
abstract void
lock()
void
setCreated
(boolean created) void
setDateFromMillis
(long dateFromMillis) void
setDateToMillis
(long dateToMillis) void
setDeviceStateAndOptionIds
(String deviceAccountId, short deviceState, Set<Integer> deviceOptionIds) toString()
abstract boolean
tryLock()
abstract boolean
abstract void
unlock()
-
Field Details
-
DEVICE_OPTIONS_SET_CACHE
-
tvAccountId
public final int tvAccountId -
tvAccountSpecRef
Ссылка на InetServType.
-
-
Constructor Details
-
TvAccountRuntime
public TvAccountRuntime(int tvAccountId, AtomicReference<TvAccountSpecRuntime> servTypeRef, TvAccountRuntime parent)
-
-
Method Details
-
getContractRuntime
public abstract ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime getContractRuntime() -
getTariffTreeSet
public abstract ru.bitel.bgbilling.kernel.tariff.server.tree.TariffModuleTreeSet getTariffTreeSet() -
getProductRuntimeList
-
getProductPeriodRuntimeList
public abstract ru.bitel.oss.systems.inventory.product.server.ProductPeriodRuntimeList getProductPeriodRuntimeList() -
getServiceRuntimeList
-
toString
-
getConfig
-
setDeviceStateAndOptionIds
-
getTvAccount
-
getParentTvAccount
Возвращает родителский inetServ, если таковой имеется, иначе -#getParentInetServ(TvApplication)
==#getInetServ()
- Parameters:
application
-- Returns:
-
getParentTvAccountRuntime
-
getContractSuspendPeriods
public ru.bitel.bgbilling.kernel.contract.status.server.ContractStatusList getContractSuspendPeriods() -
lock
public abstract void lock() -
tryLock
public abstract boolean tryLock() -
tryLock
- Throws:
InterruptedException
-
unlock
public abstract void unlock() -
isHeldByCurrentThread
public abstract boolean isHeldByCurrentThread() -
getDateFromMillis
public long getDateFromMillis() -
setDateFromMillis
public void setDateFromMillis(long dateFromMillis) -
getDateToMillis
public long getDateToMillis() -
setDateToMillis
public void setDateToMillis(long dateToMillis) -
isCreated
public boolean isCreated() -
setCreated
public void setCreated(boolean created)
-