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