Class TvAccountRuntime

java.lang.Object
ru.bitel.bgbilling.modules.tv.server.runtime.TvAccountRuntime
Direct Known Subclasses:
TvAccountRuntimeRoot

public abstract class TvAccountRuntime extends Object
  • Field Details

    • DEVICE_OPTIONS_SET_CACHE

      public static final ru.bitel.common.util.SetCache<Integer> DEVICE_OPTIONS_SET_CACHE
    • tvAccountId

      public final int tvAccountId
    • tvAccountSpecRef

      public final AtomicReference<TvAccountSpecRuntime> tvAccountSpecRef
      Ссылка на InetServType.
  • Constructor Details

  • 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

      public abstract ProductRuntimeList getProductRuntimeList()
    • getProductPeriodRuntimeList

      public abstract ru.bitel.oss.systems.inventory.product.server.ProductPeriodRuntimeList getProductPeriodRuntimeList()
    • getServiceRuntimeList

      public abstract ServiceRuntimeList getServiceRuntimeList()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getConfig

      public ParameterMap getConfig()
    • setDeviceStateAndOptionIds

      public void setDeviceStateAndOptionIds(String deviceAccountId, short deviceState, Set<Integer> deviceOptionIds)
    • getTvAccount

      public TvAccount getTvAccount()
    • getParentTvAccount

      public TvAccount getParentTvAccount(TvApplication application)
      Возвращает родителский inetServ, если таковой имеется, иначе - #getParentInetServ(TvApplication) == #getInetServ()
      Parameters:
      application -
      Returns:
    • getParentTvAccountRuntime

      public TvAccountRuntime getParentTvAccountRuntime(TvApplication application)
    • getContractSuspendPeriods

      public ru.bitel.bgbilling.kernel.contract.status.server.ContractStatusList getContractSuspendPeriods()
    • lock

      public abstract void lock()
    • tryLock

      public abstract boolean tryLock()
    • tryLock

      public abstract boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException
      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)