com.ibm.commerce.order.commands
Class CheckOrderAcceptanceCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.order.commands.CheckOrderAcceptanceCmdImpl
All Implemented Interfaces:
CheckOrderAcceptanceCmd, ECCommand, TaskCommand

public class CheckOrderAcceptanceCmdImpl
extends TaskCommandImpl
implements CheckOrderAcceptanceCmd

This CheckOrderAcceptanceCmd Task Command Implementation verifies if the trading agreements being used by the order are still valid and active.

Exception Conditions


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.order.commands.CheckOrderAcceptanceCmd
defaultCommandClassName, NAME
 
Constructor Summary
CheckOrderAcceptanceCmdImpl()
           
 
Method Summary
 void performExecute()
          Executes main business logic of the command.
 void setOrderId(java.lang.String astrOrderId)
          Sets the id of the order to be checked for acceptance.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

CheckOrderAcceptanceCmdImpl

public CheckOrderAcceptanceCmdImpl()
Method Detail

performExecute

public void performExecute()
                    throws ECException
Executes main business logic of the command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

setOrderId

public void setOrderId(java.lang.String astrOrderId)
Sets the id of the order to be checked for acceptance.
Specified by:
setOrderId in interface CheckOrderAcceptanceCmd
Following copied from interface: com.ibm.commerce.order.commands.CheckOrderAcceptanceCmd
Parameters:
astrOrderId - The reference number of the order to be checked for acceptance.