public class ProcessActivityActivateActionCmdImpl extends AbstractProcessCustomActionUsingBusinessObjectMediatorCmdImpl implements ProcessActivityActionCmd
Constructor and Description |
---|
ProcessActivityActivateActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
static void |
invalidate(java.lang.String activityId)
This method invalidates e-Marketing Spot entries in the base cache that are associated
with a marketing activity.
|
void |
performExecute()
This method calls the marketing runtime to activate the activity.
|
void |
validate()
This method validates that all the elements in the activity have all the
necessary name value pairs defined.
|
getChangeBusinessObjectMediator, getChangeControlBusinessObjectMediator
getActionExpression, getNoun, isGeneric, isReadyToCallExecute, reset, setActionExpression, setNoun, setPersistentObjects
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, 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
isGeneric, setActionExpression, setNoun, setPersistentObjects
public ProcessActivityActivateActionCmdImpl()
public void validate() throws AbstractApplicationException
validateParameters
method will be called on the MarketingCampaignElementTaskCmd
implementation for every campaign element associated with this activity.
An e-mail activity will not be activated if the e-mail has already been
sent. An activity will not be activated if it contains an experiment,
and this activity is a previous version of the activity.validate
in interface AbstractProcessNounActionCmd
AbstractApplicationException
- If an exception is thrown, it contains
a list of all the ApplicationError
s returned from the campaign
elements.public static void invalidate(java.lang.String activityId) throws java.lang.Exception
activityId
- The marketing activity unique ID.java.lang.Exception
public void performExecute() throws java.lang.Exception
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception