@Transactional @Service(value="addressesService") public class AddressesBusinessService extends hbm.service.jpa.AbstractBusinessService<Addresses,Integer,AddressesDao> implements AddressesService
| Constructor and Description |
|---|
AddressesBusinessService() |
delete, delete, delete, evict, exists, findAll, get, getDao, getQuery, load, merge, merge, refresh, save, save, saveOrUpdate, saveOrUpdate, setDao@Autowired public void setAddressesDao(AddressesDao addressesDao)
public Addresses createAddress(String street, String streetnumber, String addressComment, String zipcode, String city, String federalstate)
createAddress in interface AddressesServicestreet - the streetstreetnumber - the streetnumberaddressComment - the address commentzipcode - the zipcodecity - the cityfederalstate - the federalstatepublic Addresses createAddress(String street, String streetnumber, String addressComment, String zipcode, String city, String federalstate, String geohash, BigDecimal latitude, BigDecimal longitude)
createAddress in interface AddressesServicestreet - the streetstreetnumber - the streetnumberaddressComment - the address commentzipcode - the zipcodecity - the cityfederalstate - the federalstategeohash - the geohashlatitude - the latitudelongitude - the longitudepublic List<Addresses> find(String geohash, String latitude, String longitude)
find in interface AddressesServicepublic List<Zipcodes> findAllAddressesWithCountry(Countries country)
findAllAddressesWithCountry in interface AddressesServicepublic List<Addresses> findAll(Countries country)
findAll in interface AddressesServicepublic List<Addresses> findGeohashIsNull()
findGeohashIsNull in interface AddressesServicepublic List<Addresses> find(String geohash)
find in interface AddressesServicepublic List<Addresses> findNeighbourhood(String geohash)
findNeighbourhood in interface AddressesServicepublic List<Addresses> findFirstRingNeighbourhood(String geohash)
findFirstRingNeighbourhood in interface AddressesServicepublic List<Addresses> findFirstAndSecondRingNeighbourhood(String geohash)
findFirstAndSecondRingNeighbourhood in interface AddressesServicepublic List<Addresses> find(String latitude, String longitude)
find in interface AddressesServicepublic Addresses contains(String latitude, String longitude)
contains in interface AddressesServicepublic Addresses contains(Zipcodes zipcode)
contains in interface AddressesServicepublic List<Addresses> find(Zipcodes zipcode)
find in interface AddressesServicepublic List<Addresses> find(Countries country, String zipcode)
find in interface AddressesServicepublic List<Addresses> find(Countries country, String zipcode, String city)
find in interface AddressesServicepublic List<Addresses> findInvalidAddresses(Countries country, String geohash)
findInvalidAddresses in interface AddressesServicepublic List<Addresses> findInvalidAddresses(Countries country, String geohash, boolean not)
findInvalidAddresses in interface AddressesServicepublic List<Addresses> findAddressesWithSameCityname(Countries country, String city)
findAddressesWithSameCityname in interface AddressesServicepublic List<Addresses> findAddressesWithSameZipcode(Countries country, String zipcode)
findAddressesWithSameZipcode in interface AddressesServicepublic Addresses findFirst(Countries country, String zipcode)
findFirst in interface AddressesServicepublic ZipcodesService getZipcodesService()
public void setZipcodesService(ZipcodesService zipcodesService)
public FederalstatesService getFederalstatesService()
public void setFederalstatesService(FederalstatesService federalstatesService)
Copyright © 2015. All rights reserved.