Class HouseLoadManager
java.lang.Object
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, con, FIAS_CITY_MAP, FIAS_HOUSE_MAP, FIAS_HOUSE_TEMP, FIAS_STREET_MAP, FIAS_STREET_TEMP, logger, PROFILE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreateNewTempTable(Street street) voidfindHouseInFias(House house) getNextHouse(int streetId) intvoidsetHouseAndFrac(House house) voidvoidvoidupdateHouse(House house) voidupdateStreetStatus(int streetId, int status) Methods inherited from class ru.bitel.bgbilling.plugins.fias.server.bean.BaseLoadManager
clearFiasTable, exceptionLog, executeQuery, executeQuery, loadAddressObjFromRs, loadCityFromRs
-
Constructor Details
-
HouseLoadManager
-
-
Method Details
-
getStreetCountWithoutSync
public int getStreetCountWithoutSync() throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getNonSyncStreet
- Throws:
ru.bitel.bgbilling.common.BGException
-
createNewTempTable
- Throws:
ru.bitel.bgbilling.common.BGException
-
updateHouse
- Throws:
ru.bitel.bgbilling.common.BGException
-
addAllHouse
public void addAllHouse() throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getNextHouse
- Throws:
ru.bitel.bgbilling.common.BGException
-
findHouseInFias
- Throws:
ru.bitel.bgbilling.common.BGException
-
updateStreetStatus
public void updateStreetStatus(int streetId, int status) -
setHouseAndFrac
-
syncHouse
public void syncHouse(List<City> citys, boolean loadNew) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
createNewTempTableForCity
- Throws:
ru.bitel.bgbilling.common.BGException
-
syncHouseFromMapTable
public void syncHouseFromMapTable()
-