public class BirthdayTriggerTaskCmdImpl extends MarketingCampaignElementTaskCmdImpl implements BirthdayTriggerTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
BirthdayTriggerTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void | forwardTriggersForProcessing()
This method finds all the customers whose birthday is at the specific month and day, and forwards the trigger to the marketing services for each customer.
|
java.util.List | getUsersByBirthday(java.lang.Integer storeId, java.lang.String targetMM, java.lang.String targetDD)
This method gets the member IDs and personalization IDs for customers whose birthday is at the month specified in the targetMM parameter, and the day specified in the targetDD parameter.
|
void | processBirthdayTrigger(java.lang.Integer storeId, java.lang.Integer elementId, java.lang.Integer activityId, java.lang.String targetMM, java.lang.String targetDD)
This method finds all the users whose birthday is at the specific MMDD.
|
java.util.List | validateParameters(java.util.Map elementParameters)
This method validates that all the required name value pairs have been set for the campaign element.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.util.List validateParameters(java.util.Map elementParameters)
public void forwardTriggersForProcessing()
public void processBirthdayTrigger(java.lang.Integer storeId, java.lang.Integer elementId, java.lang.Integer activityId, java.lang.String targetMM, java.lang.String targetDD)
public java.util.List getUsersByBirthday(java.lang.Integer storeId, java.lang.String targetMM, java.lang.String targetDD)