public class EventAndParametersTriggerTaskCmdImpl extends CustomerFilterUserBehaviorTargetTaskCmdImpl implements EventAndParametersTriggerTaskCmd
CustomerFilterUserBehaviorTargetTaskCmd
command to check
if a customer's user behavior matches the specified criteria. The customer has to have
performed the a particular event, with the appropriate parameters, a specific number of
times within the given time frame. The customer's
behavior is stored in the DMUSERBHVR database table. This command has validation for
the Event and Parameters trigger when the activity is activated.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.
|
static java.lang.String |
PARAM_COMPARISON
The parameter that identifies the comparison to use when checking the main parameter.
|
static java.lang.String |
PARAM_EVENT_NAME
The parameter that identifies the name of the event.
|
static java.lang.String |
PARAM_PARAMETER_ONE_NAME
The parameter that identifies the name of the main parameter.
|
static java.lang.String |
PARAM_PARAMETER_ONE_VALUE
The parameter that identifies the values of the main parameter.
|
static java.lang.String |
PARAM_PARAMETER_TWO_NAME
The parameter that identifies the name of the optional second parameter.
|
static java.lang.String |
PARAM_PARAMETER_TWO_VALUE
The parameter that identifies the value of the optional second parameter.
|
ALL, ANY, LOCATION_CURRENT_REQUEST, LOCATION_CUSTOMER_HISTORY, LOCATION_REFERRAL
DM_FROM_FORWARD_TRIGGERS_FOR_PROCESSING, EMLPROMO_NAME_PREFIX, GENERIC_USER_ID
defaultCommandClassName
defaultCommandClassName
Constructor and Description |
---|
EventAndParametersTriggerTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
validateParameters(java.util.Map elementParameters)
This method validates that all the required parameters have been set appropriately for the trigger
as specified in the behavior rule.
|
performExecute
addEMarketingSpotDataBean, forwardTriggersForProcessing, 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, 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
forwardTriggersForProcessing, 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 static final java.lang.String PARAM_EVENT_NAME
public static final java.lang.String PARAM_PARAMETER_ONE_NAME
public static final java.lang.String PARAM_PARAMETER_ONE_VALUE
public static final java.lang.String PARAM_PARAMETER_TWO_NAME
public static final java.lang.String PARAM_PARAMETER_TWO_VALUE
public static final java.lang.String PARAM_COMPARISON
public EventAndParametersTriggerTaskCmdImpl()
public java.util.List validateParameters(java.util.Map elementParameters)
validateDates
method
to validate the optional date parameters. It checks for the existence of eventName, numberOfTimes,
parameterOneName, and comparison. If comparison is not equal to "any", then
the parameterOneValueList must be specified. If either of parameterTwoName or parameterTwoValue
is specified, then both must be specified.validateParameters
in interface MarketingCampaignElementTaskCmd
validateParameters
in class CustomerFilterUserBehaviorTargetTaskCmdImpl
elementParameters
- The name value pairs for this element.ApplicationError
exceptions
that contains any validation errors. The list may be empty or be null
.