public interface ZipcodeService extends de.alpharogroup.service.domain.DomainService<Integer,Zipcode>
ZipcodeService.| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllZipcodes()
Delete all zipcodes.
|
boolean |
existsZipcode(String zipcode)
Checks if the given zipcode string exists.
|
List<Zipcode> |
find(Country country)
|
List<Zipcode> |
findAll(Country country,
String zipcode,
String city)
Gets a List of
Zipcode with the given parameters that can be null if they shell be
ignored in the query. |
Zipcode |
findCityFromZipcode(Country country,
String zipcode)
|
List<Zipcode> |
findZipcodes(String zipcode)
Find
Zipcode objects from the given zipcode string. |
Zipcode |
getZipcode(String zipcode,
String city)
Gets the
Zipcode object from the given zipcode string and city. |
void deleteAllZipcodes()
boolean existsZipcode(String zipcode)
zipcode - the zipcodeList<Zipcode> find(Country country)
country - the countryZipcodeList<Zipcode> findAll(Country country, String zipcode, String city)
Zipcode with the given parameters that can be null if they shell be
ignored in the query.country - the countryzipcode - the zipcodecity - the cityZipcodeZipcode findCityFromZipcode(Country country, String zipcode)
country - the countryzipcode - the zipcodeZipcodeList<Zipcode> findZipcodes(String zipcode)
Zipcode objects from the given zipcode string.zipcode - the zipcodeZipcodeCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.