|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.location.impl.country.CountryServiceImpl
public final class CountryServiceImpl
Constructor Summary | |
---|---|
CountryServiceImpl()
|
Method Summary | |
---|---|
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 |
Country |
getDefaultCountry()
Returns the system default country. |
ParameterService |
getParameterService()
|
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the businessObjectServiceMockFor attribute value. |
void |
setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
Sets the criteriaLookupService attribute value. |
void |
setParameterService(ParameterService parameterService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CountryServiceImpl()
Method Detail |
---|
public Country getCountry(String code)
CountryService
getCountry
in interface CountryService
code
- the given country code
public Country getCountryByAlternateCode(String alternateCode)
CountryService
getCountryByAlternateCode
in interface CountryService
alternateCode
- the given alternate country code
public 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 void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectServiceMockFor to set.public void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
criteriaLookupService
- The criteriaLookupService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |