|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.sfweb.ajax.service.impl.GeographyControllerImpl
public class GeographyControllerImpl
Provides geography related services for ajax.
Constructor Summary | |
---|---|
GeographyControllerImpl()
|
Method Summary | |
---|---|
Geography |
getGeography()
Returns the Geography instance. |
RequestHelper |
getRequestHelper()
Returns the request helper. |
java.util.Map |
getSubCountries(java.lang.String countryCode,
javax.servlet.http.HttpServletRequest request)
Returns a map of all subcountries within a particular country. |
void |
setGeography(Geography geography)
Sets the Geography instance. |
void |
setRequestHelper(RequestHelper requestHelper)
Sets the request helper. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeographyControllerImpl()
Method Detail |
---|
public Geography getGeography()
Geography
instance.
Geography
instancepublic RequestHelper getRequestHelper()
public java.util.Map getSubCountries(java.lang.String countryCode, javax.servlet.http.HttpServletRequest request)
getSubCountries
in interface GeographyController
countryCode
- ISO two letter country code (ex: US)request
- the request object containing the shopping cart
public void setGeography(Geography geography)
Geography
instance.
geography
- the Geography
instancepublic void setRequestHelper(RequestHelper requestHelper)
requestHelper
- the request helper.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |