| Constructor and Description |
|---|
StreetDao(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.lang.String |
getPostIndex(int streetId) |
java.util.List<B> |
list()
Получение всего списка элементов из справочника
|
java.util.List<B> |
list(int cityId,
java.lang.String title) |
protected Street |
newBean() |
java.util.List<Street> |
search(int cityId,
java.lang.String title,
java.lang.String cityTitle,
Page page) |
protected void |
updateImpl(B b) |
delete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam, updateprotected Street newBean()
public java.lang.String getPostIndex(int streetId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<Street> search(int cityId, java.lang.String title, java.lang.String cityTitle, Page page) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected 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
public java.util.List<B> list()
throws ru.bitel.bgbilling.common.BGException
Directorypublic B get(java.lang.String title)
throws ru.bitel.bgbilling.common.BGException
DirectoryUnsupportedOperationExceptionpublic java.util.List<B> list(int cityId,
java.lang.String title)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException