public class DealerDao extends ru.bitel.common.dao.AbstractDao<Dealer>
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 |
---|
DealerDao(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
Dealer |
get(int id) |
protected Dealer |
getFromRS(java.sql.ResultSet rs) |
java.util.List<Dealer> |
list(int type) |
protected void |
updateImpl(Dealer dealer)
Этот метод каждый реализует сам со своей логикой.
|
protected Dealer getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<Dealer>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(Dealer dealer) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDao
updateImpl
in class ru.bitel.common.dao.AbstractDao<Dealer>
dealer
- экземпляр моделиru.bitel.bgbilling.common.BGException
- ошибкиjava.sql.SQLException
- ошибкиpublic java.util.List<Dealer> list(int type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public Dealer get(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException