public class SpotHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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_ID_XPATH
The XPATH expression, used to retrieve Spots based on the id.
|
static java.lang.String | FIND_BY_NAME_XPATH
The XPATH expression, used to retrieve a Spot by usage and name.
|
static java.lang.String | FIND_BY_USAGE_XPATH
The XPATH expression, used to retrieve Spots based on usage.
|
Constructor and Description |
---|
SpotHelper()
Constructor for this.
|
Modifier and Type | Method and Description |
---|---|
protected SelectionCriteriaHelper | buildExpression(java.lang.String expression, java.lang.String accessProfile)
This method creates a SelectionCriteriaHelper object with the provided XPath expression and access profile.
|
protected GetType | buildGetVerb(ExpressionType expression, int pageNumber, int pageSize)
This method creates the Marketing Get Verb.
|
java.lang.String | getAccessProfile()
This method returns the access profile for the OAGIS service call.
|
commonj.sdo.DataObject | getSpot(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile, int pageNumber, int pageSize)
This method retrieves the marketing details for the specified expression.
|
public static final java.lang.String DEFAULT_ACCESS_PROFILE
public static final java.lang.String FIND_BY_ID_XPATH
public static final java.lang.String FIND_BY_USAGE_XPATH
public static final java.lang.String FIND_BY_NAME_XPATH
public commonj.sdo.DataObject getSpot(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile, int pageNumber, int pageSize) throws MarketingSpotException
protected SelectionCriteriaHelper buildExpression(java.lang.String expression, java.lang.String accessProfile)
protected GetType buildGetVerb(ExpressionType expression, int pageNumber, int pageSize)
public java.lang.String getAccessProfile()