public class PhoneResourceSubscriptionDao extends ru.bitel.common.dao.AbstractDao<PhoneResourceSubscription>
Constructor and Description |
---|
PhoneResourceSubscriptionDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
int |
deleteBySubscriberId(int subscriberId) |
protected PhoneResourceSubscription |
getFromRS(java.sql.ResultSet rs) |
java.util.List<PhoneResourceSubscription> |
list(int phoneResourceId,
java.util.Date dateFrom,
java.util.Date dateTo) |
java.util.List<PhoneResourceSubscription> |
list(int phoneResourceId,
java.util.Date dateFrom,
java.util.Date dateTo,
long phone) |
Result<PhoneResourceSubscription> |
list(int phoneResourceId,
java.util.Date dateFrom,
java.util.Date dateTo,
Page page) |
java.util.Set<java.lang.Integer> |
subscribedPnones(int phoneResourceId,
java.util.Date dateFrom,
java.util.Date dateTo) |
protected void |
updateImpl(PhoneResourceSubscription b) |
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
public PhoneResourceSubscriptionDao(java.sql.Connection con, int moduleId)
protected PhoneResourceSubscription getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<PhoneResourceSubscription>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(PhoneResourceSubscription b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<PhoneResourceSubscription>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.Set<java.lang.Integer> subscribedPnones(int phoneResourceId, java.util.Date dateFrom, java.util.Date dateTo) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneResourceSubscription> list(int phoneResourceId, java.util.Date dateFrom, java.util.Date dateTo, long phone) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneResourceSubscription> list(int phoneResourceId, java.util.Date dateFrom, java.util.Date dateTo) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public Result<PhoneResourceSubscription> list(int phoneResourceId, java.util.Date dateFrom, java.util.Date dateTo, Page page) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public int deleteBySubscriberId(int subscriberId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException