com.ibm.commerce.edp.commands
Class EvaluatePaymentRulesVoidCmdImpl
- 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.edp.commands.EvaluatePaymentRulesVoidCmdImpl
-
- All Implemented Interfaces:
- com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, EvaluatePaymentRulesCmd, 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
public class EvaluatePaymentRulesVoidCmdImpl extends TaskCommandImpl implements EvaluatePaymentRulesCmd
The void implementation for
EvaluatePaymentRulesCmd
.It does NOTHING.
The void implementation of commands is used when anyone is intended to disable the command while keeping the single code base. Note that please use the void implementation of all commands once you decide to disable the command implementation.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
CLASS_NAME
The name of the class.static java.lang.String
COPYRIGHT
The IBM Copyright notice field.-
Fields inherited from interface com.ibm.commerce.edp.commands.EvaluatePaymentRulesCmd
defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description EvaluatePaymentRulesVoidCmdImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.HashMap
getActionDatas()
This method returns the current action datas.java.lang.Throwable
getException()
This method returns the thrown exception.java.util.HashMap
getHashOfActionList()
This method returns the HashMap that stores the current action list.java.util.List
getListOfActionList()
This method returns the list of current action list.java.lang.String
getOrderChannel()
This method returns the current order channel.java.lang.String
getPaymentGroupId()
This method returns the current payment configuration group id.int
getRulePhase()
This method returns the current rule phase.java.lang.String
getRuleType()
This method returns the current rule type.java.lang.Integer
getStoreId()
This method returns the current store id.void
performExecute()
This method executes the business logic of this command implementation.void
reset()
This method resets the command fields.void
setAmountToProcess(java.math.BigDecimal amtToProcess)
This method sets the amount to be processed.void
setAtomicPaymentId(java.lang.Long atmPaymentId)
This method sets the atomic payment id.void
setEDPOrderId(java.lang.Long edpOrder)
This method sets the EDP order id.void
setEDPPaymentInstructionId(java.lang.Long payinstId)
This method sets the payment instruction id in payment rule.void
setEDPReleaseId(java.util.List edpReleaseIdList)
This method sets the release id in payment rule.void
setException(java.lang.Throwable object)
This method sets the current thrown exception.void
setHashOfActionList(java.util.HashMap map)
This method sets the HashMap that stores the current action list.void
setListOfActionList(java.util.List list)
This method sets the list of current action list.void
setOrderChannel(java.lang.String string)
This method sets the current order channel.void
setPaymentGroupId(java.lang.String string)
This method sets the current payment configuration group id.void
setPhase(int iPhase)
This method sets the current phase.void
setRulePhase(int i)
This method sets the current rule phase.void
setRuleType(java.lang.String string)
This method sets the rule type.void
setStoreId(java.lang.Integer integer)
This method sets the current store id.-
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, getUser, getUserId, isReadyToCallExecute, 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.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, 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
-
CLASS_NAME
public static final java.lang.String CLASS_NAME
The name of the class.- See Also:
- Constant Field Values
-
-
Method Detail
-
setEDPPaymentInstructionId
public void setEDPPaymentInstructionId(java.lang.Long payinstId)
This method sets the payment instruction id in payment rule.- Specified by:
setEDPPaymentInstructionId
in interfaceEvaluatePaymentRulesCmd
- Parameters:
payinstId
- A Long that specifies the current payment instruction id.
-
setEDPOrderId
public void setEDPOrderId(java.lang.Long edpOrder)
This method sets the EDP order id.- Specified by:
setEDPOrderId
in interfaceEvaluatePaymentRulesCmd
- Parameters:
edpOrder
- A Long that specifies the current EDP order id.
-
setAmountToProcess
public void setAmountToProcess(java.math.BigDecimal amtToProcess)
This method sets the amount to be processed.- Specified by:
setAmountToProcess
in interfaceEvaluatePaymentRulesCmd
- Parameters:
amtToProcess
- A BigDecimal that specifies the current amount to process.
-
setEDPReleaseId
public void setEDPReleaseId(java.util.List edpReleaseIdList)
This method sets the release id in payment rule.- Specified by:
setEDPReleaseId
in interfaceEvaluatePaymentRulesCmd
- Parameters:
edpReleaseIdList
- A List that represents the list of the EDP release ids.
-
setPhase
public void setPhase(int iPhase)
This method sets the current phase.- Specified by:
setPhase
in interfaceEvaluatePaymentRulesCmd
- Parameters:
iPhase
- An int that specifies the current phase.
-
getActionDatas
public java.util.HashMap getActionDatas()
This method returns the current action datas.- Specified by:
getActionDatas
in interfaceEvaluatePaymentRulesCmd
- Returns:
- A HashMap that represents the list of current action datas.
-
performExecute
public void performExecute() throws ECException
This method executes the business logic of this command implementation.- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECException
- This exception is thrown if error occurs.
-
setAtomicPaymentId
public void setAtomicPaymentId(java.lang.Long atmPaymentId)
This method sets the atomic payment id.- Specified by:
setAtomicPaymentId
in interfaceEvaluatePaymentRulesCmd
- Parameters:
atmPaymentId
- A Long that specifies the atomic payment id.
-
setRuleType
public void setRuleType(java.lang.String string)
This method sets the rule type.- Specified by:
setRuleType
in interfaceEvaluatePaymentRulesCmd
- Parameters:
string
- A String that specifies the current rule type.
-
getRuleType
public java.lang.String getRuleType()
This method returns the current rule type.- Returns:
- A String that specifies the current rule type.
-
getRulePhase
public int getRulePhase()
This method returns the current rule phase.- Returns:
- An int that indicates the current rule phase.
-
setRulePhase
public void setRulePhase(int i)
This method sets the current rule phase.- Specified by:
setRulePhase
in interfaceEvaluatePaymentRulesCmd
- Parameters:
i
- An int that indicates the current rule phase.
-
getHashOfActionList
public java.util.HashMap getHashOfActionList()
This method returns the HashMap that stores the current action list.- Specified by:
getHashOfActionList
in interfaceEvaluatePaymentRulesCmd
- Returns:
- A HashMap that represents the current action list.
-
getListOfActionList
public java.util.List getListOfActionList()
This method returns the list of current action list.- Specified by:
getListOfActionList
in interfaceEvaluatePaymentRulesCmd
- Returns:
- A List that represents the current action list.
-
setHashOfActionList
public void setHashOfActionList(java.util.HashMap map)
This method sets the HashMap that stores the current action list.- Specified by:
setHashOfActionList
in interfaceEvaluatePaymentRulesCmd
- Parameters:
map
- A HashMap that represents the current action list.
-
setListOfActionList
public void setListOfActionList(java.util.List list)
This method sets the list of current action list.- Specified by:
setListOfActionList
in interfaceEvaluatePaymentRulesCmd
- Parameters:
list
- A List that represents the list of current actions.
-
getException
public java.lang.Throwable getException()
This method returns the thrown exception.- Specified by:
getException
in interfaceEvaluatePaymentRulesCmd
- Returns:
- A Throwable that represents the exception thrown.
-
setException
public void setException(java.lang.Throwable object)
This method sets the current thrown exception.- Parameters:
object
-
-
getOrderChannel
public java.lang.String getOrderChannel()
This method returns the current order channel.- Returns:
- A String that specifies the current order channel.
-
getPaymentGroupId
public java.lang.String getPaymentGroupId()
This method returns the current payment configuration group id.- Returns:
- A String that specifies the current payment configuration group id.
-
getStoreId
public java.lang.Integer getStoreId()
This method returns the current store id.- Specified by:
getStoreId
in interfaceECCommand
- Overrides:
getStoreId
in classAbstractECTargetableCommand
- Returns:
- An Integer that specifies the current store id.
-
setOrderChannel
public void setOrderChannel(java.lang.String string)
This method sets the current order channel.- Specified by:
setOrderChannel
in interfaceEvaluatePaymentRulesCmd
- Parameters:
string
- A String that specifies the current order channel.
-
setPaymentGroupId
public void setPaymentGroupId(java.lang.String string)
This method sets the current payment configuration group id.- Parameters:
string
- A String that specifies the current payment configuration group id.
-
setStoreId
public void setStoreId(java.lang.Integer integer)
This method sets the current store id.- Specified by:
setStoreId
in interfaceEvaluatePaymentRulesCmd
- Parameters:
integer
- An Integer that specifies the id of the current store.
-
reset
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.
- Specified by:
reset
in interfacecom.ibm.websphere.command.Command
- Overrides:
reset
in classAbstractECTargetableCommand
-
-