Class RSCMCalculator
java.lang.Object
ru.bitel.bgbilling.kernel.task.server.TaskBase
ru.bitel.bgbilling.modules.rscm.server.task.RSCMCalculator
- All Implemented Interfaces:
java.lang.Runnable
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
Constructors Constructor Description RSCMCalculator()
-
Method Summary
Modifier and Type Method Description protected void
executeTask()
static java.math.BigDecimal
getCost(java.sql.Connection con, int moduleId, int contractId, int serviceId, java.util.Date time, long amount)
java.lang.String
getDescription()
protected boolean
initTask()
void
setCids(java.lang.String cids)
void
setConnection(java.sql.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RSCMCalculator
public RSCMCalculator()
-
-
Method Details
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in classru.bitel.bgbilling.kernel.task.server.TaskBase
-
setCids
public void setCids(java.lang.String cids) -
initTask
protected boolean initTask()- Specified by:
initTask
in classru.bitel.bgbilling.kernel.task.server.TaskBase
-
setConnection
public void setConnection(java.sql.Connection con) -
executeTask
protected void executeTask()- Specified by:
executeTask
in classru.bitel.bgbilling.kernel.task.server.TaskBase
-
getCost
public static java.math.BigDecimal getCost(java.sql.Connection con, int moduleId, int contractId, int serviceId, java.util.Date time, long amount)
-