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)
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 CountryQueryResults findCountries(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
CountryService
findCountries
in interface CountryService
queryByCriteria
- the criteria. Cannot be null.RiceIllegalArgumentException
public ParameterService getParameterService()
public void setParameterService(ParameterService parameterService)
public DataObjectService getDataObjectService()
public void setDataObjectService(DataObjectService dataObjectService)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.