public class ESpotDataHelper
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
The default access profile, used when an access profile is not specified
using the
accessProfile query parameter. |
static java.lang.String |
FIND_BY_NAME_XPATH
The XPath key to find a MarketingSpotData noun by name.
|
Constructor and Description |
---|
ESpotDataHelper() |
ESpotDataHelper(com.ibm.commerce.rest.utils.Instrumentor instrumentor,
javax.ws.rs.core.UriInfo uriInfo)
Instantiates a new e spot data helper.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.rest.utils.Instrumentor |
getInstrumentor()
Get the instrumentor associated with this request instance.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMarketingSpotData(ShowMarketingSpotDataDataAreaType dataArea)
Gets the marketing spot data.
|
ShowMarketingSpotDataDataAreaType |
getMarketingSpotDataAreaType(java.lang.String expression,
java.lang.String accessProfile,
java.util.Map<java.lang.String,java.lang.String> attrs,
BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler cbh)
This method performs a
GetMarketingSpotData service request. |
javax.ws.rs.core.UriInfo |
getUri()
Gets the URI of the atom feed request.
|
void |
setUri(javax.ws.rs.core.UriInfo uri)
Sets the URI of the atom feed request.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_ACCESS_PROFILE
accessProfile
query parameter.public static final java.lang.String FIND_BY_NAME_XPATH
public ESpotDataHelper()
public ESpotDataHelper(com.ibm.commerce.rest.utils.Instrumentor instrumentor, javax.ws.rs.core.UriInfo uriInfo)
instrumentor
- the instrumentoruriInfo
- the uri infopublic com.ibm.commerce.rest.utils.Instrumentor getInstrumentor()
public ShowMarketingSpotDataDataAreaType getMarketingSpotDataAreaType(java.lang.String expression, java.lang.String accessProfile, java.util.Map<java.lang.String,java.lang.String> attrs, BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler cbh) throws MarketingSpotDataException
GetMarketingSpotData
service request.expression
- the XPath expression.accessProfile
- the access profile of the get expression.attrs
- the attrsbusinessContext
- the business contextcbh
- the cbhMarketingSpotDataException
- the marketing spot data exception.public java.util.Map<java.lang.String,java.lang.Object> getMarketingSpotData(ShowMarketingSpotDataDataAreaType dataArea)
dataArea
- the data areapublic javax.ws.rs.core.UriInfo getUri()
public void setUri(javax.ws.rs.core.UriInfo uri)
uri
-