public final class CountryServiceImpl extends Object implements CountryService
| Constructor and Description |
|---|
CountryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Country> |
findAllCountries()
Returns all Countries
|
List<Country> |
findAllCountriesNotRestricted()
Returns all Countries that are not restricted.
|
Country |
getCountry(String code)
Lookup a country object based on the given country code.
|
Country |
getCountryByAlternateCode(String alternateCode)
Get a country object based on an alternate country code
|
Country |
getDefaultCountry()
Returns the system default country.
|
ParameterService |
getParameterService() |
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the businessObjectServiceMockFor attribute value.
|
void |
setParameterService(ParameterService parameterService) |
public CountryServiceImpl()
public Country getCountry(String code)
CountryServicegetCountry in interface CountryServicecode - the given country codepublic Country getCountryByAlternateCode(String alternateCode)
CountryServicegetCountryByAlternateCode in interface CountryServicealternateCode - the given alternate country codepublic List<Country> findAllCountriesNotRestricted()
CountryServicefindAllCountriesNotRestricted in interface CountryServicepublic List<Country> findAllCountries()
CountryServicefindAllCountries in interface CountryServicepublic Country getDefaultCountry()
CountryServicegetDefaultCountry in interface CountryServicepublic ParameterService getParameterService()
public void setParameterService(ParameterService parameterService)
public void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService - The businessObjectServiceMockFor to set.Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.