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, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public 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 ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setMessageSubjectParms(java.lang.Object[] newMessageSubjectParms)
setMessageSubjectParms
in interface OrderNotifyCmd
newMessageSubjectParms
- message subject parameters.public void setNotificationEnabled(boolean newNotificationEnabled)
setNotificationEnabled
in interface OrderNotifyCmd
newNotificationEnabled
- notification enabled parameter.public void setNotificationTemplateId(java.lang.Integer newNotificationTemplateId)
setNotificationTemplateId
in interface OrderNotifyCmd
newNotificationTemplateId
- notification template id.public void setOrder(OrderAccessBean newOrder)
setOrder
in interface OrderNotifyCmd
newOrder
- order.public void setRecipients(java.util.Vector newRecipients)
setRecipients
in interface OrderNotifyCmd
newRecipients
- recipients.