public class StoreLocatorHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String |
DEFAULT_ACCESS_PROFILE_ALL_INFORMATION
The Constant ACCESS_PROFILE_ALL_INFORMATION.
|
static java.lang.String |
DEFAULT_ACCESS_PROFILE_DETAILS_INFORMATION
The Constant ACCESS_PROFILE_DETAILS_INFORMATION.
|
static java.lang.String |
TYPE_CITY
The constant TYPE_CITY.
|
static java.lang.String |
TYPE_CNTY
The constant TYPE_CNTY.
|
static java.lang.String |
TYPE_PROV
The constant TYPE_PROV.
|
static java.lang.String |
TYPE_STAT
The constant TYPE_STAT.
|
Constructor and Description |
---|
StoreLocatorHelper() |
StoreLocatorHelper(com.ibm.commerce.rest.utils.Instrumentor instrumentor)
Instantiates a new store locator helper.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getGeoIdByLocation(java.lang.String accessProfile,
java.lang.String locationId,
java.lang.String type)
Create an intermediary object from the physical store data object.
|
com.ibm.commerce.rest.utils.Instrumentor |
getInstrumentor()
Get the instrumentor associated with this request instance.
|
ShowPhysicalStoreDataAreaType |
getPhysicalStore(java.lang.String accessProfile,
java.lang.String latitude,
java.lang.String longitude,
BusinessContextType bContext,
java.util.Map conditions,
java.util.Map attributes)
|
ShowGeoNodeDataAreaType |
getPhysicalStorebyGeoNode(java.lang.String accessProfile,
java.lang.String type,
java.lang.String name,
BusinessContextType bContext)
|
ShowPhysicalStoreDataAreaType |
getPhysicalStoreDetails(java.lang.String accessProfile,
BusinessContextType bContext,
java.lang.String geoId,
int maxItems,
int startNumber,
java.lang.String beautyCtr,
java.lang.String type)
|
ShowPhysicalStoreDataAreaType |
getPhysicalStoreDetailsByStoreId(java.lang.String accessProfile,
BusinessContextType bContext,
java.lang.String[] uniqueIds,
int maxItems,
int startNumber)
Get physical store by store unique id.
|
ShowPhysicalStoreDataAreaType |
getStorePhysicalStore(java.lang.String accessProfile,
java.lang.String storeId,
java.lang.String latitude,
java.lang.String longitude,
BusinessContextType bContext,
java.util.Map conditions,
java.util.Map attributes)
Get physical stores by geo code.
|
ShowGeoNodeDataAreaType |
getStorePhysicalStorebyGeoNode(java.lang.String accessProfile,
java.lang.String storeId,
java.lang.String type,
java.lang.String name,
BusinessContextType bContext)
Get geo nodes by type and name.
|
ShowPhysicalStoreDataAreaType |
getStorePhysicalStoreDetails(java.lang.String accessProfile,
java.lang.String storeId,
BusinessContextType bContext,
java.lang.String geoId,
int maxItems,
int startNumber,
java.lang.String beautyCtr,
java.lang.String type)
Get physical stores by geo node unique ID.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_ACCESS_PROFILE_ALL_INFORMATION
public static final java.lang.String DEFAULT_ACCESS_PROFILE_DETAILS_INFORMATION
public static final java.lang.String TYPE_STAT
public static final java.lang.String TYPE_CNTY
public static final java.lang.String TYPE_PROV
public static final java.lang.String TYPE_CITY
public StoreLocatorHelper()
public StoreLocatorHelper(com.ibm.commerce.rest.utils.Instrumentor instrumentor)
instrumentor
- the instrumentorpublic com.ibm.commerce.rest.utils.Instrumentor getInstrumentor()
public ShowPhysicalStoreDataAreaType getPhysicalStore(java.lang.String accessProfile, java.lang.String latitude, java.lang.String longitude, BusinessContextType bContext, java.util.Map conditions, java.util.Map attributes) throws PhysicalStoreException
getStorePhysicalStore(String, String, String, String, BusinessContextType, Map, Map)
.accessProfile
- latitude
- longitude
- bContext
- conditions
- attributes
- PhysicalStoreException
public ShowPhysicalStoreDataAreaType getStorePhysicalStore(java.lang.String accessProfile, java.lang.String storeId, java.lang.String latitude, java.lang.String longitude, BusinessContextType bContext, java.util.Map conditions, java.util.Map attributes) throws PhysicalStoreException
accessProfile
- storeId
- The store entity ID.latitude
- longitude
- bContext
- conditions
- attributes
- PhysicalStoreException
public ShowGeoNodeDataAreaType getPhysicalStorebyGeoNode(java.lang.String accessProfile, java.lang.String type, java.lang.String name, BusinessContextType bContext) throws GeoNodeException
accessProfile
- type
- name
- bContext
- GeoNodeException
public ShowGeoNodeDataAreaType getStorePhysicalStorebyGeoNode(java.lang.String accessProfile, java.lang.String storeId, java.lang.String type, java.lang.String name, BusinessContextType bContext) throws GeoNodeException
accessProfile
- storeId
- The store entity ID.type
- name
- bContext
- GeoNodeException
public java.util.List<java.lang.String> getGeoIdByLocation(java.lang.String accessProfile, java.lang.String locationId, java.lang.String type) throws PhysicalStoreException, GeoNodeException
accessProfile
- locationId
- type
- PhysicalStoreException
GeoNodeException
public ShowPhysicalStoreDataAreaType getPhysicalStoreDetails(java.lang.String accessProfile, BusinessContextType bContext, java.lang.String geoId, int maxItems, int startNumber, java.lang.String beautyCtr, java.lang.String type) throws PhysicalStoreException
getStorePhysicalStoreDetails(String, String, BusinessContextType, String, int, int, String, String)
.accessProfile
- bContext
- geoId
- maxItems
- startNumber
- beautyCtr
- type
- PhysicalStoreException
public ShowPhysicalStoreDataAreaType getStorePhysicalStoreDetails(java.lang.String accessProfile, java.lang.String storeId, BusinessContextType bContext, java.lang.String geoId, int maxItems, int startNumber, java.lang.String beautyCtr, java.lang.String type) throws PhysicalStoreException
accessProfile
- storeId
- The web store entity ID.bContext
- geoId
- maxItems
- startNumber
- beautyCtr
- type
- PhysicalStoreException
public ShowPhysicalStoreDataAreaType getPhysicalStoreDetailsByStoreId(java.lang.String accessProfile, BusinessContextType bContext, java.lang.String[] uniqueIds, int maxItems, int startNumber) throws PhysicalStoreException
accessProfile
- bContext
- uniqueIds
- maxItems
- startNumber
- PhysicalStoreException