public class HouseLoadManager extends 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 and Description |
---|
HouseLoadManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
addAllHouse() |
void |
createNewTempTable(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street street) |
void |
createNewTempTableForCity(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City city) |
java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House> |
findHouseInFias(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House house) |
ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House |
getNextHouse(int streetId) |
ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street |
getNonSyncStreet() |
int |
getStreetCountWithoutSync() |
void |
setHouseAndFrac(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House house) |
void |
syncHouse(java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City> citys,
boolean loadNew) |
void |
syncHouseFromMapTable() |
void |
updateHouse(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House house) |
void |
updateStreetStatus(int streetId,
int status) |
clearFiasTable, exceptionLog, executeQuery, executeQuery, loadAddressObjFromRs, loadCityFromRs
public int getStreetCountWithoutSync() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street getNonSyncStreet() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void createNewTempTable(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street street) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateHouse(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House house) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void addAllHouse() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House getNextHouse(int streetId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House> findHouseInFias(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House house) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateStreetStatus(int streetId, int status)
public void setHouseAndFrac(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.House house)
public void syncHouse(java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City> citys, boolean loadNew) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void createNewTempTableForCity(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City city) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void syncHouseFromMapTable()