public class ContractPatternNamedNumberDao extends ru.bitel.common.dao.AbstractIdDao<ContractPatternNamedNumber>
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 |
---|
ContractPatternNamedNumberDao(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
protected ContractPatternNamedNumber |
getFromRS(java.sql.ResultSet rs) |
ContractPatternNamedNumber |
getFromTitle(java.lang.String title) |
int |
getNextNamedNumberIndex(java.lang.String title)
Получить следующий индекс.
|
java.util.List<ContractPatternNamedNumber> |
list() |
protected void |
updateImpl(ContractPatternNamedNumber namedNumber)
Этот метод каждый реализует сам со своей логикой.
|
delete, get, getAndDelete, getAndUpdate
public ContractPatternNamedNumberDao(java.sql.Connection con)
public java.util.List<ContractPatternNamedNumber> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ContractPatternNamedNumber getFromTitle(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
title
- - название индекса.ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public int getNextNamedNumberIndex(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
title
- - название индекса.ru.bitel.bgbilling.common.BGException
- - если title = null или пустой или состоит из пробелов.java.sql.SQLException
protected void updateImpl(ContractPatternNamedNumber namedNumber) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDao
updateImpl
in class ru.bitel.common.dao.AbstractDao<ContractPatternNamedNumber>
namedNumber
- экземпляр моделиru.bitel.bgbilling.common.BGException
- ошибкиjava.sql.SQLException
- ошибкиprotected ContractPatternNamedNumber getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<ContractPatternNamedNumber>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException