com.ibm.commerce.edp.commands
Class PreparePIsForEditPolicyCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- com.ibm.commerce.command.AbstractECTargetableCommand
-
- com.ibm.commerce.command.TaskCommandImpl
-
- com.ibm.commerce.command.BusinessPolicyCommandImpl
-
- com.ibm.commerce.edp.commands.PreparePIsForEditPolicyCmdImpl
-
- All Implemented Interfaces:
- BusinessPolicyCommand, com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, PreparePIsForEditPolicyCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
- Direct Known Subclasses:
- PrepareLineOfCreditPIsForEditPolicyCmdImpl
public class PreparePIsForEditPolicyCmdImpl extends BusinessPolicyCommandImpl implements PreparePIsForEditPolicyCmd
This is the default implementation of thePreparePIsForEditPolicyCmd
task command.Behaviour:
- It does nothing right now, but validation code against PaymentTCs currently located in
EditCmdImpl.executeEditPaymentTCs()
will be migrated here in the future
Input parameters:
commandContext
The command context. orderId
A Long that specifies the order ID. iPIs
An EDPPaymentInstruction[] represents the payment instructions. iPaymentTCInfos
A PaymentTCInfo[] that represents the PaymentTCInfos applicable to the payment instructions. Output parameters:
None.Task commands called:
None.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM copyright notice field.-
Fields inherited from interface com.ibm.commerce.edp.commands.PreparePIsForEditPolicyCmd
defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description PreparePIsForEditPolicyCmdImpl()
PreparePIsForEditPolicyCmdImpl constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
performExecute()
Do nothingvoid
setOrderId(java.lang.Long anOrderId)
This method sets the order ID.void
setPaymentTCInfos(PaymentTCInfo[] aPaymentTCInfos)
This method sets the PaymentTCInfos applicable to the payment instructions.void
setPIs(EDPPaymentInstruction[] aPIs)
This method sets the payment instructions to be edited byEditCmd
.-
Methods inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
-
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The IBM copyright notice field.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PreparePIsForEditPolicyCmdImpl
public PreparePIsForEditPolicyCmdImpl()
PreparePIsForEditPolicyCmdImpl constructor.
-
-
Method Detail
-
setOrderId
public void setOrderId(java.lang.Long anOrderId)
This method sets the order ID.- Specified by:
setOrderId
in interfacePreparePIsForEditPolicyCmd
- Parameters:
anOrderId
- A Long that specifies the order ID.
-
setPIs
public void setPIs(EDPPaymentInstruction[] aPIs)
This method sets the payment instructions to be edited byEditCmd
.- Specified by:
setPIs
in interfacePreparePIsForEditPolicyCmd
- Parameters:
aPIs
- An EDPPaymentInstruction[] that represents the payment instructions to be edited.
-
setPaymentTCInfos
public void setPaymentTCInfos(PaymentTCInfo[] aPaymentTCInfos)
This method sets the PaymentTCInfos applicable to the payment instructions.- Specified by:
setPaymentTCInfos
in interfacePreparePIsForEditPolicyCmd
- Parameters:
aPaymentTCInfos
- A PaymentTCInfo[] that represents the PaymentTCInfos applicable to the payment instructions
-
performExecute
public void performExecute() throws ECException
Do nothing- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECException
- See Also:
ECCommand.performExecute()
-
-