public class RecurringOrderTriggerTaskCmdImpl extends MarketingCampaignElementTaskCmdImpl implements RecurringOrderTriggerTaskCmd
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.
|
DM_FROM_FORWARD_TRIGGERS_FOR_PROCESSING, EMLPROMO_NAME_PREFIX, GENERIC_USER_ID
defaultCommandClassName
Constructor and Description |
---|
RecurringOrderTriggerTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
forwardTriggersForProcessing()
This method is called once a day or just one-time by the Process MarketingTrigger SendTriggers
scheduled job.
|
java.util.List |
getUsersByRecurringOrderProperty(java.lang.Integer storeId,
java.lang.String targetMM,
java.lang.String targetDD,
java.lang.String recurringOrderTriggerType,
java.lang.String startsBetweenDateRange,
java.lang.String startDate1,
java.lang.String startDate2,
java.lang.String endsBetweenDateRange,
java.lang.String endDate1,
java.lang.String endDate2,
java.lang.String checkOrderTotalRange,
java.lang.String amountOperator1,
java.lang.String amountOperator2,
java.lang.String amountValue1,
java.lang.String amountValue2,
java.lang.String amountCurrency)
This method gets the member IDs and personalization IDs for customers whose recurring order
property is at the month specified in the
targetMM parameter, and the day
specified in the targetDD parameter, and/or the property meets the start date/
end date/order total filters. |
void |
processRecurringOrderTrigger(java.lang.Integer storeId,
java.lang.Integer elementId,
java.lang.Integer activityId,
java.lang.String targetMM,
java.lang.String targetDD,
java.lang.String recurringOrderTriggerType,
java.lang.String startsBetweenDateRange,
java.lang.String startDate1,
java.lang.String startDate2,
java.lang.String endsBetweenDateRange,
java.lang.String endDate1,
java.lang.String endDate2,
java.lang.String checkOrderTotalRange,
java.lang.String amountOperator1,
java.lang.String amountOperator2,
java.lang.String amountValue1,
java.lang.String amountValue2,
java.lang.String amountCurrency)
This method finds all the users whose recurring order property is at the specific date
or meets the additional start date/end date/order total filter options.
|
java.util.List |
validateParameters(java.util.Map elementParameters)
This method validates that all the required name value pairs that were set for
the campaign element.
|
addEMarketingSpotDataBean, forwardTriggersForProcessing, getActivity, getDataFromTriggerParameters, getElementId, getElementParameters, getEMarketingSpotDataBeans, getExperimentTestElements, getMarketingContent, getMarketingSpotBehavior, getMemberId, getMemberId, getMemberIdsForPersonalizationId, getMemberIdsForPersonalizationId, getNewElementParameters, getPersonalizationId, getPreviewReport, getRegisteredMemberIdForPersonalizationId, getReturnValue, getStoreId, getTemporarySharedData, getTemporarySharedDataObject, getTriggerParameters, getTriggerParametersMap, getUserDataForElement, isReadyToCallExecute, performExecute, putTemporarySharedDataObject, returnEMarketingSpotDataBeans, setActivity, setElementId, setElementParameters, setExperimentTestElements, setNewElementParameter, setOutputProperties, setPreviewReport, setReturnValue, setTemporarySharedData, setTriggerParameters, setTriggerParameters, validateCategory, validateCustomerSegment, validateDates, validateElementIsFirstInActivity, validateEmailTemplate, validateMarketingContent, validateMarketingContent, validateMarketingSpot, validateProduct, validatePromotion, validatePromotionCodes, validatePromotionCodesOrCoupon, validatePromotionCoupon, validatePromotionDisplay, validateSubscription, validateTimes
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEMarketingSpotDataBeans, getMarketingSpotBehavior, getNewElementParameters, getReturnValue, returnEMarketingSpotDataBeans, setActivity, setElementId, setElementParameters, setExperimentTestElements, setNewElementParameter, setPreviewReport, setReturnValue, setTemporarySharedData, setTriggerParameters, setTriggerParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.util.List validateParameters(java.util.Map elementParameters)
validateParameters
in interface MarketingCampaignElementTaskCmd
validateParameters
in class MarketingCampaignElementTaskCmdImpl
elementParameters
- The name value pairs for this element.ApplicationError
exceptions
that contains any validation errors. The list may be empty or be null
.public void forwardTriggersForProcessing()
forwardTriggersForProcessing
in interface MarketingCampaignElementTaskCmd
forwardTriggersForProcessing
in class MarketingCampaignElementTaskCmdImpl
public void processRecurringOrderTrigger(java.lang.Integer storeId, java.lang.Integer elementId, java.lang.Integer activityId, java.lang.String targetMM, java.lang.String targetDD, java.lang.String recurringOrderTriggerType, java.lang.String startsBetweenDateRange, java.lang.String startDate1, java.lang.String startDate2, java.lang.String endsBetweenDateRange, java.lang.String endDate1, java.lang.String endDate2, java.lang.String checkOrderTotalRange, java.lang.String amountOperator1, java.lang.String amountOperator2, java.lang.String amountValue1, java.lang.String amountValue2, java.lang.String amountCurrency)
storeId
- The identifier of the store in which to find the users in the segment.elementId
- The identifier of the trigger element.activityId
- The identifier of the marketing activity.targetMM
- The targeted month of the recurring order property.targetDD
- The targeted day of month of the recurring order property.recurringOrderTriggerType
- The value representing the recurring order property to trigger upon.startsBetweenDateRange
- The value indicating whether the start date range filter is selected.startDate1
- The date when the start date range begins.startDate2
- The date when the start date range ends.endsBetweenDateRange
- The value indicating whether the end date range filter is selected.endDate1
- The date when the end date range begins.endDate2
- The date when the end date range ends.checkOrderTotalRange
- The value indicating whether the order total filter is selected.amountOperator1
- The first operator to compare the order total to.amountOperator2
- The second operator to compare the order total to.amountValue1
- The first amount to compare the order total to.amountValue2
- The second amount to compare the order total to.amountCurrency
- The currency that the specified amounts are in.public java.util.List getUsersByRecurringOrderProperty(java.lang.Integer storeId, java.lang.String targetMM, java.lang.String targetDD, java.lang.String recurringOrderTriggerType, java.lang.String startsBetweenDateRange, java.lang.String startDate1, java.lang.String startDate2, java.lang.String endsBetweenDateRange, java.lang.String endDate1, java.lang.String endDate2, java.lang.String checkOrderTotalRange, java.lang.String amountOperator1, java.lang.String amountOperator2, java.lang.String amountValue1, java.lang.String amountValue2, java.lang.String amountCurrency)
targetMM
parameter, and the day
specified in the targetDD
parameter, and/or the property meets the start date/
end date/order total filters.storeId
- The unique ID of the store.targetMM
- The string for the specific month in MM format.targetDD
- The string for the specific day in DD format.recurringOrderTriggerType
- The value representing the recurring order property to trigger upon.startsBetweenDateRange
- The value indicating whether the start date range filter is selected.startDate1
- The date when the start date range begins.startDate2
- The date when the start date range ends.endsBetweenDateRange
- The value indicating whether the end date range filter is selected.endDate1
- The date when the end date range begins.endDate2
- The date when the end date range ends.checkOrderTotalRange
- The value indicating whether the order total filter is selected.amountOperator1
- The first operator to compare the order total to.amountOperator2
- The second operator to compare the order total to.amountValue1
- The first amount to compare the order total to.amountValue2
- The second amount to compare the order total to.amountCurrency
- The currency that the specified amounts are in.