public class VlanResourceDao extends ru.bitel.common.dao.AbstractIdDao<VlanResource>
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, logger, mid, moduleId, orderByPattern, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_WHERE, tableName| Constructor and Description |
|---|
VlanResourceDao(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
protected VlanResource |
getFromRS(java.sql.ResultSet rs) |
java.util.List<VlanResource> |
list() |
java.util.List<VlanResource> |
list(int categoryId) |
java.util.List<VlanResource> |
list(java.util.Set<java.lang.Integer> categoryIds) |
protected void |
updateImpl(VlanResource b)
Этот метод каждый реализует сам со своей логикой.
|
delete, get, getAndDelete, getAndUpdateprotected VlanResource getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<VlanResource>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(VlanResource b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDaoupdateImpl in class ru.bitel.common.dao.AbstractDao<VlanResource>b - экземпляр моделиru.bitel.bgbilling.common.BGException - ошибкиjava.sql.SQLException - ошибкиpublic java.util.List<VlanResource> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<VlanResource> list(int categoryId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<VlanResource> list(java.util.Set<java.lang.Integer> categoryIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException