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.
|
CountryQueryResults |
findCountries(QueryByCriteria queryByCriteria)
This method find Countries based on a query criteria.
|
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
|
DataObjectService |
getDataObjectService() |
Country |
getDefaultCountry()
Returns the system default country.
|
ParameterService |
getParameterService() |
void |
setDataObjectService(DataObjectService dataObjectService) |
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 CountryQueryResults findCountries(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
CountryServicefindCountries in interface CountryServicequeryByCriteria - the criteria. Cannot be null.RiceIllegalArgumentExceptionpublic ParameterService getParameterService()
public void setParameterService(ParameterService parameterService)
public DataObjectService getDataObjectService()
public void setDataObjectService(DataObjectService dataObjectService)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.