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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    static BigDecimal
    getCost(Connection con, int moduleId, int contractId, int serviceId, Date time, long amount)
     
     
    protected boolean
     
    void
     
    void
     

    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 String getDescription()
      Specified by:
      getDescription in class ru.bitel.bgbilling.kernel.task.server.TaskBase
    • setCids

      public void setCids(String cids)
    • initTask

      protected boolean initTask()
      Specified by:
      initTask in class ru.bitel.bgbilling.kernel.task.server.TaskBase
    • setConnection

      public void setConnection(Connection con)
    • executeTask

      protected void executeTask()
      Specified by:
      executeTask in class ru.bitel.bgbilling.kernel.task.server.TaskBase
    • getCost

      public static BigDecimal getCost(Connection con, int moduleId, int contractId, int serviceId, Date time, long amount)