public interface CountyService
CountyService interface.
| Modifier and Type | Method and Description |
|---|---|
List<County> |
findAllCountiesInCountryAndState(String countryCode,
String stateCode)
Gets all the
County for postal country code & postal state code. |
CountyQueryResults |
findCounties(QueryByCriteria queryByCriteria)
This method find Counties based on a query criteria.
|
County |
getCounty(String countryCode,
String stateCode,
String code)
Gets a
County from a postal country code and postal code value. |
@Cacheable(value="http://rice.kuali.org/location/v2_0/CountyType",
key="\'countryCode=\' + #p0 + \'|\' + \'stateCode=\' + #p1 + \'|\' + \'code=\' + #p3")
County getCounty(String countryCode,
String stateCode,
String code)
throws RiceIllegalArgumentException
County from a postal country code and postal code value.
This method will return null if the state does not exist.
This method will return active or inactive counties.
countryCode - country code. cannot be blank.stateCode - postal state code. cannot be blank.code - county code. cannot be blankCounty or nullRiceIllegalArgumentException - country code, postal state code, or county code is blank@Cacheable(value="http://rice.kuali.org/location/v2_0/CountyType",
key="\'countryCode=\' + #p0 + \'|\' + \'stateCode=\' + #p1")
List<County> findAllCountiesInCountryAndState(String countryCode,
String stateCode)
throws RiceIllegalArgumentException
County for postal country code & postal state code.
This method will always return an immutable Collection even when no values exist.
This method will only return active counties.
countryCode - state code. cannot be blank.stateCode - postal state code. cannot be blank.RiceIllegalArgumentException - country code, postal state code is blankCountyQueryResults findCounties(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
queryByCriteria - the criteria. Cannot be null.IllegalArgumentException - if the queryByCriteria is nullRiceIllegalArgumentExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.