public class PhoneResourceDao extends ru.bitel.common.dao.AbstractIdDao<PhoneResource>
Constructor and Description |
---|
PhoneResourceDao(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
protected PhoneResource |
getFromRS(java.sql.ResultSet rs) |
void |
importData(int categoryId,
java.lang.String importData) |
java.util.List<PhoneResource> |
list() |
java.util.List<PhoneResource> |
list(java.util.Date dateFrom,
java.util.Date dateTo) |
java.util.List<PhoneResource> |
list(int categoryId) |
java.util.List<PhoneResource> |
list(int categoryId,
java.util.Date date) |
java.util.List<PhoneResource> |
list(java.util.Set<java.lang.Integer> categoryIds) |
protected void |
updateImpl(PhoneResource b) |
delete, get, getAndDelete, getAndUpdate
protected PhoneResource getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<PhoneResource>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(PhoneResource b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<PhoneResource>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<PhoneResource> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneResource> list(int categoryId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneResource> list(int categoryId, java.util.Date date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneResource> list(java.util.Date dateFrom, java.util.Date dateTo) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneResource> list(java.util.Set<java.lang.Integer> categoryIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void importData(int categoryId, java.lang.String importData) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException