Class HouseLoadManager
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.common.dao.AbstractDaoConstant
ru.bitel.bgbilling.plugins.fias.server.bean.BaseLoadManager
ru.bitel.bgbilling.plugins.fias.server.bean.HouseLoadManager
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.plugins.fias.server.bean.BaseLoadManager
ADDRESS_CITY, ADDRESS_HOUSE, ADDRESS_STREET, FIAS_CITY_MAP, FIAS_HOUSE_MAP, FIAS_HOUSE_TEMP, FIAS_STREET_MAP, FIAS_STREET_TEMP, PROFILEFields 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 TypeMethodDescriptionvoidvoidcreateNewTempTable(FiasStreet street) voidfindHouseInFias(FiasHouse house) getNextHouse(int streetId) intvoidsetHouseAndFrac(FiasHouse house) voidvoidvoidupdateHouse(FiasHouse house) voidupdateStreetStatus(int streetId, int status) Methods inherited from class ru.bitel.bgbilling.plugins.fias.server.bean.BaseLoadManager
clearFiasTable, exceptionLog, executeQuery, executeQuery, loadAddressObjFromRs, loadCityFromRsMethods inherited from class ru.bitel.bgbilling.common.dao.AbstractDaoConstant
getPeriod, getPlaceholders, getSQLOrder, getSQLOrderFields, getTableName, psSetDate, psSetDateOrNull, psSetInt, psSetIntOrNull, psSetPeriod, psSetString, psSetStringOrNull, psSetTimestampOrNull, queryAndIn, setStatementParam, sqlDelete, sqlDeleteBatch, sqlInsert, sqlInsertBatch, sqlInsertGetId, sqlInsertOnDuplicateKeyUpdate, sqlInsertUpdateById, sqlUpdate, sqlUpdateBatchMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
HouseLoadManager
-
-
Method Details
-
getStreetCountWithoutSync
- Throws:
Exception
-
getNonSyncStreet
- Throws:
Exception
-
createNewTempTable
- Throws:
ru.bitel.bgbilling.common.BGException
-
updateHouse
- Throws:
Exception
-
addAllHouse
- Throws:
Exception
-
getNextHouse
- Throws:
ru.bitel.bgbilling.common.BGException
-
findHouseInFias
public List<FiasHouse> findHouseInFias(FiasHouse house) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
updateStreetStatus
- Throws:
SQLException
-
setHouseAndFrac
-
syncHouse
- Throws:
Exception
-
createNewTempTableForCity
- Throws:
ru.bitel.bgbilling.common.BGException
-
syncHouseFromMapTable
public void syncHouseFromMapTable()
-