java.lang.Object
ru.bitel.bgbilling.plugins.cladr.server.dao.StreetDAO

public class StreetDAO extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    StreetDAO(Connection con, org.slf4j.Logger logger)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCity(ru.bitel.bgbilling.plugins.cladr.common.model.Address region, ru.bitel.bgbilling.plugins.cladr.common.model.Address area, ru.bitel.bgbilling.plugins.cladr.common.model.Address city, int direct, int cityId)
     
    void
    addHouseForCladr(List<ru.bitel.bgbilling.plugins.cladr.common.model.House> list)
     
    addStreeFromCladr(List<ru.bitel.bgbilling.plugins.cladr.common.model.Address> list, boolean ignoreSocr, int cityId)
     
    void
    addStreet(ru.bitel.bgbilling.plugins.cladr.common.model.Street street, boolean ignoreSocr)
     
    void
    addStreetForCladrCompare(List<ru.bitel.bgbilling.plugins.cladr.common.model.Street> list)
     
    void
    delStreet(ru.bitel.bgbilling.plugins.cladr.common.model.Street street)
     
    void
    delStreetFromCladrCompare(ru.bitel.bgbilling.plugins.cladr.common.model.Street street)
     
    List<ru.bitel.bgbilling.plugins.cladr.common.model.House>
     
    ru.bitel.bgbilling.plugins.cladr.common.model.Street
     
    getStreetCode(int streetId)
     
    List<ru.bitel.bgbilling.plugins.cladr.common.model.Street>
    getStreetNotFromCladr(ru.bitel.bgbilling.plugins.cladr.common.model.Address address, int cityId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StreetDAO

      public StreetDAO(Connection con, org.slf4j.Logger logger)
  • Method Details

    • getStreetNotFromCladr

      public List<ru.bitel.bgbilling.plugins.cladr.common.model.Street> getStreetNotFromCladr(ru.bitel.bgbilling.plugins.cladr.common.model.Address address, int cityId) throws SQLException
      Throws:
      SQLException
    • addStreetForCladrCompare

      public void addStreetForCladrCompare(List<ru.bitel.bgbilling.plugins.cladr.common.model.Street> list) throws SQLException
      Throws:
      SQLException
    • addStreet

      public void addStreet(ru.bitel.bgbilling.plugins.cladr.common.model.Street street, boolean ignoreSocr) throws SQLException
      Throws:
      SQLException
    • addStreeFromCladr

      public List<Integer> addStreeFromCladr(List<ru.bitel.bgbilling.plugins.cladr.common.model.Address> list, boolean ignoreSocr, int cityId) throws SQLException
      Throws:
      SQLException
    • delStreetFromCladrCompare

      public void delStreetFromCladrCompare(ru.bitel.bgbilling.plugins.cladr.common.model.Street street) throws SQLException
      Throws:
      SQLException
    • delStreet

      public void delStreet(ru.bitel.bgbilling.plugins.cladr.common.model.Street street) throws SQLException
      Throws:
      SQLException
    • getNextStreet

      public ru.bitel.bgbilling.plugins.cladr.common.model.Street getNextStreet() throws SQLException
      Throws:
      SQLException
    • addCity

      public void addCity(ru.bitel.bgbilling.plugins.cladr.common.model.Address region, ru.bitel.bgbilling.plugins.cladr.common.model.Address area, ru.bitel.bgbilling.plugins.cladr.common.model.Address city, int direct, int cityId) throws SQLException
      Throws:
      SQLException
    • addHouseForCladr

      public void addHouseForCladr(List<ru.bitel.bgbilling.plugins.cladr.common.model.House> list) throws SQLException
      Throws:
      SQLException
    • getStreetCode

      public String getStreetCode(int streetId) throws SQLException
      Throws:
      SQLException
    • getHouseByCode

      public List<ru.bitel.bgbilling.plugins.cladr.common.model.House> getHouseByCode(String code) throws SQLException
      Throws:
      SQLException