public class CustomerSearchesTriggerTaskCmdImpl extends CustomerFilterUserBehaviorTargetTaskCmdImpl implements CustomerSearchesTriggerTaskCmd
CustomerFilterUserBehaviorTargetTaskCmd command to check
if a customer has performed an search event, with the appropriate search terms, a specific
number of times within the given time frame. The customer's search behavior is stored in the
DMUSERBHVR database table. This command has validation for the WaitForSearchEvent 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_SEARCH_TERM_LIST
The parameter that identifies the values of the searchTerm parameter.
|
ALL, ANY, LOCATION_CURRENT_REQUEST, LOCATION_CUSTOMER_HISTORY, LOCATION_REFERRALDM_FROM_FORWARD_TRIGGERS_FOR_PROCESSING, EMLPROMO_NAME_PREFIX, GENERIC_USER_IDdefaultCommandClassNamedefaultCommandClassName| Constructor and Description |
|---|
CustomerSearchesTriggerTaskCmdImpl() |
| 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 wait
for search trigger.
|
performExecuteaddEMarketingSpotDataBean, 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, validateTimesexecute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforwardTriggersForProcessing, getEMarketingSpotDataBeans, getMarketingSpotBehavior, getNewElementParameters, getReturnValue, returnEMarketingSpotDataBeans, setActivity, setElementId, setElementParameters, setExperimentTestElements, setNewElementParameter, setPreviewReport, setReturnValue, setTemporarySharedData, setTriggerParameters, setTriggerParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiespublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public static final java.lang.String PARAM_SEARCH_TERM_LIST
public static final java.lang.String PARAM_COMPARISON
public java.util.List validateParameters(java.util.Map elementParameters)
validateDates method to validate the optional
date parameters. It checks for the existence of searchTerm, numberOfTimes, and comparison.
If comparison is not equal to "any", then the searchTerm must be specified.validateParameters in interface MarketingCampaignElementTaskCmdvalidateParameters in class CustomerFilterUserBehaviorTargetTaskCmdImplelementParameters - The name value pairs for this element.ApplicationError exceptions
that contains any validation errors. The list may be empty or be null.