Interface AddressService
public interface AddressService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddressEntityDataDelete(AddressEntityType addressEntityType, int recordId) addressEntityDataGet(AddressEntityType addressEntityType, int recordId) voidaddressEntityDataUpdate(AddressEntityData addressEntityData) addressEntityItems(AddressEntityType addressEntityType, int parentId) List<ru.bitel.bgbilling.common.model.KeyValue> addressFormat(EntityAttrAddress attrAddress, EntityType entityType) voidaddressImport(int mode, int id, String data) voidareaDelete(int id) areaGet(int id) areaList(int cityId) intareaUpdate(Area area) booleanvoidcityDelete(int id) cityGet(int id) cityList(int countryId) intcityUpdate(City city) voidcountryDelete(int id) countryGet(int id) intcountryUpdate(Country country) voidextraParamsUpdate(AddressEntityType addressEntityType, int recordId, List<ru.bitel.bgbilling.common.model.KeyValue> values) getCoordinatesByHouse(int houseId) houseDataGet(int id) voidhouseDelete(int id) houseGet(int id) houseIndexGet(int streetId, String houseAndFrac, int house, String frac) inthouseUpdate(House house) postIndexGet(int streetId, String houseAndFrac, int house, String frac) voidquarterDelete(int id) quarterGet(int id) quarterList(int cityId) intquarterUpdate(Quarter quarter) voidsaveCoordinates(HouseCoordinates houseCoordinates) searchAreaList(int cityId, String title, String searchMode, Page page) searchCityList(int countryId, String title, String searchMode, Page page) searchCoordinatesByHouseId(int houseId) searchCountryList(String title, String searchMode, Page page) searchQuarterList(int cityId, String title, String searchMode, Page page) searchStreetList(int cityId, String title, String searchMode, Page page) voidstreetDelete(int id) streetGet(int id) streetList(int cityId) streetSearch(int cityId, String title, String cityTitle, Page page) intstreetUpdate(Street street)
-
Method Details
-
countryGet
- Throws:
Exception
-
searchCountryList
SearchResult<Country> searchCountryList(String title, String searchMode, Page page) throws Exception - Throws:
Exception
-
countryUpdate
- Throws:
Exception
-
countryDelete
- Throws:
Exception
-
cityGet
- Throws:
Exception
-
searchCityList
SearchResult<City> searchCityList(int countryId, String title, String searchMode, Page page) throws Exception - Throws:
Exception
-
cityUpdate
- Throws:
Exception
-
cityDelete
- Throws:
Exception
-
cityList
- Throws:
Exception
-
areaGet
- Throws:
Exception
-
searchAreaList
SearchResult<Area> searchAreaList(int cityId, String title, String searchMode, Page page) throws Exception - Throws:
Exception
-
areaUpdate
- Throws:
Exception
-
areaDelete
- Throws:
Exception
-
areaList
- Throws:
Exception
-
streetGet
- Throws:
Exception
-
searchStreetList
SearchResult<Street> searchStreetList(int cityId, String title, String searchMode, Page page) throws Exception - Throws:
Exception
-
streetSearch
- Throws:
Exception
-
streetUpdate
- Throws:
Exception
-
streetDelete
- Throws:
Exception
-
streetList
- Throws:
Exception
-
quarterGet
- Throws:
Exception
-
searchQuarterList
SearchResult<Quarter> searchQuarterList(int cityId, String title, String searchMode, Page page) throws Exception - Throws:
Exception
-
quarterUpdate
- Throws:
Exception
-
quarterDelete
- Throws:
Exception
-
quarterList
- Throws:
Exception
-
postIndexGet
- Throws:
Exception
-
houseGet
- Throws:
Exception
-
houseDataGet
- Throws:
Exception
-
houseList
List<House> houseList(int cityId, int areaId, int streetId, int quarterId, int house, String frac, Page page) throws Exception - Throws:
Exception
-
houseUpdate
- Throws:
Exception
-
houseDelete
- Throws:
Exception
-
addressFormat
List<ru.bitel.bgbilling.common.model.KeyValue> addressFormat(EntityAttrAddress attrAddress, EntityType entityType) throws Exception - Throws:
Exception
-
houseIndexGet
- Throws:
Exception
-
extraParamsUpdate
void extraParamsUpdate(AddressEntityType addressEntityType, int recordId, List<ru.bitel.bgbilling.common.model.KeyValue> values) throws Exception - Throws:
Exception
-
addressEntityDataGet
AddressEntityData addressEntityDataGet(AddressEntityType addressEntityType, int recordId) throws Exception - Throws:
Exception
-
addressEntityDataUpdate
- Throws:
Exception
-
addressEntityDataDelete
- Throws:
Exception
-
addressEntityItems
List<IdTitle> addressEntityItems(AddressEntityType addressEntityType, int parentId) throws Exception - Throws:
Exception
-
addressImport
- Throws:
Exception
-
checkGarPluginInstalled
- Throws:
Exception
-
saveCoordinates
- Throws:
Exception
-
getCoordinatesByHouse
- Throws:
Exception
-
searchCoordinatesByHouseId
- Throws:
Exception
-