public class AddressesRestResource extends de.alpharogroup.service.rs.AbstractRestfulResource<Integer,de.alpharogroup.address.book.domain.Address,de.alpharogroup.address.book.service.api.AddressService> implements AddressesResource
AddressesRestResource provides an implementation of the inteface
AddressesResource.| Constructor and Description |
|---|
AddressesRestResource() |
| Modifier and Type | Method and Description |
|---|---|
de.alpharogroup.address.book.domain.Address |
contains(String latitude,
String longitude)
Checks if the given latitude and longitude is contained in the database.
|
de.alpharogroup.address.book.domain.Address |
contains(de.alpharogroup.address.book.domain.Zipcode zipcode)
Checks if the given
Zipcode is contained in the database and return the first
occurence. |
List<de.alpharogroup.address.book.domain.Address> |
find(AddressSearchCriteria addressSearchCriteria)
Finds a list of
Address from the given arguments. |
List<de.alpharogroup.address.book.domain.Address> |
find(String geohash)
Finds a list of
Address from the given geohash. |
List<de.alpharogroup.address.book.domain.Address> |
find(String latitude,
String longitude)
Finds a list of
Address from the given latitude and longitude. |
List<de.alpharogroup.address.book.domain.Address> |
find(de.alpharogroup.address.book.domain.Zipcode zipcode)
Finds a list of
Address from the given Zipcode object. |
List<de.alpharogroup.address.book.domain.Address> |
findAll(de.alpharogroup.address.book.domain.Country country)
Find all
Address with the given country. |
List<de.alpharogroup.address.book.domain.Zipcode> |
findAllAddressesWithCountry(de.alpharogroup.address.book.domain.Country country)
Find all
Zipcode with the given country. |
de.alpharogroup.address.book.domain.Address |
findFirst(AddressSearchCriteria addressSearchCriteria)
Finds the first
Address from the given arguments. |
List<de.alpharogroup.address.book.domain.Address> |
findFirstAndSecondRingNeighbourhood(String geohash)
Finds a list of
Address from the first and second ring neighbourhood areas of the
given geohash. |
List<de.alpharogroup.address.book.domain.Address> |
findFirstRingNeighbourhood(String geohash)
Finds a list of
Address from the first ring neighbourhood areas of the given geohash. |
List<de.alpharogroup.address.book.domain.Address> |
findGeohashIsNull()
Find all addresses that have a geohash value that is null.
|
List<de.alpharogroup.address.book.domain.Address> |
findNeighbourhood(String geohash)
Finds a list of
Address from the neighbourhood areas of the given geohash. |
create, delete, getDomainService, read, setDomainService, updatepublic de.alpharogroup.address.book.domain.Address contains(String latitude, String longitude)
contains in interface AddressesResourcelatitude - the latitudelongitude - the longitudepublic de.alpharogroup.address.book.domain.Address contains(de.alpharogroup.address.book.domain.Zipcode zipcode)
Zipcode is contained in the database and return the first
occurence.contains in interface AddressesResourcezipcode - the zipcodeAddresspublic List<de.alpharogroup.address.book.domain.Address> find(AddressSearchCriteria addressSearchCriteria)
Address from the given arguments.find in interface AddressesResourceaddressSearchCriteria - the address search criteriaAddresspublic List<de.alpharogroup.address.book.domain.Address> find(String geohash)
Address from the given geohash.find in interface AddressesResourcegeohash - the geohashAddresspublic List<de.alpharogroup.address.book.domain.Address> find(String latitude, String longitude)
Address from the given latitude and longitude.find in interface AddressesResourcelatitude - the latitudelongitude - the longitudeAddresspublic List<de.alpharogroup.address.book.domain.Address> find(de.alpharogroup.address.book.domain.Zipcode zipcode)
Address from the given Zipcode object.find in interface AddressesResourcezipcode - the zipcodeAddresspublic List<de.alpharogroup.address.book.domain.Address> findAll(de.alpharogroup.address.book.domain.Country country)
Address with the given country.findAll in interface AddressesResourcecountry - the countrypublic List<de.alpharogroup.address.book.domain.Zipcode> findAllAddressesWithCountry(de.alpharogroup.address.book.domain.Country country)
Zipcode with the given country.findAllAddressesWithCountry in interface AddressesResourcecountry - the countyZipcodepublic de.alpharogroup.address.book.domain.Address findFirst(AddressSearchCriteria addressSearchCriteria)
Address from the given arguments.findFirst in interface AddressesResourceaddressSearchCriteria - the address search criteriaAddresspublic List<de.alpharogroup.address.book.domain.Address> findFirstAndSecondRingNeighbourhood(String geohash)
Address from the first and second ring neighbourhood areas of the
given geohash.findFirstAndSecondRingNeighbourhood in interface AddressesResourcegeohash - the geohashAddresspublic List<de.alpharogroup.address.book.domain.Address> findFirstRingNeighbourhood(String geohash)
Address from the first ring neighbourhood areas of the given geohash.findFirstRingNeighbourhood in interface AddressesResourcegeohash - the geohashAddresspublic List<de.alpharogroup.address.book.domain.Address> findGeohashIsNull()
findGeohashIsNull in interface AddressesResourceAddresspublic List<de.alpharogroup.address.book.domain.Address> findNeighbourhood(String geohash)
Address from the neighbourhood areas of the given geohash.findNeighbourhood in interface AddressesResourcegeohash - the geohashAddressCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.