Class TvRecalculator

java.lang.Object
ru.bitel.bgbilling.kernel.task.server.bean.RunTask
ru.bitel.bgbilling.modules.tv.server.task.TvRecalculator
All Implemented Interfaces:
Serializable, Runnable

public class TvRecalculator extends RunTask
See Also:
  • Field Summary

    Fields inherited from class ru.bitel.bgbilling.kernel.task.server.bean.RunTask

    log, setup
  • Constructor Summary

    Constructors
    Constructor
    Description
    TvRecalculator(int moduleId, Date dateFrom, Date dateTo, Set<Integer> contractGroupIds, Set<Integer> contractIds, String email)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static ru.bitel.bgbilling.modules.tv.server.runtime.TvTarifficationManager.CalculateResult
    calculatePart(ru.bitel.bgbilling.modules.tv.server.tariff.TvTariffContext tariffContext, ru.bitel.bgbilling.modules.tv.server.tariff.TvTariffWorkerContext workerContext, ru.bitel.bgbilling.modules.tv.server.runtime.TvTarifficationManager tvTarifficationManager, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, int contractId, ru.bitel.bgbilling.modules.tv.server.runtime.TvAccountRuntimeRoot tvAccountRuntime, int accountId, ru.bitel.bgbilling.kernel.tariff.server.tree.TariffModuleTreeSet tariffTreeSet, Calendar tariffPeriodStart, Calendar tariffPeriodStop, List<ru.bitel.bgbilling.modules.tv.server.tariff.TvServiceCost> serviceCostList, List<ru.bitel.bgbilling.modules.tv.server.tariff.TvServiceCost> workingServiceCostList, Set<ru.bitel.bgbilling.modules.tv.server.tariff.TvServiceCost> processedSet, Date filterTimeFrom, Date filterTimeTo, boolean detailAccount, boolean addAccount, BigDecimal balance)
     
    protected void
     
     

    Methods inherited from class ru.bitel.bgbilling.kernel.task.server.bean.RunTask

    getQueueId, getUniqueKeyParallel, getUniqueKeyQueue, init, removeMyselfFromTable, run, setQueueId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class RunTask
    • executeTask

      protected void executeTask()
      Specified by:
      executeTask in class RunTask
    • calculatePart

      public static ru.bitel.bgbilling.modules.tv.server.runtime.TvTarifficationManager.CalculateResult calculatePart(ru.bitel.bgbilling.modules.tv.server.tariff.TvTariffContext tariffContext, ru.bitel.bgbilling.modules.tv.server.tariff.TvTariffWorkerContext workerContext, ru.bitel.bgbilling.modules.tv.server.runtime.TvTarifficationManager tvTarifficationManager, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, int contractId, ru.bitel.bgbilling.modules.tv.server.runtime.TvAccountRuntimeRoot tvAccountRuntime, int accountId, ru.bitel.bgbilling.kernel.tariff.server.tree.TariffModuleTreeSet tariffTreeSet, Calendar tariffPeriodStart, Calendar tariffPeriodStop, List<ru.bitel.bgbilling.modules.tv.server.tariff.TvServiceCost> serviceCostList, List<ru.bitel.bgbilling.modules.tv.server.tariff.TvServiceCost> workingServiceCostList, Set<ru.bitel.bgbilling.modules.tv.server.tariff.TvServiceCost> processedSet, Date filterTimeFrom, Date filterTimeTo, boolean detailAccount, boolean addAccount, BigDecimal balance) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException