|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CountyService
CountyService interface.
Method Summary | |
---|---|
List<County> |
findAllCountiesInCountryAndState(String countryCode,
String stateCode)
Gets all the County for postal country code & postal state code. |
County |
getCounty(String countryCode,
String stateCode,
String code)
Gets a County from a postal country code and postal code value. |
Method Detail |
---|
@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 blank
County
or null
IllegalArgumentException
- country code, postal state code, or county code is blank
RiceIllegalArgumentException
@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.
IllegalArgumentException
- country code, postal state code is blank
RiceIllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |