public class CouponHelper
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_WALLETID_XPATH
The XPATH expression, used to retrieve the WalletItem by WalletId
|
static java.lang.String | FIND_WALLET_BY_NAME_XPATH
The XPATH expression, used to retrieve the Wallet by Name
|
static java.lang.String | FIND_WALLETITEM_BY_COUPONID_XPATH
The XPATH expression, used to retrieve the WalletItem by coupon id.
|
Constructor and Description |
---|
CouponHelper() |
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 Wallet Get Verb.
|
commonj.sdo.DataObject | composeEmptyWalletItem()
This method composes the empty wallet item data object.
|
java.util.Map<java.lang.String,java.lang.Object> | deleteCoupon(java.util.Map<java.lang.String,java.lang.Object> parameters, BusinessContextType bContext, javax.security.auth.callback.CallbackHandler cbh)
Delete wallet item to be processed.
|
java.lang.String | getAccessProfile()
This method returns the access profile for the OAGIS service call.
|
commonj.sdo.DataObject | getWallet(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile)
This method retrieves the wallet details for the specified expression.
|
commonj.sdo.DataObject | getWalletItem(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile, int pageNumber, int pageSize)
This method retrieves the wallet details for the specified expression.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_ACCESS_PROFILE
public static final java.lang.String FIND_BY_WALLETID_XPATH
public static final java.lang.String FIND_WALLET_BY_NAME_XPATH
public static final java.lang.String FIND_WALLETITEM_BY_COUPONID_XPATH
public commonj.sdo.DataObject getWallet(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile) throws WalletException
public commonj.sdo.DataObject getWalletItem(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile, int pageNumber, int pageSize) throws WalletItemException
public commonj.sdo.DataObject composeEmptyWalletItem()
public java.util.Map<java.lang.String,java.lang.Object> deleteCoupon(java.util.Map<java.lang.String,java.lang.Object> parameters, BusinessContextType bContext, javax.security.auth.callback.CallbackHandler cbh) throws WalletException
protected SelectionCriteriaHelper buildExpression(java.lang.String expression, java.lang.String accessProfile)
protected GetType buildGetVerb(ExpressionType expression)
public java.lang.String getAccessProfile()