public interface ZipcodesService extends de.alpharogroup.db.service.api.BusinessService<de.alpharogroup.address.book.entities.Zipcodes,Integer>
ZipcodesService.| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllZipcodes()
Delete all zipcodes.
|
boolean |
existsZipcode(String zipcode)
Checks if the given zipcode string exists.
|
List<de.alpharogroup.address.book.entities.Zipcodes> |
find(de.alpharogroup.address.book.entities.Countries country)
Finds all
Zipcodes from the given Countries object. |
List<de.alpharogroup.address.book.entities.Zipcodes> |
findAll(de.alpharogroup.address.book.entities.Countries country,
String zipcode,
String city)
Gets a List from Zipcodes with the given parameters that can be null if they shell be ignored
in the query.
|
de.alpharogroup.address.book.entities.Zipcodes |
findCityFromZipcode(de.alpharogroup.address.book.entities.Countries country,
String zipcode)
Find the city from the given Countries object and zipcode.
|
List<de.alpharogroup.address.book.entities.Zipcodes> |
findZipcodes(String zipcode)
Find
Zipcodes objects from the given zipcode string. |
de.alpharogroup.address.book.entities.Zipcodes |
getZipcode(String zipcode,
String city)
Gets the
Zipcodes object from the given zipcode string and city. |
void deleteAllZipcodes()
boolean existsZipcode(String zipcode)
zipcode - the zipcodeList<de.alpharogroup.address.book.entities.Zipcodes> find(de.alpharogroup.address.book.entities.Countries country)
Zipcodes from the given Countries object.country - the countryZipcodesList<de.alpharogroup.address.book.entities.Zipcodes> findAll(de.alpharogroup.address.book.entities.Countries country, String zipcode, String city)
country - the countryzipcode - the zipcodecity - the cityZipcodesde.alpharogroup.address.book.entities.Zipcodes findCityFromZipcode(de.alpharogroup.address.book.entities.Countries country,
String zipcode)
country - the countryzipcode - the zipcodeZipcodesList<de.alpharogroup.address.book.entities.Zipcodes> findZipcodes(String zipcode)
Zipcodes objects from the given zipcode string.zipcode - the zipcodeZipcodesCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.