com.ibm.commerce.messaging.commands
Interface OrderItemStatusCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
OrderItemStatusCmdImpl

public interface OrderItemStatusCmd
extends TaskCommand

The interface for the OrderItemStatus command which processes the status message that the backend system has created when any change occurs to the items belonging to an order.This command is usually called by the order status commands.


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default class containing the implementation of the OrderItemStatus command.
static java.lang.String NAME
          The name of the class.
 
Method Summary
 boolean doPostProcess( TypedProperty aRequestProperty)
          Performs a verification check after the command executes.
 boolean doPreProcess( TypedProperty aRequestProperty)
          Performs a verification check before the command executes.
 boolean doProcess( TypedProperty aRequestProperty)
          Performs the proper business logic for the OrderItemStatus command.
 void setOrderItemStatusProperties( TypedProperty aRequestProperties)           Binds the parameters received by the request properties to variables that are used for determining the order item to updated.
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of the class.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default class containing the implementation of the OrderItemStatus command.
See Also:
Constant Field Values
Method Detail

doPostProcess

public boolean doPostProcess(TypedProperty aRequestProperty)
                      throws ECException
Performs a verification check after the command executes.
Parameters:
aRequestProperty - Parameters used to aid the checking
Returns:
true if command executed successfully
Throws:
ECException - Raised when the checking raise any exceptions

doPreProcess

public boolean doPreProcess(TypedProperty aRequestProperty)
                     throws ECException
Performs a verification check before the command executes.
Parameters:
aRequestProperty - Parameters used to aid the checking
Returns:
true if command can be executed
Throws:
ECException - Raised when the checking raise any exceptions

doProcess

public boolean doProcess(TypedProperty aRequestProperty)
                  throws ECException
Performs the proper business logic for the OrderItemStatus command.
Parameters:
aRequestProperty - Input parameters
Returns:
true if command execute successfully
Throws:
ECException - Raised if the update fails

setOrderItemStatusProperties

public void setOrderItemStatusProperties(TypedProperty aRequestProperties)
                                  throws ECException
Binds the parameters received by the request properties to variables that are used for determining the order item to updated. Also, a validation check is performed on some of the given parameters and if this check fails, an ECException is thrown.
Throws:
ECException - Raised when any of the required parameters are missing