public class ViewSearchEMarketingSpotTriggerTaskCmdImpl extends MarketingCampaignElementTaskCmdImpl implements ViewSearchEMarketingSpotTriggerTaskCmd
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_SEARCH_KEYWORD
The constant for the Search e-marketing spot name/value pair for the spot name.
|
static java.lang.String | PARAM_SEARCH_OPERATOR
The constant for the Search e-marketing spot name/value pair for the search name matching operator.
|
static java.lang.String | PARAM_SEARCH_PARAMETER
The constant for the Search e-marketing spot name/value pair for the search term parameter that is on the URL.
|
Constructor and Description |
---|
ViewSearchEMarketingSpotTriggerTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected CommerceFoundationFactory | getCommerceFoundationFactory()
This method returns the default instance of the Commerce Foundation Factory.
|
protected MarketingFactory | getMarketingFactory()
This method returns the default instance of the Marketing Factory.
|
java.lang.String | getMarketingSpotBehavior(java.util.Map elementParameters)
This method returns a value of 0 to specify that this marketing campaign element is static and the results can be cached for all users.
|
java.lang.Integer | getStoreIdToCreateSearchEMarketingSpot(java.lang.Integer[] relatedStores)
This method returns the unique ID of the store in which to create the Search e-Marketing Spot.
|
void | performExecute()
This method is used when the e-Marketing Spot is a search e-Marketing Spot.
|
void | resolveSearchEMarketingSpot(java.lang.String spotName, java.util.Map elementParameters, java.util.List validationErrors)
This method associates a Search e-Marketing Spot with a View e-Marketing Spot campaign element.
|
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 static final java.lang.String PARAM_SEARCH_KEYWORD
public static final java.lang.String PARAM_SEARCH_PARAMETER
public static final java.lang.String PARAM_SEARCH_OPERATOR
public ViewSearchEMarketingSpotTriggerTaskCmdImpl()
public void resolveSearchEMarketingSpot(java.lang.String spotName, java.util.Map elementParameters, java.util.List validationErrors)
protected MarketingFactory getMarketingFactory()
protected CommerceFoundationFactory getCommerceFoundationFactory()
public java.lang.Integer getStoreIdToCreateSearchEMarketingSpot(java.lang.Integer[] relatedStores)
public java.util.List validateParameters(java.util.Map elementParameters)
public void performExecute()
public java.lang.String getMarketingSpotBehavior(java.util.Map elementParameters)