public interface MarketingCampaignElementTaskCmd
extends com.ibm.websphere.command.CacheableCommand
For a target:
For an action:
For a trigger:
The following techniques can be used to share data during the evaluation of an activity:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | defaultCommandClassName
Default implementation class for this command.
|
Modifier and Type | Method and Description |
---|---|
void | forwardTriggersForProcessing()
This method finds all the users associated with a Trigger element, and forwards the trigger for each user.
|
java.util.List | getEMarketingSpotDataBeans()
This method returns to the marketing services the list of EMarketingSpotDataBean objects that contain the information of what to display to the customer in the e-Marketing Spot.
|
java.lang.String | getMarketingSpotBehavior(java.util.Map elementParameters)
This method gets the caching behavior for the marketing campaign element and how it should affect the e-Marketing Spot caching behavior.
|
java.util.Map | getNewElementParameters()
This method gets the new element parameters that were created in the DMELEMENTNVP table for this element during activation of the activity.
|
boolean | getReturnValue()
This method returns the return value set by the task command implementation.
|
void | returnEMarketingSpotDataBeans()
This method returns to the marketing services the list of EMarketingSpotDataBean objects that contain the information of what to display to the customer in the e-Marketing Spot.
|
void | setActivity(Activity activity)
This method sets the activity business object associated with the element.
|
void | setElementId(java.lang.Integer elementId)
This method sets the ID of the element.
|
void | setElementParameters(java.util.Map parameters)
This method set the parameters associated with the element.
|
void | setExperimentTestElements(java.util.List experimentTestElements)
This method sets the set of experiments and test elements that have been passed along the activity flow.
|
void | setNewElementParameter(java.lang.String name, java.lang.String value)
This method sets that a new element parameter has been created in the DMELEMENTNVP table for this element during activation of the activity.
|
void | setPreviewReport(java.util.List previewReport)
This method sets the list of information about the activity evaluation on the e-Marketing Spot.
|
void | setReturnValue(boolean value)
This method sets the return value of the task command.
|
void | setTemporarySharedData(java.util.Map temporarySharedData)
This method sets the map used to store temporary data that can be passed between all the campaign elements when evaluating an e-Marketing Spot.
|
void | setTriggerParameters(java.util.Map triggerParameters)
This method sets the trigger parameters.
|
void | setTriggerParameters(java.lang.String triggerParameters)
This method sets the trigger parameters.
|
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.
|
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
void setTriggerParameters(java.lang.String triggerParameters)
void setTriggerParameters(java.util.Map triggerParameters)
java.util.Map getNewElementParameters()
void setNewElementParameter(java.lang.String name, java.lang.String value)
void setTemporarySharedData(java.util.Map temporarySharedData)
void setActivity(Activity activity)
void setElementId(java.lang.Integer elementId)
void setElementParameters(java.util.Map parameters)
void setExperimentTestElements(java.util.List experimentTestElements)
boolean getReturnValue()
void setReturnValue(boolean value)
void returnEMarketingSpotDataBeans()
java.util.List getEMarketingSpotDataBeans()
java.util.List validateParameters(java.util.Map elementParameters)
void forwardTriggersForProcessing()
void setPreviewReport(java.util.List previewReport)
java.lang.String getMarketingSpotBehavior(java.util.Map elementParameters)