public class MarketingServicesFEPTaskCmdImpl extends TaskCommandImpl implements MarketingServicesFEPTaskCmd
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.
|
Constructor and Description |
---|
MarketingServicesFEPTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void | manageCampaignElementVariables(java.util.Map variables, Dmeletemplate dmeletemplate, java.lang.Integer elementId, java.lang.Integer activityId)
This method is called when loading an activity into the cache for each element in the activity that is being cached.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void manageCampaignElementVariables(java.util.Map variables, Dmeletemplate dmeletemplate, java.lang.Integer elementId, java.lang.Integer activityId)
super.manageCampaignElementVariables(variables, dmeletemplate, elementId, activityId); Object nvpToSwitch = variables.get("dictionaryId"); if (nvpToSwitch != null) { String switchedNvp = findDictionaryNameById(nvpToSwitch); variables.put("dictionaryName", switchedNvp); // this creates a new cached nvp dictionaryName // alternatively, you could update the existing variable // variables.put("dictionaryId", switchedNvp); }The current implementation of this command replaces variables associated with search rules.