java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.messaging.commands.OrderStatusNotifySendCmdImpl
Implementation of the OrderStatusNotifySendCmd interface.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.messaging.commands. OrderStatusNotifySendCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
OrderStatusNotifySendCmdImpl() OrderStatusNotifySendCmdImpl constructor . |
Method Summary | |
---|---|
java.lang.Integer |
getMsgType() Gets the message type |
TypedProperty |
getOs_prop() Gets the order status property |
java.lang.Integer |
getStoreID() Gets the store identifier |
boolean |
isReadyToCallExecute() isReadyToCallExecute method |
void |
performExecute() constructs and sends the message using the sendTransacted messaging service |
void |
setMsgType(java.lang.Integer newMsgType) sets the message type ID |
void |
setOrderStatusProperties(
TypedProperty prop) sets the order status properties |
void |
setStoreID(java.lang.Integer new_store_id) sets the ID of the store for which the command is running |
void |
validateParameters() This method performs check if the order status properties, set by setOs_prop() method, contain required attributes and if the field store_id was set, using the setStoreID() method. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public OrderStatusNotifySendCmdImpl()
Method Detail |
---|
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- Raised with _ERR_CMD_BAD_PARAM_CMD whenever the store Id is null, the order
Id is null or the vector of order items is nullpublic java.lang.Integer getMsgType()
public TypedProperty getOs_prop()
public java.lang.Integer getStoreID()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void setMsgType(java.lang.Integer newMsgType)
newMsgType
- The messagty type identifierpublic void setOrderStatusProperties(TypedProperty prop)
setOrderStatusProperties
in interface
OrderStatusNotifySendCmd
prop
- The order status propertiespublic void setStoreID(java.lang.Integer new_store_id)
setStoreID
in interface
OrderStatusNotifySendCmd
new_store_id
- The store identifier