public class SendEmailActivityTaskCmdImpl extends TaskCommandImpl implements SendEmailActivityTaskCmd
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] | additionalMbrGrpIds
Additional Member Group Ids
|
protected java.lang.String | anyOrAllOnAdditionalMbrGrps
Any or All flag for additional member groups.
|
static java.lang.String | COPYRIGHT
Copyright.
|
protected java.lang.Integer | emailActivityId
Email Activity Id
|
Constructor and Description |
---|
SendEmailActivityTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected com.ibm.commerce.emarketing.engine.EmailRecipientSupplier | getEmailRecipientSupplier()
This method help to get the target Email Recipient Supplier, this can be overwritten in the sub class.
|
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. |
protected void | sendEmail(com.ibm.commerce.emarketing.engine.EmailJobKeeper mailJobKeeper)
This method is used to send email.
|
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.
|
public static final java.lang.String COPYRIGHT
protected java.lang.Integer emailActivityId
protected java.lang.String[] additionalMbrGrpIds
protected java.lang.String anyOrAllOnAdditionalMbrGrps
public void performExecute() throws ECException
protected void sendEmail(com.ibm.commerce.emarketing.engine.EmailJobKeeper mailJobKeeper) throws ECException
protected com.ibm.commerce.emarketing.engine.EmailRecipientSupplier getEmailRecipientSupplier() throws ECSystemException
public void setEmailPromotionId(java.lang.Integer newEmailPromotionId)
public void setMemberGroupIds(java.lang.String[] mbrGrpIds, java.lang.String anyOrAll)
public void setEmailPromoMemberGroupId(java.lang.String mbrGrpId)
public void setDeleteMemberGroupAfterSend(boolean del)
public boolean getSentLastBatch()