Class AreaDao
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.common.dao.AbstractDaoConstant
ru.bitel.bgbilling.common.dao.AbstractDao<Area>
ru.bitel.bgbilling.common.dao.AbstractIdDao<Area>
ru.bitel.bgbilling.common.dao.AbstractDirectoryIdDao<Area>
ru.bitel.oss.kernel.directories.address.server.bean.AbstractAddressDao<Area>
ru.bitel.oss.kernel.directories.address.server.bean.AreaDao
-
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 TypeMethodDescriptionintcityAreaCount(int cityId) protected AreagetDirectoryItemTitleImpl(String title) protected Areaprotected StringgetQuery()protected Stringlist(int cityId) listImpl(ru.bitel.bgbilling.common.dao.AbstractDao.ListParams listParams) protected AreanewBean()voidsearchAreaList(SearchResult<Area> searchResult, int cityId, String areaMask) protected <T> voidsearchStreetList(SearchResult<T> searchResult, int cityId, String mask, Function<ResultSet, T> function) protected voidupdateImpl(Area 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
-
AreaDao
-
-
Method Details
-
newBean
- Specified by:
newBeanin classAbstractAddressDao<Area>
-
searchAreaList
-
cityAreaCount
- 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
-
directoryItemsImpl
- Overrides:
directoryItemsImplin classru.bitel.bgbilling.common.dao.AbstractDirectoryIdDao<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<Area> 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)
-