public class CountyServiceImpl extends Object implements CountyService
| Constructor and Description |
|---|
CountyServiceImpl() |
| 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. |
DataObjectService |
getDataObjectService() |
void |
setDataObjectService(DataObjectService dataObjectService) |
public CountyServiceImpl()
public County getCounty(String countryCode, String stateCode, String code)
CountyServiceCounty 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.
getCounty in interface CountyServicecountryCode - country code. cannot be blank.stateCode - postal state code. cannot be blank.code - county code. cannot be blankCounty or nullpublic List<County> findAllCountiesInCountryAndState(String countryCode, String stateCode)
CountyServiceCounty 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.
findAllCountiesInCountryAndState in interface CountyServicecountryCode - state code. cannot be blank.stateCode - postal state code. cannot be blank.public CountyQueryResults findCounties(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
CountyServicefindCounties in interface CountyServicequeryByCriteria - the criteria. Cannot be null.RiceIllegalArgumentExceptionpublic DataObjectService getDataObjectService()
public void setDataObjectService(DataObjectService dataObjectService)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.