|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.location.impl.state.StateServiceImpl
public class StateServiceImpl
| Constructor Summary | |
|---|---|
StateServiceImpl()
|
|
| Method Summary | |
|---|---|
List<State> |
findAllStatesInCountry(String countryCode)
Finds all the States for postal country code. |
List<State> |
findAllStatesInCountryByAltCode(String alternateCode)
Finds all the States for alternate postal country code. |
StateQueryResults |
findStates(QueryByCriteria queryByCriteria)
This method find States based on a query criteria. |
CountryService |
getCountryService()
|
State |
getState(String countryCode,
String code)
Gets a State from a postal country code and postal state code. |
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
|
void |
setCountryService(CountryService countryService)
|
void |
setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
Sets the criteriaLookupService attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StateServiceImpl()
| Method Detail |
|---|
public State getState(String countryCode,
String code)
StateServiceState from a postal country code and postal state code.
This method will return null if the state does not exist.
This method will return active or inactive states.
getState in interface StateServicecountryCode - country code. cannot be blank.code - state code. cannot be blank.
State or nullpublic List<State> findAllStatesInCountry(String countryCode)
StateServiceStates for postal country code.
This method will always return an immutable Collection even when no values exist.
This method will only return active states.
findAllStatesInCountry in interface StateServicecountryCode - state code. cannot be blank.
public List<State> findAllStatesInCountryByAltCode(String alternateCode)
StateServiceStates for alternate postal country code.
This method will always return an immutable Collection even when no values exist.
This method will only return active states.
findAllStatesInCountryByAltCode in interface StateServicealternateCode - cannot be blank.
public StateQueryResults findStates(QueryByCriteria queryByCriteria)
throws RiceIllegalArgumentException
StateService
findStates in interface StateServicequeryByCriteria - the criteria. Cannot be null.
RiceIllegalArgumentExceptionpublic CountryService getCountryService()
public void setCountryService(CountryService countryService)
public void setBusinessObjectService(BusinessObjectService businessObjectService)
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 | |||||||||