public class ReleaseShipNotifyCmdImpl extends TaskCommandImpl implements ReleaseShipNotifyCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
ReleaseShipNotifyCmdImpl()
The ReleaseShipNotifyCmdImpl constructor calls its parents constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getMessageSubjectParms()
This method returns the parameters used for the notification message subject.
|
java.lang.Integer |
getMessageType()
Deprecated.
This method is replaced by
getMessageTypeName(). |
java.lang.String |
getMessageTypeName()
This method returns the message type name.
|
java.lang.Integer |
getOrderReleaseNum()
This method returns the order release number.
|
java.lang.Long |
getOrderRn()
This method returns the order reference number.
|
java.util.Vector |
getRecipients()
This method returns the list of recipients' addresses for the notification message.
|
void |
performExecute()
This is the core of the ReleaseShipNotify command.
|
void |
sendNotification(Messaging anMs)
This method sends the notification message to the shopper.
|
void |
sendNotification(Messaging anMs,
java.util.Enumeration anenRecipients)
This method sends the notification message to all the recipients set by the caller of
the task command.
|
void |
setMessageSubjectParms(java.lang.Object[] newMessageSubjectParams)
This method sets the parameters for notification message subject.
|
void |
setOrderReleaseNum(java.lang.Integer anOrderReleaseNum)
This method sets the order release number used in this command.
|
void |
setOrderRn(java.lang.Long anOrderRn)
This method sets the order reference number used in this command.
|
void |
setRecipients(java.util.Vector newRecipients)
This method sets the list of recipients' addresses for the notification message.
|
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 ReleaseShipNotifyCmdImpl()
public java.lang.Object[] getMessageSubjectParms()
public java.lang.Integer getMessageType()
getMessageTypeName().RemoteExceptionCreateExceptionNamingExceptionFinderExceptionpublic java.lang.String getMessageTypeName()
public java.lang.Integer getOrderReleaseNum()
public java.lang.Long getOrderRn()
public java.util.Vector getRecipients()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - Raised with ERR_REMOTE_EXCEPTION message when it encounters a RemoteException.
Raised with ERR_CREATE_EXCEPTION message when it encounters a CreateException. Raised with
ERR_GENERIC message when it encounters a NamingException. Raised with ERR_FINDER_EXCEPTION
message when it encounters a FinderException.public void sendNotification(Messaging anMs) throws ECSystemException
anMs - the Messaging object used in this commandECSystemExceptionpublic void sendNotification(Messaging anMs, java.util.Enumeration anenRecipients) throws ECSystemException
Enumeration object.anMs - the Messaging object.anenRecipients - The Enumeration object containing one or more addresses.ECSystemExceptionpublic void setMessageSubjectParms(java.lang.Object[] newMessageSubjectParams)
setMessageSubjectParms in interface ReleaseShipNotifyCmdnewMessageSubjectParams - the list of parameters used for the subjectpublic void setOrderReleaseNum(java.lang.Integer anOrderReleaseNum)
setOrderReleaseNum in interface ReleaseShipNotifyCmdanOrderReleaseNum - the order release numberpublic void setOrderRn(java.lang.Long anOrderRn)
setOrderRn in interface ReleaseShipNotifyCmdanOrderRn - the order reference numberpublic void setRecipients(java.util.Vector newRecipients)
setRecipients in interface ReleaseShipNotifyCmdnewRecipients - the vector containing the list of recipients' addresses