Interface AddressService


public interface AddressService
  • Method Details

    • countryGet

      Country countryGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • searchCountryList

      SearchResult<Country> searchCountryList(String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • countryUpdate

      int countryUpdate(Country country) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • countryDelete

      void countryDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • cityGet

      City cityGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • searchCityList

      SearchResult<City> searchCityList(int countryId, String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • cityUpdate

      int cityUpdate(City city) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • cityDelete

      void cityDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • cityList

      List<City> cityList(int countryId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGException
    • areaGet

      Area areaGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • searchAreaList

      SearchResult<Area> searchAreaList(int cityId, String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • areaUpdate

      int areaUpdate(Area area) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • areaDelete

      void areaDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • areaList

      List<Area> areaList(int cityId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • streetGet

      Street streetGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • searchStreetList

      SearchResult<Street> searchStreetList(int cityId, String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • streetSearch

      List<Street> streetSearch(int cityId, String title, String cityTitle, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • streetUpdate

      int streetUpdate(Street street) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • streetDelete

      void streetDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • streetList

      List<Street> streetList(int cityId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • quarterGet

      Quarter quarterGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • searchQuarterList

      SearchResult<Quarter> searchQuarterList(int cityId, String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • quarterUpdate

      int quarterUpdate(Quarter quarter) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • quarterDelete

      void quarterDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • quarterList

      List<Quarter> quarterList(int cityId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • postIndexGet

      String postIndexGet(int streetId, String houseAndFrac, int house, String frac) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • houseGet

      House houseGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • houseDataGet

      HouseData houseDataGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • houseList

      List<House> houseList(int cityId, int areaId, int streetId, int quarterId, int house, String frac, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • houseUpdate

      int houseUpdate(House house) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • houseDelete

      void houseDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • addressFormat

      List<ru.bitel.bgbilling.common.model.KeyValue> addressFormat(EntityAttrAddress attrAddress, EntityType entityType) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • houseIndexGet

      String houseIndexGet(int streetId, String houseAndFrac, int house, String frac) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • extraParamsUpdate

      void extraParamsUpdate(AddressEntityType addressEntityType, int recordId, List<ru.bitel.bgbilling.common.model.KeyValue> values) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • addressEntityDataGet

      AddressEntityData addressEntityDataGet(AddressEntityType addressEntityType, int recordId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • addressEntityDataUpdate

      void addressEntityDataUpdate(AddressEntityData addressEntityData) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • addressEntityDataDelete

      void addressEntityDataDelete(AddressEntityType addressEntityType, int recordId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • addressEntityItems

      List<IdTitle> addressEntityItems(AddressEntityType addressEntityType, int parentId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException
    • addressImport

      void addressImport(int mode, int id, String data) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.common.BGMessageException