java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.messaging.commands.ReleaseShipNotifyCmdImpl
Sends an E-mail notification message for order release shipment. To switch to this implementation, corresponding rows with interface name that this class implements in CMDREG table must be updated with this class name.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.messaging.commands. ReleaseShipNotifyCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ReleaseShipNotifyCmdImpl() ReleaseShipNotifyCmdImpl constructor. |
Method Summary | |
---|---|
java.lang.Object[] |
getMessageSubjectParms() Returns the parameters used for notification message subject. |
java.lang.Integer |
getMessageType() Returns the Message Type Id. |
java.lang.Integer |
getOrderReleaseNum() Returns the order release number. |
java.lang.Long |
getOrderRn() Returns the order reference number. |
java.util.Vector |
getRecipients() Returns the list of recipients for the notification message. |
void |
performExecute() This is the real function part of the ReleaseShipNotify command - sends a notification message. |
void |
setMessageSubjectParms(java.lang.Object[] newMessageSubjectParms) Sets the parameters for notification message subject. |
void |
setOrderReleaseNum(java.lang.Integer anOrderReleaseNum) Sets the order release number. |
void |
setOrderRn(java.lang.Long anOrderRn) Sets the order reference number. |
void |
setRecipients(java.util.Vector newRecipients) Sets the list of recipients for the notification message. |
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 ReleaseShipNotifyCmdImpl()
Method Detail |
---|
public java.lang.Object[] getMessageSubjectParms()
public java.lang.Integer getMessageType() throws java.rmi.RemoteException, CreateException, javax.naming.NamingException, FinderException
java.rmi.RemoteException
CreateException
javax.naming.NamingException
FinderException
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 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 setMessageSubjectParms(java.lang.Object[] newMessageSubjectParms)
setMessageSubjectParms
in interface
ReleaseShipNotifyCmd
newMessageSubjectParms
- the parameters list (an Object array)
used by the subjectpublic void setOrderReleaseNum(java.lang.Integer anOrderReleaseNum)
setOrderReleaseNum
in interface
ReleaseShipNotifyCmd
anOrderReleaseNum
- the release number of the
orderpublic void setOrderRn(java.lang.Long anOrderRn)
setOrderRn
in interface
ReleaseShipNotifyCmd
anOrderRn
- the order numberpublic void setRecipients(java.util.Vector newRecipients)
setRecipients
in interface
ReleaseShipNotifyCmd
newRecipients
- the vector of recipients