public class CSREmailOrderCmdImpl extends ToolsControllerCommandImpl implements CSREmailOrderCmd
CSROEmailOrderCmd
command.
This command calls the following Command:
This command uses the following AccessBeans:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The copyright statement.
|
NAME
defaultCommandClassName
Constructor and Description |
---|
CSREmailOrderCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBCC()
Gets the BCC recipients.
|
java.lang.String |
getCC()
Gets the CC recipients.
|
java.lang.String |
getMessageType()
Gets the message type name.
|
java.util.Hashtable |
getNLS()
Gets the NLS messages hashtable.
|
java.lang.String |
getOrderId()
Gets the order reference number.
|
java.lang.String |
getRecipients()
Gets the recipients.
|
java.lang.String |
getRedirectURL()
Gets the redirect url.
|
java.lang.String |
getSender()
Gets the sender of the email.
|
java.lang.String |
getSubject()
Gets the subject of the email.
|
java.lang.String |
getXmlFile()
Gets the xmlFile to return to when the command has completed.
|
void |
performExecute()
Business logic of the command to send the message type using the messaging subsystem.
|
void |
setBCC(java.lang.String newBCC)
Sets the BCC recipients of the message.
|
void |
setCC(java.lang.String newCC)
Sets the CC recipients of the message.
|
void |
setMessageType(java.lang.String newMessageType)
Sets the message type name.
|
void |
setNLS(java.util.Hashtable newNLS)
Sets the NLS hashtable.
|
void |
setOrderId(java.lang.String newOrderId)
Sets the order reference number.
|
void |
setRecipients(java.lang.String newRecipients)
Sets the recipients of the message.
|
void |
setRedirectURL(java.lang.String newURL)
Sets the redirect url.
|
void |
setSender(java.lang.String newSender)
Sets the sender of the message.
|
void |
setSubject(java.lang.String newSubject)
Sets the subject of the message.
|
void |
setXmlFile(java.lang.String newXmlFile)
Sets XML file.
|
void |
validateParameters()
This method gets XML object from the GUI Dialog and get ready to parse it.
|
getViewInputProperties, setRequestProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public java.lang.String getBCC()
public java.lang.String getCC()
public java.lang.String getMessageType()
public java.util.Hashtable getNLS()
public java.lang.String getOrderId()
public java.lang.String getRecipients()
public java.lang.String getRedirectURL()
public java.lang.String getSender()
public java.lang.String getSubject()
public java.lang.String getXmlFile()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- if the OrderReceived message can not be composed or sent.public void setBCC(java.lang.String newBCC)
newBCC
- The string of BCC recipients email addresses.public void setCC(java.lang.String newCC)
newCC
- The string of CC recipients email addresses.public void setMessageType(java.lang.String newMessageType)
newMessageType
- The message type name.public void setNLS(java.util.Hashtable newNLS)
newNLS
- The hashtable with NLS messagespublic void setOrderId(java.lang.String newOrderId)
newOrderId
- The order reference number.public void setRecipients(java.lang.String newRecipients)
newRecipients
- The string of recipients email addresses.public void setRedirectURL(java.lang.String newURL)
newURL
- The redirect url.public void setSender(java.lang.String newSender)
newSender
- The sender used.public void setSubject(java.lang.String newSubject)
newSubject
- The subject used.public void setXmlFile(java.lang.String newXmlFile)
newXmlFile
- The XML file used.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- If the XML object cannot be parsed, it throws ECApplicationException.