java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.order.commands.OrderNotifyCmdImpl
Sends order notification message.
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.order.commands.OrderNotifyCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
OrderNotifyCmdImpl() Constructor. |
Method Summary | |
protected java.lang.String | buildMsgText() Build message text. |
java.lang.Object[] | getMessageSubjectParms() Get parameters for notification message subject |
java.lang.Integer | getNotificationTemplateId() Get notification template id. |
OrderAccessBean | getOrder() Get the order id for which the notification is requested. |
java.util.Vector | getRecipients() Get the recipients email addresses (vector of Strings). |
boolean | isNotificationEnabled() Check if notification is enabled. |
void | performExecute() Main business logic. |
void | setMessageSubjectParms(java.lang.Object[] newMessageSubjectParms) Set parameters for notification message subject |
void | setNotificationEnabled(boolean newNotificationEnabled) Enable or disable order notification. |
void | setNotificationTemplateId(java.lang.Integer newNotificationTemplateId) Set notification template id. |
void | setOrder(OrderAccessBean newOrder) Set the order id for which the notification is requested. |
void | setRecipients(java.util.Vector newRecipients) Set the recipients email addresses (vector of Strings). |
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, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
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 OrderNotifyCmdImpl()
Method Detail |
protected java.lang.String buildMsgText() throws FinderException, CreateException, java.rmi.RemoteException, javax.naming.NamingException
public java.lang.Object[] getMessageSubjectParms()
public java.lang.Integer getNotificationTemplateId()
public OrderAccessBean getOrder()
public java.util.Vector getRecipients()
public boolean isNotificationEnabled()
public void performExecute() throws ECException
public void setMessageSubjectParms(java.lang.Object[] newMessageSubjectParms)
public void setNotificationEnabled(boolean newNotificationEnabled)
public void setNotificationTemplateId(java.lang.Integer newNotificationTemplateId)
public void setOrder(OrderAccessBean newOrder)
public void setRecipients(java.util.Vector newRecipients)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.