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 |
---|---|
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
accessProfile
query parameter.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
businessContext
- the business context.callbackHandler
- the callback handler.expression
- the XPath expression.accessProfile
- the specified access profile.WalletException
- the wallet exceptionpublic 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
businessContext
- the business context.callbackHandler
- the callback handler.expression
- the XPath expression.accessProfile
- the specified access profile.pageNumber
- the page number.pageSize
- the page size.WalletItemException
- the wallet exceptionpublic 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
parameters
- the parametersbContext
- business contextcbh
- the cbhWalletException
- the wallet exceptionpublic java.lang.String getAccessProfile()