Package ru.bitel.bgbilling.plugins.fias.server.bean

# Class AddressLoadManager

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.plugins.fias.server.bean.BaseLoadManager
ru.bitel.bgbilling.plugins.fias.server.bean.AddressLoadManager

public class AddressLoadManager extends BaseLoadManager

- ## 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, PROFILE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AddressLoadManager(Connection con)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `addAllTempStreet(City city)`
  `void`
  `createTempStreetTable(List<Street> streets)`
  `List<Street>`
  `findStreetInFias(Street street)`
  `List<City>`
  `getCityFromBG()`
  `List<City>`
  `getCityList()`
  `Street`
  `getNextEmptyBillingStreet(int cityId)`
  `List<Street>`
  `getStreetList(City city)`
  `boolean`
  `loadInProcess()`
  `void`
  `updateCity(City city)`
  `void`
  `updateCityBgTitle(int cityId, String name)`
  `void`
  `updateStreet(Street street)`
  `void`
  `updateStreetBgTitle(List<Street> streets)`

  ### Methods inherited from class ru.bitel.bgbilling.plugins.fias.server.bean.BaseLoadManager

  `clearFiasTable, exceptionLog, executeQuery, executeQuery, loadAddressObjFromRs, loadCityFromRs`

  ### Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger

  `error, error, error, getLogger, logError, logError`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AddressLoadManager

    public AddressLoadManager(Connection con)

- ## Method Details

  - ### updateCity

    public void updateCity(City city) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### updateStreet

    public void updateStreet(Street street) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### addAllTempStreet

    public String addAllTempStreet(City city) throws ru.bitel.bgbilling.common.BGException, SQLException
    Throws:
      `ru.bitel.bgbilling.common.BGException`
      `SQLException`

  - ### createTempStreetTable

    public void createTempStreetTable(List<Street> streets) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getNextEmptyBillingStreet

    public Street getNextEmptyBillingStreet(int cityId) throws SQLException
    Throws:
      `SQLException`

  - ### findStreetInFias

    public List<Street> findStreetInFias(Street street) throws SQLException
    Throws:
      `SQLException`

  - ### loadInProcess

    public boolean loadInProcess() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getCityFromBG

    public List<City> getCityFromBG() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getCityList

    public List<City> getCityList() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getStreetList

    public List<Street> getStreetList(City city) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### updateCityBgTitle

    public void updateCityBgTitle(int cityId, String name) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### updateStreetBgTitle

    public void updateStreetBgTitle(List<Street> streets) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`