java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.rfq.commands.NotifyRFQResponseCmdImpl
Implementatation for sending a message to the buyer when submitting, cancelling or retracting an RFQ response.
This command calls the following TaskCommands:
This command uses the following AccessBeans:Field Summary | |
static java.lang.String | COPYRIGHT Copyright. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.rfq.commands.NotifyRFQResponseCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
NotifyRFQResponseCmdImpl() Constructs a instance of NotifyRFQResponseCmdImpl. |
Method Summary | |
void | buildRecipients() Sets the recipients and preferredLanguage using the owner of Request. |
java.util.Vector | getPreferredLanguages() Gets the preferredLanguages. |
java.util.Vector | getRecipients() Gets the recipients. |
RFQResponseAccessBean | getResponseAccessBean() Gets the responseAccessBean. |
static java.lang.Integer | getResponseNotificationType() Gets responseNotificationType. |
java.lang.Integer | getSourceState() Gets the sourceState. |
java.lang.String | getSubject(java.util.Locale locale) Builds subject from RFQMessageHelper. |
void | performExecute() This method calls the Commerce Suite messaging system to load JSPs,generate a message and send it. |
void | setRecipients(java.util.Vector newRecipients) Sets the recipients. |
void | setResponseAccessBean(RFQResponseAccessBean newResponseAccessBean) Sets the responseAccessBean. |
static void | setResponseNotificationType(java.lang.Integer newResponseNotificationType) Sets responseNotificationType. |
void | setSourceState(java.lang.Integer newSourceState) Sets the sourceState. |
void | validateParameters() Validate parameters. |
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 |
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 NotifyRFQResponseCmdImpl()
Method Detail |
public void buildRecipients() throws java.rmi.RemoteException, CreateException, javax.naming.NamingException, FinderException, ECApplicationException
public java.util.Vector getPreferredLanguages()
public java.util.Vector getRecipients()
public RFQResponseAccessBean getResponseAccessBean()
public static java.lang.Integer getResponseNotificationType()
public java.lang.Integer getSourceState()
public java.lang.String getSubject(java.util.Locale locale) throws java.rmi.RemoteException, CreateException, javax.naming.NamingException, FinderException
public void performExecute() throws ECException
public void setRecipients(java.util.Vector newRecipients)
public void setResponseAccessBean(RFQResponseAccessBean newResponseAccessBean)
public static void setResponseNotificationType(java.lang.Integer newResponseNotificationType)
public void setSourceState(java.lang.Integer newSourceState)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.