Class S2SLocationServiceImpl
java.lang.Object
org.kuali.coeus.s2sgen.impl.location.S2SLocationServiceImpl
- All Implemented Interfaces:
S2SLocationService
@Component("s2SLocationService")
public class S2SLocationServiceImpl
extends Object
implements S2SLocationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.coeus.common.api.country.CountryContractgetCountryFromCode(String countryCode) Finds a Country object from the country codeorg.kuali.coeus.common.api.country.KcCountryServiceorg.kuali.coeus.common.api.state.KcStateServiceorg.kuali.coeus.common.api.state.StateContractgetStateFromCode(String countryAlternateCode, String stateCode) Finds a State object from the state namevoidsetKcCountryService(org.kuali.coeus.common.api.country.KcCountryService kcCountryService) voidsetKcStateService(org.kuali.coeus.common.api.state.KcStateService kcStateService)
-
Constructor Details
-
S2SLocationServiceImpl
public S2SLocationServiceImpl()
-
-
Method Details
-
getCountryFromCode
Finds a Country object from the country code- Specified by:
getCountryFromCodein interfaceS2SLocationService- Parameters:
countryCode- Country name- Returns:
- Country object matching the code
-
getStateFromCode
public org.kuali.coeus.common.api.state.StateContract getStateFromCode(String countryAlternateCode, String stateCode) Finds a State object from the state name- Specified by:
getStateFromCodein interfaceS2SLocationService- Parameters:
countryAlternateCode- country 3-character codestateCode- Code of the state (two-letter state code)- Returns:
- State object matching the name.
-
getKcStateService
public org.kuali.coeus.common.api.state.KcStateService getKcStateService() -
setKcStateService
public void setKcStateService(org.kuali.coeus.common.api.state.KcStateService kcStateService) -
getKcCountryService
public org.kuali.coeus.common.api.country.KcCountryService getKcCountryService() -
setKcCountryService
public void setKcCountryService(org.kuali.coeus.common.api.country.KcCountryService kcCountryService)
-