public class SendEmailActivityTaskCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements SendEmailActivityTaskCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
defaultCommandClassName| Constructor and Description |
|---|
SendEmailActivityTaskCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getSentLastBatch()
This method returns if the last batch of e-mail has been sent.
|
void |
performExecute()
Performs the operations required to deliver the e-mail activity set by the setEmailPromotionId method.
Delivery is performed by the following steps: EmailPromotionAccessBean is used to lookup the e-mail activity configuration based on the value passed to setEmailPromotionId. |
void |
setDeleteMemberGroupAfterSend(boolean del)
This method sets if the member group associated with the e-mail promotion
should be deleted after the e-mails have been sent.
|
void |
setEmailPromoMemberGroupId(java.lang.String mbrGrpId)
This method sets the ID of the member group associated with the e-mail promotion.
|
void |
setEmailPromotionId(java.lang.Integer newEmailPromotionId)
Sets the unique identifier of the e-mail activity that is to be sent.
|
void |
setMemberGroupIds(java.lang.String[] mbrGrpIds,
java.lang.String anyOrAll)
This method sets the additional member group IDs of the customer segment
to which to send the the bulk email.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccessControlCheck, 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, validateParameterscheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public boolean getSentLastBatch()
public 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.ECExceptioncom.ibm.commerce.exception.ECExceptionpublic void setDeleteMemberGroupAfterSend(boolean del)
del - Set to true if the member group should be deleted.public void setEmailPromoMemberGroupId(java.lang.String mbrGrpId)
mbrGrpId - The ID of the member group.public void setEmailPromotionId(java.lang.Integer newEmailPromotionId)
setEmailPromotionId in interface SendEmailActivityTaskCmdnewEmailPromotionId - the email Promotion Idpublic void setMemberGroupIds(java.lang.String[] mbrGrpIds,
java.lang.String anyOrAll)
memberGroupId to this command.setMemberGroupIds in interface SendEmailActivityTaskCmdmbrGrpIds - The set of IDs of the member groups to which to send the bulk email.anyOrAll - Should the email be sent to the customers in each of the specified groups (any),
or should the email be sent to those who are in all of the specified groups (all).
Valid values are: any, all.