public class DevicePortSubscriptionDao extends ru.bitel.common.dao.AbstractDao<DevicePortSubscription>
Constructor and Description |
---|
DevicePortSubscriptionDao(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
int |
deleteBySubscriberId(int subscriberId) |
DevicePortSubscription |
get(int deviceId,
int port,
java.util.Date now) |
protected DevicePortSubscription |
getFromRS(java.sql.ResultSet rs) |
java.util.List<DevicePortSubscription> |
list(int deviceId,
int port,
java.util.Date dateFrom,
java.util.Date dateTo) |
Result<DevicePortSubscription> |
list(int deviceId,
int port,
java.util.Date dateFrom,
java.util.Date dateTo,
Page page) |
protected void |
updateImpl(DevicePortSubscription b) |
public DevicePortSubscriptionDao(java.sql.Connection con, int mid)
protected DevicePortSubscription getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<DevicePortSubscription>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(DevicePortSubscription b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<DevicePortSubscription>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<DevicePortSubscription> list(int deviceId, int port, java.util.Date dateFrom, java.util.Date dateTo) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public Result<DevicePortSubscription> list(int deviceId, int port, 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
public DevicePortSubscription get(int deviceId, int port, java.util.Date now) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException