public class EmailIndividualCreateCmdImpl extends com.ibm.commerce.command.ControllerCommandImpl implements EmailIndividualCreateCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName| Constructor and Description |
|---|
EmailIndividualCreateCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanup()
This method cleans up the thread local resources.
|
java.lang.Integer |
getElementId()
This method gets the ID of the element.
|
com.ibm.commerce.accesscontrol.AccessVector |
getResources()
Gets the access vector accessed by this command.
|
void |
performExecute()
This method sends an email to an individual customer.
|
void |
setElementId(java.lang.Integer newElementId)
This method sets the ID of the element.
|
void |
setTriggerParameters(java.util.Map parameters)
This method sets the trigger parameters associated with the event that is going to send the e-mail.
|
void |
validateParameters()
This method validates the parameters expected in the request properties.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiescheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public static void cleanup()
public java.lang.Integer getElementId()
public com.ibm.commerce.accesscontrol.AccessVector getResources()
throws com.ibm.commerce.exception.ECException
null. It is assumed that only a site administrator
will run this command.getResources in interface com.ibm.commerce.command.ECCommandgetResources in class com.ibm.commerce.command.AbstractECTargetableCommandnull.com.ibm.commerce.exception.ECExceptionpublic void performExecute()
throws com.ibm.commerce.exception.ECException
performExecute in interface com.ibm.commerce.command.ECCommandperformExecute in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECException - If anything goes wrong with the data resources being queried.public void setElementId(java.lang.Integer newElementId)
newElementId - The ID of the element.public void setTriggerParameters(java.util.Map parameters)
setTriggerParameters in interface EmailIndividualCreateCmdparameters - A map that contains the trigger parameters.public void validateParameters()
throws com.ibm.commerce.exception.ECException
validateParameters in interface com.ibm.commerce.command.ECCommandvalidateParameters in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECException - If any of the required parameters are missing.