public class PriceHelper
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 | DISPLAY_PRICE_XPATH_START
The start of the XPath for all display price web service calls.
|
static java.lang.String | XPATH_START
The start of the XPath for all entitled price web service calls.
|
Constructor and Description |
---|
PriceHelper() |
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)
This method creates the Price Get Verb.
|
java.lang.String | getAccessProfile()
This method returns the access profile for the OAGIS service call.
|
commonj.sdo.DataObject | getPrice(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile)
This method retrieves the price details for the specified expression.
|
public static final java.lang.String DEFAULT_ACCESS_PROFILE
public static final java.lang.String XPATH_START
public static final java.lang.String DISPLAY_PRICE_XPATH_START
public commonj.sdo.DataObject getPrice(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile) throws com.ibm.commerce.price.facade.client.EntitledPriceException
protected SelectionCriteriaHelper buildExpression(java.lang.String expression, java.lang.String accessProfile)
protected GetType buildGetVerb(ExpressionType expression)
public java.lang.String getAccessProfile()