Class ModuleQuantity
java.lang.Object
ru.bitel.bgbilling.modules.npay.server.bean.quantity.ModuleQuantity
- Direct Known Subclasses:
CallModuleQuantity
,InetModuleQuantity
,PhoneModuleQuantity
,PhoneSubModuleQuantity
,VoiceLineModuleQuantity
,VoiceModuleQuantity
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
protected ModuleQuantity.ModuleQuantityResult
abstract 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 String
protected String
protected String
getQuerySelect
(String fieldDate1, String fieldDate2) getSids()
void
setModuleId
(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
-