com.ibm.commerce.tools.optools.order.commands
Interface CSROrderCommentsNotifyCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
CSROrderCommentsNotifyCmdImpl

public interface CSROrderCommentsNotifyCmd
extends TaskCommand

 Send the order comment to the email address specified.  This command will use the email address of the store as the sender email address.


 Parameters:

		Order comment
			You need to use method setComment to set the comment you want to sent.

		Order ID
			You need to use method setOrderId to set the ID of the order which you want to sent comment.

		Receiver email address
			You need to use method setReceiverEmailAddress to set the receiver's email address.

		email subject
			You need to use method setSubject to set the subject of the email.



Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class.
static java.lang.String MSG_TYPE_NAME
           
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.tools.optools.order.commands.CSROrderCommentsNotifyCmd".
 
Method Summary
 void setComment(java.lang.String newComment)
          Set the order comment which needs to be sent.
 void setOrderId(java.lang.Long newOrderId)
          Set the order ID.
 void setOrderId(java.lang.String newOrderId)
          Set the order ID.
 void setReceiverEmailAddress(java.lang.String newReceiverEmailAddr)
          Set the email address.
 void setSubject(java.lang.String newSubject)
          Set the email subject.
 
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

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class.

MSG_TYPE_NAME

public static final java.lang.String MSG_TYPE_NAME

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.tools.optools.order.commands.CSROrderCommentsNotifyCmd".
Method Detail

setComment

public void setComment(java.lang.String newComment)
Set the order comment which needs to be sent.
Parameters:
newComment - The order comment.

setOrderId

public void setOrderId(java.lang.Long newOrderId)
Set the order ID.
Parameters:
newOrderId - The order ID.

setOrderId

public void setOrderId(java.lang.String newOrderId)
Set the order ID.
Parameters:
newOrderId - The order ID.

setReceiverEmailAddress

public void setReceiverEmailAddress(java.lang.String newReceiverEmailAddr)
Set the email address.
Parameters:
newReceiverEmailAddr - The email address.

setSubject

public void setSubject(java.lang.String newSubject)
Set the email subject.
Parameters:
newSubject - The email subject.