|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StateService
| Method Summary | |
|---|---|
List<State> |
findAllStates()
get all states in the system-default country |
List<State> |
findAllStates(String postalCountryCode)
get all states in the given country |
List<State> |
findAllStatesByAltCountryCode(String alternatePostalCountryCode)
|
State |
getByPrimaryId(String postalStateCode)
get a state object based on the given state code and default country code. |
State |
getByPrimaryId(String postalCountryCode,
String postalStateCode)
get a state object based on the given state code and country code |
State |
getByPrimaryIdIfNecessary(String postalStateCode,
State existingState)
get a state object based on the given state code and default country code. |
State |
getByPrimaryIdIfNecessary(String postalCountryCode,
String postalStateCode,
State existingState)
get a state object based on the given state code and country code. |
| Method Detail |
|---|
State getByPrimaryId(String postalStateCode)
postalStateCode - the given state code
State getByPrimaryId(String postalCountryCode,
String postalStateCode)
postalCountryCode - the given country codepostalStateCode - the given state code
State getByPrimaryIdIfNecessary(String postalStateCode,
State existingState)
postalStateCode - the given state code
State getByPrimaryIdIfNecessary(String postalCountryCode,
String postalStateCode,
State existingState)
postalCountryCode - the given country codepostalStateCode - the given state code
List<State> findAllStates()
List<State> findAllStates(String postalCountryCode)
postalCountryCode - the given country code
List<State> findAllStatesByAltCountryCode(String alternatePostalCountryCode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||