Class RSCMCalculator
java.lang.Object
ru.bitel.bgbilling.kernel.task.server.TaskBase
ru.bitel.bgbilling.modules.rscm.server.task.RSCMCalculator
public class RSCMCalculator
extends ru.bitel.bgbilling.kernel.task.server.TaskBase
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.task.server.TaskBase
defaultDescription, log, moduleId, setup, STATUS_FINISHED, STATUS_FINISHED_INTERRUPTED, STATUS_NOTSTARTED, STATUS_WORKING, taskId, taskSetup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
static BigDecimal
getCost
(Connection con, int moduleId, int contractId, int serviceId, Date time, long amount) protected boolean
initTask()
void
void
setConnection
(Connection con) Methods inherited from class ru.bitel.bgbilling.kernel.task.server.TaskBase
getFinishTime, getModuleId, getOperatingTime, getStartTime, getTaskSetup, getTaskStatus, getWorkingTime, initModuleId, initTask, putMyselfIntoTable, removeMyselfFromTable, run, runLocal, setExecutingTime, setModuleId, startTask
-
Constructor Details
-
RSCMCalculator
public RSCMCalculator()
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in classru.bitel.bgbilling.kernel.task.server.TaskBase
-
setCids
-
initTask
protected boolean initTask()- Specified by:
initTask
in classru.bitel.bgbilling.kernel.task.server.TaskBase
-
setConnection
-
executeTask
protected void executeTask()- Specified by:
executeTask
in classru.bitel.bgbilling.kernel.task.server.TaskBase
-
getCost
public static BigDecimal getCost(Connection con, int moduleId, int contractId, int serviceId, Date time, long amount)
-