@Transactional @Service(value="addressesDomainService") public class AddressesDomainService extends de.alpharogroup.service.domain.AbstractDomainService<Integer,Address,de.alpharogroup.address.book.entities.Addresses,de.alpharogroup.address.book.daos.AddressesDao,AddressesMapper> implements AddressService
AddressesDomainService.| Constructor and Description |
|---|
AddressesDomainService() |
| 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. |
void |
setAddressesDao(de.alpharogroup.address.book.daos.AddressesDao addressesDao)
Sets the specific
AddressesDao. |
void |
setAddressesMapper(AddressesMapper addressesMapper)
Sets the specific
AddressesMapper. |
create, delete, exists, findAll, getDao, getDomainObjectClass, getEntityClass, getMapper, persist, read, setDao, setMapper, updatepublic Address contains(String latitude, String longitude)
contains in interface AddressServicelatitude - the latitudelongitude - the longitudepublic Address contains(Zipcode zipcode)
Zipcode is contained in the database.contains in interface AddressServicezipcode - the zipcodeAddresspublic List<Address> find(Country country, String zipcode)
Address from the given arguments.find in interface AddressServicecountry - the countryzipcode - the zipcodeAddresspublic List<Address> find(Country country, String zipcode, String city)
Address from the given arguments.find in interface AddressServicecountry - the countryzipcode - the zipcodecity - the cityAddresspublic List<Address> find(String geohash)
Address from the given arguments.find in interface AddressServicegeohash - the geohashAddresspublic List<Address> find(String latitude, String longitude)
Address from the given latitude and longitude.find in interface AddressServicelatitude - the latitudelongitude - the longitudeAddresspublic List<Address> find(String geohash, String latitude, String longitude)
Address from the given arguments.find in interface AddressServicegeohash - the geohashlatitude - the latitudelongitude - the longitudeAddresspublic List<Address> find(Zipcode zipcode)
find in interface AddressServicezipcode - the zipcodeAddresspublic List<Address> findAddressesWithSameCityname(Country country, String city)
Address that have the same cityname.findAddressesWithSameCityname in interface AddressServicecountry - the countrycity - the cityAddresspublic List<Address> findAddressesWithSameZipcode(Country country, String zipcode)
Address that have the same zipcode.findAddressesWithSameZipcode in interface AddressServicecountry - the countryzipcode - the zipcodeAddresspublic List<Address> findAll(Country country)
Address with the given country.findAll in interface AddressServicecountry - the countrypublic List<Zipcode> findAllAddressesWithCountry(Country country)
Zipcode with the given country.findAllAddressesWithCountry in interface AddressServicecountry - the countyZipcodepublic Address findFirst(Country country, String zipcode)
Address from the given arguments.findFirst in interface AddressServicecountry - the countryzipcode - the zipcodeAddresspublic List<Address> findFirstAndSecondRingNeighbourhood(String geohash)
Address from the first and second ring neighbourhood areas of the
given geohash.findFirstAndSecondRingNeighbourhood in interface AddressServicegeohash - the geohashAddresspublic List<Address> findFirstRingNeighbourhood(String geohash)
Address from the first ring neighbourhood areas of the given geohash.findFirstRingNeighbourhood in interface AddressServicegeohash - the geohashAddresspublic List<Address> findGeohashIsNull()
findGeohashIsNull in interface AddressServiceAddresspublic List<Address> findInvalidAddresses(Country country, String geohash)
Address objects from the given arguments.findInvalidAddresses in interface AddressServicecountry - the countrygeohash - the geohashpublic List<Address> findInvalidAddresses(Country country, String geohash, boolean not)
Address objects from the given arguments.findInvalidAddresses in interface AddressServicecountry - the countrygeohash - the geohashnot - the flag that indicates a negation from the geohash valueAddresspublic List<Address> findNeighbourhood(String geohash)
Address from the neighbourhood areas of the given geohash.findNeighbourhood in interface AddressServicegeohash - the geohashAddress@Autowired public void setAddressesDao(de.alpharogroup.address.book.daos.AddressesDao addressesDao)
AddressesDao.addressesDao - the new AddressesDao.@Autowired public void setAddressesMapper(AddressesMapper addressesMapper)
AddressesMapper.addressesMapper - the new AddressesMapper.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.