Class TvAccountRuntime
java.lang.Object
ru.bitel.bgbilling.modules.tv.server.runtime.TvAccountRuntime
- Direct Known Subclasses:
 TvAccountRuntimeRoot
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ru.bitel.common.util.SetCache<Integer>final intСсылка на InetServType. - 
Constructor Summary
ConstructorsConstructorDescriptionTvAccountRuntime(int tvAccountId, AtomicReference<TvAccountSpecRuntime> servTypeRef, TvAccountRuntime parent)  - 
Method Summary
Modifier and TypeMethodDescriptionabstract ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeru.bitel.bgbilling.kernel.contract.status.server.ContractStatusListlonglonggetParentTvAccount(TvApplication application) Возвращает родителский inetServ, если таковой имеется, иначе -#getParentInetServ(TvApplication)==#getInetServ()getParentTvAccountRuntime(TvApplication application) abstract ru.bitel.oss.systems.inventory.product.server.ProductPeriodRuntimeListabstract ProductRuntimeListabstract ServiceRuntimeListabstract ru.bitel.bgbilling.kernel.tariff.server.tree.TariffModuleTreeSetbooleanabstract booleanabstract voidlock()voidsetCreated(boolean created) voidsetDateFromMillis(long dateFromMillis) voidsetDateToMillis(long dateToMillis) voidsetDeviceStateAndOptionIds(String deviceAccountId, short deviceState, Set<Integer> deviceOptionIds) toString()abstract booleantryLock()abstract booleanabstract voidunlock() 
- 
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)  
 -