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)
CountryService
getCountry
in interface CountryService
code
- the given country codepublic Country getCountryByAlternateCode(String alternateCode)
CountryService
getCountryByAlternateCode
in interface CountryService
alternateCode
- the given alternate country codepublic List<Country> findAllCountriesNotRestricted()
CountryService
findAllCountriesNotRestricted
in interface CountryService
public List<Country> findAllCountries()
CountryService
findAllCountries
in interface CountryService
public Country getDefaultCountry()
CountryService
getDefaultCountry
in interface CountryService
public 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.