public class GeoNodeHelper
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.
|
Constructor and Description |
---|
GeoNodeHelper(com.ibm.commerce.rest.utils.Instrumentor instrumentor)
Instantiates a new geo node helper.
|
Modifier and Type | Method and Description |
---|---|
ShowGeoNodeDataAreaType |
getGeoByParentGeoId(java.lang.String accessProfile,
BusinessContextType bContext,
java.lang.String parentId)
Get geo nodes by parent geo node unique ID.
|
com.ibm.commerce.rest.utils.Instrumentor |
getInstrumentor()
Get the instrumentor associated with this request instance.
|
ShowGeoNodeDataAreaType |
getStoreGeoNodeByTypeAndName(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.
|
ShowGeoNodeDataAreaType |
getStoreTopGeoNode(java.lang.String accessProfile,
java.lang.String storeId,
BusinessContextType bContext)
Get top geo nodes.
|
ShowGeoNodeDataAreaType |
getTopGeoNode(java.lang.String accessProfile,
BusinessContextType bContext)
Deprecated.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_ACCESS_PROFILE_ALL_INFORMATION
public GeoNodeHelper(com.ibm.commerce.rest.utils.Instrumentor instrumentor)
instrumentor
- the instrumentorpublic com.ibm.commerce.rest.utils.Instrumentor getInstrumentor()
public ShowGeoNodeDataAreaType getGeoByParentGeoId(java.lang.String accessProfile, BusinessContextType bContext, java.lang.String parentId) throws GeoNodeException
accessProfile
- the access profilebContext
- the business contextparentId
- the parent IDGeoNodeException
public ShowGeoNodeDataAreaType getTopGeoNode(java.lang.String accessProfile, BusinessContextType bContext) throws GeoNodeException
getStoreTopGeoNode(String, String, BusinessContextType)
.accessProfile
- the access profilebContext
- the business contextGeoNodeException
public ShowGeoNodeDataAreaType getStoreTopGeoNode(java.lang.String accessProfile, java.lang.String storeId, BusinessContextType bContext) throws GeoNodeException
accessProfile
- the access profilestoreId
- the store IDbContext
- the business contextGeoNodeException
public ShowGeoNodeDataAreaType getStoreGeoNodeByTypeAndName(java.lang.String accessProfile, java.lang.String storeId, java.lang.String type, java.lang.String name, BusinessContextType bContext) throws GeoNodeException
accessProfile
- the access profilestoreId
- the store IDtype
- the type of the geo nodename
- the name of the type of the geo nodebContext
- the business contextGeoNodeException