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, 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 ReleaseShipNotifyCmdImpl()
public java.lang.Object[] getMessageSubjectParms()
public java.lang.Integer getMessageType()
getMessageTypeName()
.RemoteException
CreateException
NamingException
FinderException
public 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 ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- 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 commandECSystemException
public 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.ECSystemException
public void setMessageSubjectParms(java.lang.Object[] newMessageSubjectParams)
setMessageSubjectParms
in interface ReleaseShipNotifyCmd
newMessageSubjectParams
- the list of parameters used for the subjectpublic void setOrderReleaseNum(java.lang.Integer anOrderReleaseNum)
setOrderReleaseNum
in interface ReleaseShipNotifyCmd
anOrderReleaseNum
- the order release numberpublic void setOrderRn(java.lang.Long anOrderRn)
setOrderRn
in interface ReleaseShipNotifyCmd
anOrderRn
- the order reference numberpublic void setRecipients(java.util.Vector newRecipients)
setRecipients
in interface ReleaseShipNotifyCmd
newRecipients
- the vector containing the list of recipients' addresses