com.ibm.commerce.messaging.commands
Class ReleaseShipNotifyCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.messaging.commands.ReleaseShipNotifyCmdImpl
- All Implemented Interfaces:
- ECCommand, ReleaseShipNotifyCmd, TaskCommand
- public class ReleaseShipNotifyCmdImpl
- extends TaskCommandImpl
- implements ReleaseShipNotifyCmd
Sends an E-mail notification message for order release shipment.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
java.lang.Object[] |
getMessageSubjectParms()
Returns the parameters 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.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
ReleaseShipNotifyCmdImpl
public ReleaseShipNotifyCmdImpl()
- ReleaseShipNotifyCmdImpl constructor
getMessageSubjectParms
public java.lang.Object[] getMessageSubjectParms()
- Returns the parameters for notification message subject.
- Returns:
- java.lang.Object[]
getMessageType
public java.lang.Integer getMessageType()
throws java.rmi.RemoteException,
javax.ejb.CreateException,
javax.naming.NamingException,
javax.ejb.FinderException
- Returns the Message Type Id
- Returns:
- java.lang.Integer
getOrderReleaseNum
public java.lang.Integer getOrderReleaseNum()
- Returns the order release number.
- Returns:
- java.lang.Integer
getOrderRn
public java.lang.Long getOrderRn()
- Returns the order reference number.
- Returns:
- java.lang.Long
getRecipients
public java.util.Vector getRecipients()
- Returns the list of recipients for the notification message.
- Returns:
- java.util.Vector
performExecute
public void performExecute()
throws ECException
- This is the real function part of the ReleaseShipNotify command - sends a
notification message.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setMessageSubjectParms
public void setMessageSubjectParms(java.lang.Object[] newMessageSubjectParms)
- Sets the parameters for notification message subject.
- Specified by:
setMessageSubjectParms
in interface ReleaseShipNotifyCmd
- Parameters:
messageSubjectParams
- java.lang.Object[]
setOrderReleaseNum
public void setOrderReleaseNum(java.lang.Integer anOrderReleaseNum)
- Sets the order release number.
- Specified by:
setOrderReleaseNum
in interface ReleaseShipNotifyCmd
- Parameters:
java.lang.Integer
-
setOrderRn
public void setOrderRn(java.lang.Long anOrderRn)
- Sets the order reference number.
- Specified by:
setOrderRn
in interface ReleaseShipNotifyCmd
- Parameters:
java.lang.Long
-
setRecipients
public void setRecipients(java.util.Vector newRecipients)
- Sets the list of recipients for the notification message.
- Specified by:
setRecipients
in interface ReleaseShipNotifyCmd
- Parameters:
recipients
- java.util.Vector