com.ibm.commerce.order.commands
Class CheckOrderAcceptanceCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.order.commands.CheckOrderAcceptanceCmdImpl
- All Implemented Interfaces:
- CheckOrderAcceptanceCmd, ECCommand, ECTargetableCommand, TaskCommand
- public class CheckOrderAcceptanceCmdImpl
- extends TaskCommandImpl
- implements CheckOrderAcceptanceCmd
Default implementation of the CheckOrderAcceptanceCmd task command interface.
Verifies that the Contract TradingAgreements referenced by the OrderItems of an Order have the active status.
This command uses the following AccessBeans:
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM Copyright notice field. |
Method Summary |
void |
performExecute()
Executes the main business logic of the command. |
void |
setOrderId(java.lang.String astrOrderId)
Sets the identifier of the order to be checked. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM Copyright notice field.
- See Also:
- Constant Field Values
CheckOrderAcceptanceCmdImpl
public CheckOrderAcceptanceCmdImpl()
performExecute
public void performExecute()
throws ECException
- Executes the main business logic of the command.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECApplicationException - the TradingAgreement for an OrderItem is of type Contract, but does not have the active status. The _ERR_INVALID_TRADING message is passed, with a message parameter of the TradingAgreement identifier.
- ECSystemException - a unexpected exception occurred. The _ERR_GENERIC message is passed. with a message parameter of the String representation of the unexpected exception.
- ECException
setOrderId
public void setOrderId(java.lang.String astrOrderId)
- Sets the identifier of the order to be checked.
-
- Specified by:
- setOrderId in interface CheckOrderAcceptanceCmd
-
- Parameters:
- astrOrderId - the identifier of the order to be checked.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.