public class PurchaseManager extends ru.bitel.common.dao.AbstractIdDao<Purchase>
Constructor and Description |
---|
PurchaseManager(java.sql.Connection con,
int mid,
java.util.Date date) |
Modifier and Type | Method and Description |
---|---|
protected Purchase |
getFromRS(java.sql.ResultSet rs) |
java.util.List<Purchase> |
list(int cid) |
java.util.List<Purchase> |
list(int cid,
int subscriberId,
java.util.Date date1,
java.util.Date date2) |
protected void |
processException(java.sql.SQLException e) |
java.util.List<Purchase> |
updateAccount(java.util.List<java.lang.Integer> cids,
java.util.Date date,
int sid) |
protected void |
updateImpl(Purchase p) |
delete, get, getAndDelete, getAndUpdate
public PurchaseManager(java.sql.Connection con, int mid, java.util.Date date)
protected Purchase getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS
in class ru.bitel.common.dao.AbstractDao<Purchase>
java.sql.SQLException
protected void updateImpl(Purchase p) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<Purchase>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<Purchase> list(int cid, int subscriberId, java.util.Date date1, java.util.Date date2) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Purchase> list(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Purchase> updateAccount(java.util.List<java.lang.Integer> cids, java.util.Date date, int sid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void processException(java.sql.SQLException e) throws ru.bitel.bgbilling.common.BGException
processException
in class ru.bitel.common.dao.AbstractDao<Purchase>
ru.bitel.bgbilling.common.BGException