Class HouseLoadManager

java.lang.Object
ru.bitel.bgbilling.plugins.fias.server.bean.BaseLoadManager
ru.bitel.bgbilling.plugins.fias.server.bean.HouseLoadManager

public class HouseLoadManager
extends BaseLoadManager
  • Constructor Details

    • HouseLoadManager

      public HouseLoadManager​(java.sql.Connection con)
  • Method Details

    • getStreetCountWithoutSync

      public int getStreetCountWithoutSync() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getNonSyncStreet

      public Street getNonSyncStreet() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • createNewTempTable

      public void createNewTempTable​(Street street) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • updateHouse

      public void updateHouse​(House house) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • addAllHouse

      public void addAllHouse() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getNextHouse

      public House getNextHouse​(int streetId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • findHouseInFias

      public java.util.List<House> findHouseInFias​(House house) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • updateStreetStatus

      public void updateStreetStatus​(int streetId, int status)
    • setHouseAndFrac

      public void setHouseAndFrac​(House house)
    • syncHouse

      public void syncHouse​(java.util.List<City> citys, boolean loadNew) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • createNewTempTableForCity

      public void createNewTempTableForCity​(City city) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • syncHouseFromMapTable

      public void syncHouseFromMapTable()