Class DataExtractor
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.modules.bill.server.bean.DataExtractor
public class DataExtractor
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BigDecimalgetAmount(Connection con, String table, String col, List<String> paramList, Calendar month, String cids) protected BigDecimalgetAmount(Connection con, String table, String col, List<String> paramList, Calendar month, String cids, String filter) protected BigDecimalgetAmount(Connection con, String table, String col, List<String> paramList, Calendar month, String cids, String filter, String cidFieldName, String sidFieldName) protected longgetCountFromTable(Connection con, String tableName, String cids, Calendar month, String filter) protected longgetCountFromTable(Connection con, String tableName, String cids, Calendar month, String filter, String cidFieldName, String date1Field, String date2Field) protected BigDecimalgetCountSession(Connection con, String table, List<String> paramList, Calendar month, String cids, String filter) protected BigDecimalgetCountSession(Connection con, String table, List<String> paramList, Calendar month, String cids, String filter, String cidFieldName, String sidFieldName) protected StringgetIdsFromEnd(int posFrom, List<String> paramList) protected intgetIntParam(List<String> paramList, int pos) protected CalendargetMonthParam(Calendar month, List<String> paramList, int pos) protected BigDecimalgetSumFromTable(Connection con, String tableName, String col, String cids, String sids, String filter, String cidFieldName, String sidFieldName) Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
DataExtractor
public DataExtractor()
-
-
Method Details
-
getIntParam
-
getMonthParam
-
getIdsFromEnd
-
getSumFromTable
protected BigDecimal getSumFromTable(Connection con, String tableName, String col, String cids, String sids, String filter, String cidFieldName, String sidFieldName) throws SQLException - Throws:
SQLException
-
getCountFromTable
protected long getCountFromTable(Connection con, String tableName, String cids, Calendar month, String filter) throws SQLException - Throws:
SQLException
-
getCountFromTable
protected long getCountFromTable(Connection con, String tableName, String cids, Calendar month, String filter, String cidFieldName, String date1Field, String date2Field) throws SQLException - Throws:
SQLException
-
getAmount
protected BigDecimal getAmount(Connection con, String table, String col, List<String> paramList, Calendar month, String cids) -
getAmount
protected BigDecimal getAmount(Connection con, String table, String col, List<String> paramList, Calendar month, String cids, String filter) -
getAmount
-
getCountSession
protected BigDecimal getCountSession(Connection con, String table, List<String> paramList, Calendar month, String cids, String filter) -
getCountSession
protected BigDecimal getCountSession(Connection con, String table, List<String> paramList, Calendar month, String cids, String filter, String cidFieldName, String sidFieldName)
-