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 IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation of this command. |
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 The name of this command. |
Method Summary | |
---|---|
void |
setOrderId(java.lang.Long orderId)
Sets the orderId property of the command. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String ERRTASK_NAME
public static final java.lang.String ERR_CODE_RESUBMIT_NOT_ALLOWED
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setOrderId(java.lang.Long orderId)
orderId
- the order reference number of the Order for which
the detail order description is to be prepared.