com.ibm.commerce.payment.commands
Interface CheckOrderCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- CheckOrderCmdImpl
- public interface CheckOrderCmd
- extends TaskCommand
The CheckOrderCmd
Task Command checks if an Order that is in
state "I" (OrderConstants.ORDER_SUBMITTED) has already been processed.
If it is determined that the order has already been processed, the command is
expected to throw the ECApplicationException with the Error Code
CheckOrderCmd.ERR_CODE_RESUBMIT_NOT_ALLOWED and the Error View named by
CheckOrderCmd.ERRTASK_NAME.
Field Summary |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
The default implementation class. |
static java.lang.String |
ERR_CODE_RESUBMIT_NOT_ALLOWED
Error code indicating order has already been submitted for processing
and re-submission is not allowed at this point. |
static java.lang.String |
ERRTASK_NAME
Name of the Error View for this command. |
static java.lang.String |
NAME
|
Method Summary |
void |
setOrderId(java.lang.Long orderId)
Sets the orderId property of the command. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class.
ERR_CODE_RESUBMIT_NOT_ALLOWED
public static final java.lang.String ERR_CODE_RESUBMIT_NOT_ALLOWED
- Error code indicating order has already been submitted for processing
and re-submission is not allowed at this point.
The constant value of this field is "1901".
ERRTASK_NAME
public static final java.lang.String ERRTASK_NAME
- Name of the Error View for this command.
The constant value of this field is "CheckOrderErrorView".
NAME
public static final java.lang.String NAME
setOrderId
public void setOrderId(java.lang.Long orderId)
- Sets the orderId property of the command.
- Parameters:
orderId
- the order reference number of the Order for which the
detail order description is to be prepared.