public class OrderSubmitEventListenerImpl
extends com.ibm.commerce.event.impl.AbstractECEventListener
OrderSubmitEventListenerImpl
is to capture the event. When it captures the event, it will get
the order id and store id from the event data. Then call the task command
ProcessOrderSubmitEventCmd
or ProcessPaymentAuthorizationCompleteEventCmd
to process the event.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright field.
|
Constructor and Description |
---|
OrderSubmitEventListenerImpl() |
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
This method gets the command context
|
java.lang.Class |
getECEventContainer()
This method gets the class of ECEEventContainer
|
java.util.Set |
getEvents()
This method gets a set including the order submit event
|
void |
processEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent cbe)
This method Processes the event
|
void |
setCommandContext(CommandContext context)
This method sets the command context
|
public static final java.lang.String COPYRIGHT
public void processEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent cbe) throws java.lang.Exception
processEvent
in class com.ibm.commerce.event.impl.AbstractECEventListener
cbe
- The event which will be processedjava.lang.Exception
public java.lang.Class getECEventContainer()
getECEventContainer
in class com.ibm.commerce.event.impl.AbstractECEventListener
public java.util.Set getEvents()
getEvents
in class com.ibm.commerce.event.impl.AbstractECEventListener
public CommandContext getCommandContext()
public void setCommandContext(CommandContext context)
context
- The command context