com.ibm.commerce.messaging.commands
Interface OrderItemStatusCmd

All Superinterfaces:
ECCommand, 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.
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default class containing the implementation of the OrderItemStatus command.

NAME

public static final java.lang.String NAME
The name of the class.
Method Detail

doPostProcess

public boolean doPostProcess(TypedProperty aRequestProperty)
                      throws ECException
Performs a verification check after the command executes.
Parameters:
aRequestProperty - com.ibm.commerce.datatype.TypedProperty
Returns:
boolean
Throws:
ECException -  

doPreProcess

public boolean doPreProcess(TypedProperty aRequestProperty)
                     throws ECException
Performs a verification check before the command executes.
Parameters:
aRequestProperty - com.ibm.commerce.datatype.TypedProperty
Returns:
boolean
Throws:
ECException -  

doProcess

public boolean doProcess(TypedProperty aRequestProperty)
                  throws ECException
Performs the proper business logic for the OrderItemStatus command.
Parameters:
aRequestProperty - com.ibm.commerce.datatype.TypedProperty
Returns:
boolean
Throws:
ECException -  

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.
Parameters:
aRequestProperty - com.ibm.commerce.datatype.TypedProperty
Throws:
ECException -