public interface AddressService extends de.alpharogroup.service.domain.DomainService<Integer,Address>
AddressService.| Modifier and Type | Method and Description |
|---|---|
Address |
contains(String latitude,
String longitude)
Checks if the given latitude and longitude is contained in the database.
|
Address |
contains(Zipcode zipcode)
Checks if the given
Zipcode is contained in the database. |
List<Address> |
find(Country country,
String zipcode)
Finds a list of
Address from the given arguments. |
List<Address> |
find(Country country,
String zipcode,
String city)
Finds a list of
Address from the given arguments. |
List<Address> |
find(String geohash)
Finds a list of
Address from the given arguments. |
List<Address> |
find(String latitude,
String longitude)
Finds a list of
Address from the given latitude and longitude. |
List<Address> |
find(String geohash,
String latitude,
String longitude)
Finds a list of
Address from the given arguments. |
List<Address> |
find(Zipcode zipcode)
|
List<Address> |
findAddressesWithSameCityname(Country country,
String city)
Finds a list of
Address that have the same cityname. |
List<Address> |
findAddressesWithSameZipcode(Country country,
String zipcode)
Finds a list of
Address that have the same zipcode. |
List<Address> |
findAll(Country country)
Find all
Address with the given country. |
List<Zipcode> |
findAllAddressesWithCountry(Country country)
Find all
Zipcode with the given country. |
Address |
findFirst(Country country,
String zipcode)
Finds the first
Address from the given arguments. |
List<Address> |
findFirstAndSecondRingNeighbourhood(String geohash)
Finds a list of
Address from the first and second ring neighbourhood areas of the
given geohash. |
List<Address> |
findFirstRingNeighbourhood(String geohash)
Finds a list of
Address from the first ring neighbourhood areas of the given geohash. |
List<Address> |
findGeohashIsNull()
Find all addresses that have a geohash value that is null.
|
List<Address> |
findInvalidAddresses(Country country,
String geohash)
Find invalid
Address objects from the given arguments. |
List<Address> |
findInvalidAddresses(Country country,
String geohash,
boolean not)
Find invalid
Address objects from the given arguments. |
List<Address> |
findNeighbourhood(String geohash)
Finds a list of
Address from the neighbourhood areas of the given geohash. |
Address contains(String latitude, String longitude)
latitude - the latitudelongitude - the longitudeAddress contains(Zipcode zipcode)
Zipcode is contained in the database.zipcode - the zipcodeAddressList<Address> find(Country country, String zipcode)
Address from the given arguments.country - the countryzipcode - the zipcodeAddressList<Address> find(Country country, String zipcode, String city)
Address from the given arguments.country - the countryzipcode - the zipcodecity - the cityAddressList<Address> find(String geohash)
Address from the given arguments.geohash - the geohashAddressList<Address> find(String latitude, String longitude)
Address from the given latitude and longitude.latitude - the latitudelongitude - the longitudeAddressList<Address> find(String geohash, String latitude, String longitude)
Address from the given arguments.geohash - the geohashlatitude - the latitudelongitude - the longitudeAddressList<Address> find(Zipcode zipcode)
zipcode - the zipcodeAddressList<Address> findAddressesWithSameCityname(Country country, String city)
Address that have the same cityname.country - the countrycity - the cityAddressList<Address> findAddressesWithSameZipcode(Country country, String zipcode)
Address that have the same zipcode.country - the countryzipcode - the zipcodeAddressList<Address> findAll(Country country)
Address with the given country.country - the countryList<Zipcode> findAllAddressesWithCountry(Country country)
Zipcode with the given country.country - the countyZipcodeAddress findFirst(Country country, String zipcode)
Address from the given arguments.country - the countryzipcode - the zipcodeAddressList<Address> findFirstAndSecondRingNeighbourhood(String geohash)
Address from the first and second ring neighbourhood areas of the
given geohash.geohash - the geohashAddressList<Address> findFirstRingNeighbourhood(String geohash)
Address from the first ring neighbourhood areas of the given geohash.geohash - the geohashAddressList<Address> findGeohashIsNull()
AddressList<Address> findInvalidAddresses(Country country, String geohash)
Address objects from the given arguments.country - the countrygeohash - the geohashList<Address> findInvalidAddresses(Country country, String geohash, boolean not)
Address objects from the given arguments.country - the countrygeohash - the geohashnot - the flag that indicates a negation from the geohash valueAddressCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.