public class ServiceProviderCheckPaymentPolicyDisplayCmdImpl extends CheckPaymentPolicyDisplayCmdImpl implements CheckPaymentPolicyDisplayCmd
ListPaymentPolicyCmd
task command.
It gets a list of PaymentPolicyInfo
objects representing Payment Business Policies that
the store supports.
commandContext |
The command context. |
storeId |
The store id. |
paymentPolicyInfo[] |
an array of Payment Policy Info objects. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this command.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ServiceProviderCheckPaymentPolicyDisplayCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isDisplayAllowed(BusinessPolicyAccessBean abPolicy)
Check if the payment policy is allowed to display at the client.
|
boolean |
isDummyPaymentMethodAllowed(java.lang.Long policyId)
Check whether dummy payment method is allowed.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public ServiceProviderCheckPaymentPolicyDisplayCmdImpl()
public boolean isDisplayAllowed(BusinessPolicyAccessBean abPolicy)
isDisplayAllowed
in interface CheckPaymentPolicyDisplayCmd
isDisplayAllowed
in class CheckPaymentPolicyDisplayCmdImpl
abPolicy
- the payment policy to be checkedpublic boolean isDummyPaymentMethodAllowed(java.lang.Long policyId)
isDummyPaymentMethodAllowed
in interface CheckPaymentPolicyDisplayCmd
isDummyPaymentMethodAllowed
in class CheckPaymentPolicyDisplayCmdImpl
policyId
-