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