Modifier and Type | Method and Description |
---|---|
List<ZipCode> |
getByCodeAndCountry(String code,
String countryCode) |
List<ZipCode> |
getByCodeAndCountrySmart(String code,
String countryCode)
same as
getByCodeAndCountry(String, String) but do a starts with method if country is GB or CA |
List<ZipCode> |
listByCode(String code) |
count, deleteAll, deleteAll, exists, flushAndClear, get, getAll, getAllPaginate, getPersistenceClass, remove, save, setFlushMode
List<ZipCode> getByCodeAndCountry(String code, String countryCode)
code
- the zipcode to searchcountryCode
- The ISO 3166 Alpha 2 code in upper caseList<ZipCode> getByCodeAndCountrySmart(String code, String countryCode)
getByCodeAndCountry(String, String)
but do a starts with method if country is GB or CAcode
- the zipcode to searchcountryCode
- The ISO 3166 Alpha 2 code in upper caseCopyright © 2015. All rights reserved.