public class AreaDao
extends ru.bitel.common.dao.AbstractIdDao<B>
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 |
---|
AreaDao(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
B |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected B |
getFromRS(java.sql.ResultSet rs) |
java.util.List<B> |
list()
Получение всего списка элементов из справочника
|
java.util.List<B> |
list(int cityId,
java.lang.String title) |
protected Area |
newBean() |
protected void |
updateImpl(B b)
Этот метод каждый реализует сам со своей логикой.
|
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getSQLOrder, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam, update
protected Area newBean()
protected B getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
protected void updateImpl(B b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDao
public java.util.List<B> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directory
public B get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directory
UnsupportedOperationException
public java.util.List<B> list(int cityId, java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException