java.lang.Object
ru.bitel.bgbilling.modules.npay.server.bean.quantity.ModuleQuantity
Direct Known Subclasses:
CallModuleQuantity, InetModuleQuantity, PhoneModuleQuantity, PhoneSubModuleQuantity, VoiceModuleQuantity

public abstract class ModuleQuantity
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    ModuleQuantity()  
  • Method Summary

    Modifier and Type Method Description
    int getId()  
    int getMid()  
    abstract java.util.List<Period> getPeriodQuantity​(java.sql.Connection con, int contractId, java.util.Calendar from, java.util.Calendar to)  
    protected java.util.List<Period> getPeriodsFromTable​(java.sql.Connection con, java.lang.String tableName, int contractId, java.util.Calendar from, java.util.Calendar to, java.lang.String filter)  
    java.util.List<java.lang.Integer> getSids()  
    void setId​(int id)  
    void setMid​(int mid)  
    void setSids​(java.util.List<java.lang.Integer> sids)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ModuleQuantity

      public ModuleQuantity()
  • Method Details

    • getSids

      public java.util.List<java.lang.Integer> getSids()
    • setSids

      public void setSids​(java.util.List<java.lang.Integer> sids)
    • getId

      public int getId()
    • setId

      public void setId​(int id)
    • getMid

      public int getMid()
    • setMid

      public void setMid​(int mid)
    • getPeriodQuantity

      public abstract java.util.List<Period> getPeriodQuantity​(java.sql.Connection con, int contractId, java.util.Calendar from, java.util.Calendar to)
    • getPeriodsFromTable

      protected java.util.List<Period> getPeriodsFromTable​(java.sql.Connection con, java.lang.String tableName, int contractId, java.util.Calendar from, java.util.Calendar to, java.lang.String filter)