org.kuali.rice.shareddata.impl.county
Class CountyServiceImpl
java.lang.Object
org.kuali.rice.shareddata.impl.county.CountyServiceImpl
- All Implemented Interfaces:
- CountyService
public class CountyServiceImpl
- extends Object
- implements CountyService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
businessObjectService
private BusinessObjectService businessObjectService
CountyServiceImpl
public CountyServiceImpl()
getCounty
public County getCounty(String countryCode,
String stateCode,
String code)
- Description copied from interface:
CountyService
- Gets a
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.
- Specified by:
getCounty
in interface CountyService
- Parameters:
countryCode
- country code. cannot be blank.stateCode
- postal state code. cannot be blank.code
- county code. cannot be blank
- Returns:
- a
County
or null
findAllCountiesInCountryAndState
public List<County> findAllCountiesInCountryAndState(String countryCode,
String stateCode)
- Description copied from interface:
CountyService
- Gets all the
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.
- Specified by:
findAllCountiesInCountryAndState
in interface CountyService
- Parameters:
countryCode
- state code. cannot be blank.stateCode
- postal state code. cannot be blank.
- Returns:
- an immutable collection of counties
setBusinessObjectService
public void setBusinessObjectService(BusinessObjectService businessObjectService)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.