Class TvRecalculator
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.task.server.bean.RunTask
ru.bitel.bgbilling.modules.tv.server.task.TvRecalculator
- All Implemented Interfaces:
Serializable
,Runnable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculatePart
(ru.bitel.bgbilling.modules.tv.server.tariff.TvTariffContext tariffContext, ru.bitel.bgbilling.modules.tv.server.tariff.TvTariffWorkerContext workerContext, TvTarifficationManager tvTarifficationManager, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, int contractId, 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 ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Constructor Details
-
TvRecalculator
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in classRunTask
-
executeTask
protected void executeTask()- Specified by:
executeTask
in classRunTask
-
calculatePart
public static TvTarifficationManager.CalculateResult calculatePart(ru.bitel.bgbilling.modules.tv.server.tariff.TvTariffContext tariffContext, ru.bitel.bgbilling.modules.tv.server.tariff.TvTariffWorkerContext workerContext, TvTarifficationManager tvTarifficationManager, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, int contractId, 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
-