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 voidexecuteTask()static java.math.BigDecimalgetCost(java.sql.Connection con, int moduleId, int contractId, int serviceId, java.util.Date time, long amount)java.lang.StringgetDescription()protected booleaninitTask()voidsetCids(java.lang.String cids)voidsetConnection(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, startTaskMethods 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:
getDescriptionin classru.bitel.bgbilling.kernel.task.server.TaskBase
-
setCids
public void setCids(java.lang.String cids) -
initTask
protected boolean initTask()- Specified by:
initTaskin classru.bitel.bgbilling.kernel.task.server.TaskBase
-
setConnection
public void setConnection(java.sql.Connection con) -
executeTask
protected void executeTask()- Specified by:
executeTaskin 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)
-