public class MarketingServicesFEPTaskCmdImpl extends TaskCommandImpl implements MarketingServicesFEPTaskCmd
MarketingServicesTaskCmd
is extended.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.
|
defaultCommandClassName
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.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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)
DMELEMENTNVP
table. However, the runtime command needs the dictionaryName for its implementation. This method can be implemented
to lookup the dictionaryName and cache the result.
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.
manageCampaignElementVariables
in interface MarketingServicesFEPTaskCmd
variables
- A Map
containing the authoring information. This is the data from the DMELEMENTNVP
database table.dmeletemplate
- The database information associated with the element template for the element being loaded.elementId
- The ID of the element being loaded.activityId
- The ID of the activity to which the element belongs.