public class OrderNotifyCmdImpl extends TaskCommandImpl implements OrderNotifyCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
OrderNotifyCmdImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
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
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setMessageSubjectParms(java.lang.Object[] newMessageSubjectParms)
setMessageSubjectParms in interface OrderNotifyCmdnewMessageSubjectParms - message subject parameters.public void setNotificationEnabled(boolean newNotificationEnabled)
setNotificationEnabled in interface OrderNotifyCmdnewNotificationEnabled - notification enabled parameter.public void setNotificationTemplateId(java.lang.Integer newNotificationTemplateId)
setNotificationTemplateId in interface OrderNotifyCmdnewNotificationTemplateId - notification template id.public void setOrder(OrderAccessBean newOrder)
setOrder in interface OrderNotifyCmdnewOrder - order.public void setRecipients(java.util.Vector newRecipients)
setRecipients in interface OrderNotifyCmdnewRecipients - recipients.