public interface ZipcodesService extends hbm.service.jpa.BusinessService<Zipcodes,Integer>
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllZipcodes()
Delete all zipcodes.
|
boolean |
existsZipcode(String zipcode)
Exists zipcode.
|
List<Zipcodes> |
find(Countries country)
Finds all Zipcodes from the given Countries object.
|
List<Zipcodes> |
findAll(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.
|
Zipcodes |
findCityFromZipcode(Countries country,
String zipcode)
Find the city from the given Countries object and zipcode.
|
List<Zipcodes> |
findZipcodes(String zipcode)
Find zipcodes.
|
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<Zipcodes> findZipcodes(String zipcode)
zipcode - the zipcodeZipcodes getZipcode(String zipcode, String city)
zipcode - the zipcodecity - the cityList<Zipcodes> find(Countries country)
country - the countryZipcodes findCityFromZipcode(Countries country, String zipcode)
country - the countryzipcode - the zipcodeCopyright © 2015. All rights reserved.