public abstract class TvAccountRuntime
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ru.bitel.common.util.SetCache<java.lang.Integer> |
DEVICE_OPTIONS_SET_CACHE |
int |
tvAccountId |
java.util.concurrent.atomic.AtomicReference<TvAccountSpecRuntime> |
tvAccountSpecRef
Ссылка на InetServType.
|
Constructor and Description |
---|
TvAccountRuntime(int tvAccountId,
java.util.concurrent.atomic.AtomicReference<TvAccountSpecRuntime> servTypeRef,
TvAccountRuntime parent) |
Modifier and Type | Method and Description |
---|---|
ParameterMap |
getConfig() |
abstract ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime |
getContractRuntime() |
ru.bitel.bgbilling.kernel.contract.status.server.ContractStatusList |
getContractSuspendPeriods() |
long |
getDateFromMillis() |
long |
getDateToMillis() |
TvAccount |
getParentTvAccount(TvApplication application)
Возвращает родителский inetServ, если таковой имеется, иначе -
#getParentInetServ(TvApplication) == #getInetServ() |
TvAccountRuntime |
getParentTvAccountRuntime(TvApplication application) |
abstract ru.bitel.oss.systems.inventory.product.server.ProductPeriodRuntimeList |
getProductPeriodRuntimeList() |
abstract ProductRuntimeList |
getProductRuntimeList() |
abstract ServiceRuntimeList |
getServiceRuntimeList() |
abstract ru.bitel.bgbilling.kernel.tariff.tree.server.TariffModuleTreeSet |
getTariffTreeSet() |
TvAccount |
getTvAccount() |
boolean |
isCreated() |
abstract boolean |
isHeldByCurrentThread() |
abstract void |
lock() |
void |
setCreated(boolean created) |
void |
setDateFromMillis(long dateFromMillis) |
void |
setDateToMillis(long dateToMillis) |
void |
setDeviceStateAndOptionIds(java.lang.String deviceAccountId,
short deviceState,
java.util.Set<java.lang.Integer> deviceOptionIds) |
java.lang.String |
toString() |
abstract boolean |
tryLock() |
abstract boolean |
tryLock(long timeout,
java.util.concurrent.TimeUnit unit) |
abstract void |
unlock() |
public static final ru.bitel.common.util.SetCache<java.lang.Integer> DEVICE_OPTIONS_SET_CACHE
public final int tvAccountId
public final java.util.concurrent.atomic.AtomicReference<TvAccountSpecRuntime> tvAccountSpecRef
public TvAccountRuntime(int tvAccountId, java.util.concurrent.atomic.AtomicReference<TvAccountSpecRuntime> servTypeRef, TvAccountRuntime parent)
public abstract ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime getContractRuntime()
public abstract ru.bitel.bgbilling.kernel.tariff.tree.server.TariffModuleTreeSet getTariffTreeSet()
public abstract ProductRuntimeList getProductRuntimeList()
public abstract ru.bitel.oss.systems.inventory.product.server.ProductPeriodRuntimeList getProductPeriodRuntimeList()
public abstract ServiceRuntimeList getServiceRuntimeList()
public java.lang.String toString()
toString
in class java.lang.Object
public ParameterMap getConfig()
public void setDeviceStateAndOptionIds(java.lang.String deviceAccountId, short deviceState, java.util.Set<java.lang.Integer> deviceOptionIds)
public TvAccount getTvAccount()
public TvAccount getParentTvAccount(TvApplication application)
#getParentInetServ(TvApplication)
== #getInetServ()
application
- public TvAccountRuntime getParentTvAccountRuntime(TvApplication application)
public ru.bitel.bgbilling.kernel.contract.status.server.ContractStatusList getContractSuspendPeriods()
public abstract void lock()
public abstract boolean tryLock()
public abstract boolean tryLock(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
public abstract void unlock()
public abstract boolean isHeldByCurrentThread()
public long getDateFromMillis()
public void setDateFromMillis(long dateFromMillis)
public long getDateToMillis()
public void setDateToMillis(long dateToMillis)
public boolean isCreated()
public void setCreated(boolean created)