public abstract class AEDPPIEditCtrlCmdImpl extends AEDPCtrlCmdImpl
This command implementation class is an abstract class that is inherited by
payment instruction edit controller command implementation class, which includes
PIAddCmdImpl
,PIAddVoidCmdImpl
,PICopyCmdImpl
,
PICopyVoidCmdImpl
,PIEditCmdImpl
,PIEditVoidCmdImpl
,
PIRemoveCmdImpl
and PIRemoveVoidCmdImpl
.
It Contains common methods to all payment instruction edit controller commands above.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BILLING_ADDRESS_ID_PROPERTY_NAME
The keyword identifier for the billing address in the address book.
|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
EDP_EDIT_FORCEFLAG
Request parameter to indicate if the edit is 'forced' or not.
|
static java.lang.String |
POLICY_ID
the policy id for payment instruction
|
static java.lang.String |
PURCHASEORDER_ID_PROPERTY_NAME
The protocol data keyword identifier for a purchase order ID.
|
defaultCommandClassName
Constructor and Description |
---|
AEDPPIEditCtrlCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getAmount()
This method returns the amount of current payment instruction.
|
java.lang.String |
getPaymentMethodID()
This method returns the payment method of current payment instruction.
|
java.lang.String |
getPiIdNull()
This method returns the internal representation for a null payment instruction identifier.
|
java.lang.Long |
getPolicyId()
This method returns the payment policy identifier of current payment instruction.
|
java.util.HashMap |
getProtocolData()
This method returns the protocol data of current payment instruction.
|
AccessVector |
getResources()
This method returns the vector of resources accessed by this command, which uses the order access bean for resource access control.
|
java.lang.String |
getURL()
This method gets the redirection URL to be used when the command completes successfully
|
void |
reset()
This method resets the command fields.
|
void |
setAmount(java.math.BigDecimal piAmount)
This method sets the amount of current payment instruction.
|
void |
setPaymentMethodID(java.lang.String localPaymentMethod)
This method sets the payment method of current payment instruction.
|
void |
setPolicyId(java.lang.Long long1)
This method sets the payment policy identifier of current payment instruction.
|
void |
setProtocolData(java.util.HashMap localProtocalData)
This method sets the protocol data of current payment instruction.
|
void |
setURL(java.lang.String localRedirectionURL)
This method sets the redirection URL to be used when the command completes successfully.
|
getLocale, getOrderId, getStoreId, setOrderId
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getUser, getUserId, isReadyToCallExecute, performExecute, 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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String BILLING_ADDRESS_ID_PROPERTY_NAME
public static final java.lang.String EDP_EDIT_FORCEFLAG
public static final java.lang.String PURCHASEORDER_ID_PROPERTY_NAME
public static final java.lang.String POLICY_ID
public void setAmount(java.math.BigDecimal piAmount)
piAmount
- the amount of current payment instructionpublic java.math.BigDecimal getAmount()
public void setPaymentMethodID(java.lang.String localPaymentMethod)
localPaymentMethod
- the payment method of current payment instructionpublic java.lang.String getPaymentMethodID()
public java.lang.String getPiIdNull()
public void setProtocolData(java.util.HashMap localProtocalData)
localProtocalData
- the protocol data of current payment instructionpublic java.util.HashMap getProtocolData()
public java.lang.Long getPolicyId()
public void setPolicyId(java.lang.Long long1)
long1
- the payment policy identifier of current payment instructionpublic AccessVector getResources() throws ECException
This method returns the vector of resources accessed by this command, which uses the order access bean for resource access control.
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- in the case of a failurepublic void setURL(java.lang.String localRedirectionURL)
localRedirectionURL
- the redirection URL to be used when the command completes successfullypublic java.lang.String getURL()
public void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
reset
in interface com.ibm.websphere.command.Command
reset
in class AEDPCtrlCmdImpl