@Component(value="s2SLocationService") public class S2SLocationServiceImpl extends Object implements S2SLocationService
Constructor and Description |
---|
S2SLocationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
org.kuali.coeus.common.api.country.CountryContract |
getCountryFromCode(String countryCode)
This method is to get a Country object from the country code
|
org.kuali.coeus.common.api.country.KcCountryService |
getKcCountryService() |
org.kuali.coeus.common.api.state.KcStateService |
getKcStateService() |
org.kuali.coeus.common.api.state.StateContract |
getStateFromName(String countryAlternateCode,
String stateName)
This method is to get a State object from the state name
|
void |
setKcCountryService(org.kuali.coeus.common.api.country.KcCountryService kcCountryService) |
void |
setKcStateService(org.kuali.coeus.common.api.state.KcStateService kcStateService) |
public S2SLocationServiceImpl()
public org.kuali.coeus.common.api.country.CountryContract getCountryFromCode(String countryCode)
getCountryFromCode
in interface S2SLocationService
countryCode
- country code for the country.public org.kuali.coeus.common.api.state.StateContract getStateFromName(String countryAlternateCode, String stateName)
getStateFromName
in interface S2SLocationService
stateName
- Name of the statecountryAlternateCode
- country 3-character codepublic org.kuali.coeus.common.api.state.KcStateService getKcStateService()
public void setKcStateService(org.kuali.coeus.common.api.state.KcStateService kcStateService)
public org.kuali.coeus.common.api.country.KcCountryService getKcCountryService()
public void setKcCountryService(org.kuali.coeus.common.api.country.KcCountryService kcCountryService)
Copyright © 2014 The Kuali Foundation. All rights reserved.