public class DispatchClientLocationEventCmdImpl extends java.lang.Object implements DispatchClientLocationEventCmd
Constructor and Description |
---|
DispatchClientLocationEventCmdImpl()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute method invokes the marketing engine.
|
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)
setClientLocation
in interface DispatchClientLocationEventCmd
clientLocation
- The client locationpublic void setEvent(com.ibm.commerce.foundation.celadon.core.datatypes.DataServiceEventType event)
setEvent
in interface com.ibm.commerce.foundation.celadon.common.oagis.CeladonDataServiceEventListenerCmd
event
- The Celadon event (that is carrying the client location)public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
public void execute() throws com.ibm.websphere.command.CommandException
execute
in interface com.ibm.websphere.command.Command
com.ibm.websphere.command.CommandException
public void reset()
reset
in interface com.ibm.websphere.command.Command