java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.tools.optools.order.commands.CSROrderCommentsNotifyCmdImpl
This is the default implementation of the CSROrderCommentsNotifyCmd command. This command will use the email address of the store as the sender email address.
This command calls the following command:
This command uses the following AccessBeans:
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.tools.optools.order.commands.CSROrderCommentsNotifyCmd |
defaultCommandClassName, MSG_TYPE_NAME, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
CSROrderCommentsNotifyCmdImpl() CSROrderCommentsNotifyCmdImpl constructor. |
Method Summary | |
AccessVector | getResources() Gets the access vector accessed by this command. |
java.lang.String | getStoreEMailAddress(java.lang.String newStoreId) Obtain the email address of the store. |
void | performExecute() This method performs the execution to send order comment. |
void | setComment(java.lang.String newComment) Sets the order comment which needs to be sent. |
void | setOrderId(java.lang.Long newOrderId) Sets the order ID. |
void | setOrderId(java.lang.String newOrderId) Sets the order ID. |
void | setReceiverEmailAddress(java.lang.String newReceiverEmailAddr) Sets the email address. |
void | setSubject(java.lang.String newSubject) Ses the email subject. |
void | validateParameters() Validates the input parameters are valid. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, 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 CSROrderCommentsNotifyCmdImpl()
Method Detail |
public AccessVector getResources() throws ECException
public java.lang.String getStoreEMailAddress(java.lang.String newStoreId) throws java.lang.Exception
public void performExecute() throws ECException
public void setComment(java.lang.String newComment)
public void setOrderId(java.lang.Long newOrderId)
public void setOrderId(java.lang.String newOrderId)
public void setReceiverEmailAddress(java.lang.String newReceiverEmailAddr)
public void setSubject(java.lang.String newSubject)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.