public class ReserveTypeDao extends ru.bitel.common.dao.AbstractIdDao<ReserveType> implements Directory<ReserveType>
| Constructor and Description |
|---|
ReserveTypeDao(java.sql.Connection con) |
| Modifier and Type | Method and Description |
|---|---|
ReserveType |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected ReserveType |
getFromRS(java.sql.ResultSet rs) |
java.util.List<ReserveType> |
list()
Получение всего списка элементов из справочника
|
java.util.List<ReserveType> |
list(boolean used) |
protected void |
updateImpl(ReserveType b) |
delete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam, updatepublic ReserveType get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
DirectoryUnsupportedOperationExceptionget in interface Directory<ReserveType>ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<ReserveType> list() throws ru.bitel.bgbilling.common.BGException
Directorylist in interface Directory<ReserveType>ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<ReserveType> list(boolean used) throws ru.bitel.bgbilling.common.BGException
used - - если true, то вернет только используемые.ru.bitel.bgbilling.common.BGExceptionprotected ReserveType getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<ReserveType>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(ReserveType b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<ReserveType>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLException