Class StreetDao
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.common.dao.AbstractDaoConstant
ru.bitel.bgbilling.common.dao.AbstractDao<Street>
ru.bitel.bgbilling.common.dao.AbstractIdDao<Street>
ru.bitel.bgbilling.common.dao.AbstractDirectoryIdDao<Street>
ru.bitel.oss.kernel.directories.address.server.bean.AbstractAddressDao<Street>
ru.bitel.oss.kernel.directories.address.server.bean.StreetDao
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.bgbilling.common.dao.AbstractDao
ru.bitel.bgbilling.common.dao.AbstractDao.ListParams -
Field Summary
Fields inherited from class ru.bitel.bgbilling.common.dao.AbstractDao
orderByPatternFields inherited from class ru.bitel.bgbilling.common.dao.AbstractDaoConstant
con, ERROR, fields, moduleId, SQL_ALL, SQL_AND, SQL_DELETE, SQL_DISTINCT, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_JOIN, SQL_LEFT_JOIN, SQL_LIMIT, SQL_NOT_IN, SQL_ON, SQL_ON_DUPLICATE_KEY_UPDATE, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_VALUES, SQL_WHERE, tableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcityStreetCount(int cityId) protected StreetgetDirectoryItemTitleImpl(String title) protected StreetgetPostIndex(int streetId) protected StringgetQuery()protected Stringlist(int cityId) listImpl(ru.bitel.bgbilling.common.dao.AbstractDao.ListParams listParams) protected StreetnewBean()voidsearchStreetList(SearchResult<Street> searchResult, int cityId, String streetMask) protected <T> voidsearchStreetList(SearchResult<T> searchResult, int cityId, String mask, Function<ResultSet, T> function) protected voidupdateImpl(Street b) Methods inherited from class ru.bitel.oss.kernel.directories.address.server.bean.AbstractAddressDao
deleteRows, get, getBaseFromRS, getEntityCountMethods inherited from class ru.bitel.bgbilling.common.dao.AbstractDirectoryIdDao
deleteDirectoryItem, directoryItems, getDirectoryItem, getDirectoryItem, getDirectoryItemIdImpl, updateDirectoryItemMethods inherited from class ru.bitel.bgbilling.common.dao.AbstractIdDao
delete, executeUpdate, get, getAndDelete, getAndUpdate, loadData, opt, prepareStatement, sqlCommand, sqlCommandAndTable, sqlInsertValues, sqlQuery, sqlUpdateSet, sqlWhereIdMethods inherited from class ru.bitel.bgbilling.common.dao.AbstractDao
deleteImpl, dropTemporaryTable, eq, getById, getImpl, getListFromRS, getPeriod, getQueryWithFilter, getSQLOrder, list, list, listCountImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, queryPeriod, setPageRecordCount, updateMethods inherited from class ru.bitel.bgbilling.common.dao.AbstractDaoConstant
delete, delete, getSQLOrder, getSQLOrderFields, getTableName, psSetDate, psSetDateOrNull, psSetInt, psSetIntOrNull, psSetPeriod, psSetString, psSetStringOrNull, psSetTimestampOrNull, queryAndIn, setStatementParamMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.bitel.bgbilling.kernel.directory.api.common.bean.Directory
deleteDirectoryItem, directoryItems, getDirectoryItem, getDirectoryItem, optDirectoryItem, updateDirectoryItem
-
Constructor Details
-
StreetDao
-
-
Method Details
-
newBean
- Specified by:
newBeanin classAbstractAddressDao<Street>
-
getPostIndex
- Throws:
ru.bitel.bgbilling.common.BGException
-
search
- Throws:
Exception
-
directoryItemsImpl
- Throws:
SQLException
-
searchStreetList
-
cityStreetCount
- Throws:
SQLException
-
getFromRS
- Specified by:
getFromRSin classru.bitel.bgbilling.common.dao.AbstractDao<B extends CityItem>- Throws:
SQLException
-
updateImpl
- Specified by:
updateImplin classru.bitel.bgbilling.common.dao.AbstractDao<B extends CityItem>- Throws:
SQLException
-
getDirectoryItemTitleImpl
- Overrides:
getDirectoryItemTitleImplin classru.bitel.bgbilling.common.dao.AbstractDirectoryIdDao<B extends CityItem>- Throws:
SQLException
-
get
- Throws:
SQLException
-
list
- Throws:
SQLException
-
list
- Throws:
SQLException
-
list
- Overrides:
listin classru.bitel.bgbilling.common.dao.AbstractDao<B extends CityItem>- Throws:
SQLException
-
listImpl
protected List<Street> listImpl(ru.bitel.bgbilling.common.dao.AbstractDao.ListParams listParams) throws SQLException - Overrides:
listImplin classru.bitel.bgbilling.common.dao.AbstractDao<B extends CityItem>- Throws:
SQLException
-
getQueryById
- Overrides:
getQueryByIdin classru.bitel.bgbilling.common.dao.AbstractDao<B extends CityItem>
-
getQuery
- Overrides:
getQueryin classAbstractAddressDao<B extends CityItem>
-
searchStreetList
protected <T> void searchStreetList(SearchResult<T> searchResult, int cityId, String mask, Function<ResultSet, T> function)
-