public class DispatchClientLocationEventCmdImpl extends java.lang.Object implements DispatchClientLocationEventCmd
Constructor and Description |
---|
DispatchClientLocationEventCmdImpl()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String[]> | createMarketingTrigger(ClientLocationType location)
Create a marketing trigger parameter map from a ClientLocation
|
void | execute()
Execute method invokes the marketing engine.
|
protected void | invokeMarketingEngine(java.util.Map<java.lang.String,java.lang.String[]> trigger)
Invoke the WebSphere Commerce marketing engine with the given marketing trigger
|
boolean | isReadyToCallExecute()
Make sure the client location noun has been set
|
void | reset()
Resets the state of the command
|
void | setClientLocation(ClientLocationType clientLocation)
Set the client location
|
void | setEvent(com.ibm.commerce.foundation.celadon.core.datatypes.DataServiceEventType event)
Set the client location from a Celadon event
|
public DispatchClientLocationEventCmdImpl()
public void setClientLocation(ClientLocationType clientLocation)
public void setEvent(com.ibm.commerce.foundation.celadon.core.datatypes.DataServiceEventType event)
public boolean isReadyToCallExecute()
public void execute() throws com.ibm.websphere.command.CommandException
public void reset()
protected java.util.Map<java.lang.String,java.lang.String[]> createMarketingTrigger(ClientLocationType location)
protected void invokeMarketingEngine(java.util.Map<java.lang.String,java.lang.String[]> trigger)