Class BillDocumentDao
java.lang.Object
ru.bitel.bgbilling.modules.bill.server.bean.AbstractBillDao
ru.bitel.bgbilling.modules.bill.server.bean.BillDocumentDao
- 
Field Summary
FieldsFields inherited from class ru.bitel.bgbilling.modules.bill.server.bean.AbstractBillDao
con, moduleId, moduleSetup, setup, tableName - 
Constructor Summary
ConstructorsConstructorDescriptionBillDocumentDao(Setup setup, ParameterMap moduleSetup, Connection con, int moduleId)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic <B> List<B>getBillDocumentList(Connection con, int moduleId, String table, int contractId, Page page, Function<ResultSet, B> converter) Временный метод для поддержки двух разных классов Bill без copy-paste.Возвращает список Bill 
- 
Field Details
- 
BILL_DATA_FIELDS
- See Also:
 
 
 - 
 - 
Constructor Details
- 
BillDocumentDao
 
 - 
 - 
Method Details
- 
getBillDocumentList
public static <B> List<B> getBillDocumentList(Connection con, int moduleId, String table, int contractId, Page page, Function<ResultSet, B> converter) Временный метод для поддержки двух разных классов Bill без copy-paste. Возвращает список счетов для договора.- Parameters:
 cid- - ContractID- Returns:
 
 - 
list
public List<BillDocument> list(int contractId, Page page) throws ru.bitel.bgbilling.common.BGException Возвращает список Bill- Parameters:
 cid- - ContractID- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGException
 
 -