public class NotifyRFQResponseCmdImpl extends TaskCommandImpl implements NotifyRFQResponseCmd
This command calls the following TaskCommands:
This command uses the following AccessBeans:Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
NotifyRFQResponseCmdImpl()
Constructs an instance of NotifyRFQResponseCmdImpl.
|
Modifier and Type | Method and Description |
---|---|
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()
Deprecated.
This method is replaced by
getResponseNotificationTypeName() . |
static java.lang.String |
getResponseNotificationTypeName()
Gets responseNotificationTypeName.
|
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)
Deprecated.
This method is replaced by
setResponseNotificationType(String) . |
static void |
setResponseNotificationType(java.lang.String newResponseNotificationTypeName)
Sets responseNotificationType.
|
void |
setSourceState(java.lang.Integer newSourceState)
Sets the sourceState.
|
void |
validateParameters()
Validate parameters.
|
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
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
public static final java.lang.String COPYRIGHT
public NotifyRFQResponseCmdImpl()
public void buildRecipients() throws ECApplicationException
ECApplicationException
public java.util.Vector getPreferredLanguages()
public java.util.Vector getRecipients()
public RFQResponseAccessBean getResponseAccessBean()
public static java.lang.Integer getResponseNotificationType()
getResponseNotificationTypeName()
.public static java.lang.String getResponseNotificationTypeName()
public java.lang.Integer getSourceState()
public java.lang.String getSubject(java.util.Locale locale)
locale
- the localepublic void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
com.ibm.commerce.exception.ECException.
ECException
public void setRecipients(java.util.Vector newRecipients)
newRecipients
- java.util.Vectorpublic void setResponseAccessBean(RFQResponseAccessBean newResponseAccessBean)
setResponseAccessBean
in interface NotifyRFQResponseCmd
i
- com.ibm.commerce.rfq.objects.RFQResponseAccessBeanpublic static void setResponseNotificationType(java.lang.Integer newResponseNotificationType)
setResponseNotificationType(String)
.newResponseNotificationType
- java.lang.Integerpublic static void setResponseNotificationType(java.lang.String newResponseNotificationTypeName)
newResponseNotificationTypeName
- Stringpublic void setSourceState(java.lang.Integer newSourceState)
setSourceState
in interface NotifyRFQResponseCmd
newSourceState
- java.lang.Integerpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException