Class InvoiceManager
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.modules.bill.server.bean.AbstractManager
ru.bitel.bgbilling.modules.bill.server.bean.InvoiceManager
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.modules.bill.server.bean.AbstractManager
BILL_ALL, BILL_NEW, BILL_PAYED, con, contractManager, DT_CREATED, DT_PAYED, mid, moduleId, moduleSetup, setup, table, USER_ADMIN, USER_ALL, USER_USER, UT_ALL, UT_NOTUNLOADED, UT_UNLOADED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddBillDoc(int userId, BillDoc billDoc, List<PositionValue> posList, List<BillDoc> subList, boolean checkPast) protected BillDocgetBillDoc(Attributes attributes) protected BillDocgetBillDoc(XMLUtils.BGXMLEventReader reader, StartElement element) getInvoice(int id) getInvoiceList(String idcids) Возвращает список Invoice по id и contractIDgetInvoiceList(Page page, int cid, boolean onlyReady) Возвращает список PayInvoicegetInvoiceList(Page page, int yy, int mm, Calendar from, Calendar until, int unloadType, String contractLabels, String labelMode, String contractTitle, String billNumber, boolean getXml, String type, int packageParamId, int packageId, int addressSortParam, String nameSortParam, int sortMode, int secondarySortMode, boolean forRegister) protected voidpublishEvent(int userID, BillDoc billDoc, int billId) voidsetShowReady(String ids, boolean ready) voidupdateDocTypeId(List<Integer> documentIds, int documentTypeId) Methods inherited from class ru.bitel.bgbilling.modules.bill.server.bean.AbstractManager
addBillDoc, addBillDocData, addBillDocs, addBillDocs, addNameCol, addNameJoin, addPackageFilterJoin, addSortMode, addStreetCol, addStreetJoin, delete, delete, delete, getBillDocInfo, getNextNumbers, getXMLData, getXMLData, setBankAccount, setOrganization, updateNumber, updatePositions, updatePositions, updatePositionsMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
InvoiceManager
-
-
Method Details
-
getInvoice
-
getInvoiceList
public List<Invoice> getInvoiceList(Page page, int yy, int mm, Calendar from, Calendar until, int unloadType, String contractLabels, String labelMode, String contractTitle, String billNumber, boolean getXml, String type, int packageParamId, int packageId, int addressSortParam, String nameSortParam, int sortMode, int secondarySortMode, boolean forRegister) -
getInvoiceList
Возвращает список Invoice по id и contractID- Parameters:
idcids- строка "id:cid;id:cid..."- Returns:
- List
-
getInvoiceList
Возвращает список PayInvoice- Parameters:
cid- - ContractID- Returns:
-
addBillDoc
public int addBillDoc(int userId, BillDoc billDoc, List<PositionValue> posList, List<BillDoc> subList, boolean checkPast) - Specified by:
addBillDocin classAbstractManager
-
setShowReady
-
updateDocTypeId
public void updateDocTypeId(List<Integer> documentIds, int documentTypeId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getBillDoc
- Specified by:
getBillDocin classAbstractManager
-
getBillDoc
- Specified by:
getBillDocin classAbstractManager
-
publishEvent
protected void publishEvent(int userID, BillDoc billDoc, int billId) throws ru.bitel.bgbilling.common.BGException - Specified by:
publishEventin classAbstractManager- Throws:
ru.bitel.bgbilling.common.BGException
-