Class ModuleQuantity
java.lang.Object
ru.bitel.bgbilling.modules.npay.server.bean.quantity.ModuleQuantity
- Direct Known Subclasses:
CallModuleQuantity,InetModuleQuantity,VoiceLineModuleQuantity,VoiceModuleQuantity
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected ModuleQuantity.ModuleQuantityResultabstract List<ModuleQuantity.ModuleQuantityResult> getPeriodQuantity(Connection con, int contractId, Calendar from, Calendar to) protected List<ModuleQuantity.ModuleQuantityResult> getPeriodsFromTable(Connection con, String tableName, int contractId, Calendar from, Calendar to, String filter) protected List<ModuleQuantity.ModuleQuantityResult> getPeriodsFromTable(Connection con, String tableName, int contractId, Calendar from, Calendar to, String filter, String fieldContractId, String fieldDate1, String fieldDate2) protected Stringprotected Stringprotected StringgetQuerySelect(String fieldDate1, String fieldDate2) getSids()voidsetModuleId(int moduleId) void
-
Constructor Details
-
ModuleQuantity
public ModuleQuantity()
-
-
Method Details
-
getSids
-
setSids
-
getModuleId
public int getModuleId() -
setModuleId
public void setModuleId(int moduleId) -
getPeriodQuantity
public abstract List<ModuleQuantity.ModuleQuantityResult> getPeriodQuantity(Connection con, int contractId, Calendar from, Calendar to) -
getPeriodsFromTable
protected List<ModuleQuantity.ModuleQuantityResult> getPeriodsFromTable(Connection con, String tableName, int contractId, Calendar from, Calendar to, String filter) -
getPeriodsFromTable
protected List<ModuleQuantity.ModuleQuantityResult> getPeriodsFromTable(Connection con, String tableName, int contractId, Calendar from, Calendar to, String filter, String fieldContractId, String fieldDate1, String fieldDate2) -
getQuery
-
getQuerySelect
-
getQueryJoin
-
getModuleQuantityResult
protected ModuleQuantity.ModuleQuantityResult getModuleQuantityResult(ResultSet rs) throws SQLException - Throws:
SQLException
-