Class BillManager
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.common.dao.AbstarctDaoConstant
ru.bitel.bgbilling.modules.bill.server.bean.AbstractManager
ru.bitel.bgbilling.modules.bill.server.bean.BillManager
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.modules.bill.server.bean.AbstractManager
BILL_ALL, BILL_NEW, BILL_PAYED, contractManager, DT_CREATED, DT_PAYED, moduleSetup, setup, USER_ADMIN, USER_ALL, USER_USER, UT_ALL, UT_NOTUNLOADED, UT_UNLOADEDFields inherited from class ru.bitel.bgbilling.common.dao.AbstarctDaoConstant
con, ERROR, fields, moduleId, SQL_ALL, SQL_AND, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_DISTINCT, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_JOIN, SQL_LEFT_JOIN, SQL_LIMIT, SQL_NOT_IN, SQL_ON, SQL_ON_DUPLICATE_KEY_UPDATE, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_VALUES, SQL_WHERE, tableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddBillDoc(int userId, BillDoc doc, List<PositionValue> posList, List<BillDoc> subList, boolean checkPast) intdeleteBill(int contractId, int id, boolean admin) getBill(int id) protected BillDocgetBillDoc(Attributes attributes) protected BillDocgetBillDoc(XMLUtils.BGXMLEventReader reader, StartElement element) getBillList(BillListFilter billListFilter, boolean getXml, boolean forRegister) getBillList(BillListFilter billListFilter, Calendar from, Calendar until, int dateType, int payedType, int userType, int unloadType, String groups, String groupMode, boolean getXml, int type, int addressSortParam, String nameSortParam, int sortMode, int secondarySortMode, boolean forRegister) Deprecated.getBillList(Page page, int cid) Возвращает список PayBillprotected voidpublishEvent(int userID, BillDoc billDoc, int billId) voidvoidupdateDocTypeId(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.common.dao.AbstarctDaoConstant
getPeriod, getSQLOrder, getTableName, sqlLimitMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
BillManager
-
-
Method Details
-
getBillList
-
getBillList
@Deprecated public List<Bill> getBillList(BillListFilter billListFilter, Calendar from, Calendar until, int dateType, int payedType, int userType, int unloadType, String groups, String groupMode, boolean getXml, int type, int addressSortParam, String nameSortParam, int sortMode, int secondarySortMode, boolean forRegister) Deprecated. -
setPayed
public void setPayed(String ids, int userID, boolean pay, boolean value, Date date, String summComment) throws Exception - Throws:
Exception
-
updateDocTypeId
public void updateDocTypeId(List<Integer> documentIds, int documentTypeId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getBillList
Возвращает список PayBill- Parameters:
cid- - ContractID- Returns:
-
getBill
-
deleteBill
public int deleteBill(int contractId, int id, boolean admin) -
addBillDoc
public int addBillDoc(int userId, BillDoc doc, List<PositionValue> posList, List<BillDoc> subList, boolean checkPast) - Specified by:
addBillDocin classAbstractManager
-
getBillDoc
- Specified by:
getBillDocin classAbstractManager- Throws:
Exception
-
getBillDoc
protected BillDoc getBillDoc(XMLUtils.BGXMLEventReader reader, StartElement element) throws Exception - Specified by:
getBillDocin classAbstractManager- Throws:
Exception
-
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
-