public class WalletGuestUserMigrationEventListener
extends com.ibm.commerce.event.EventComponentConfiguration
implements com.ibm.commerce.event.WCSEventListener
GuestUserMigrationEvent
listener that migrates the user's wallet from the old user to the new user.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
WalletGuestUserMigrationEventListener()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the event listener.
|
void |
enable(boolean val)
Enables or disables the event listener.
|
boolean |
isTransactionRequired()
Returns whether a transaction is required.
|
void |
processActivityEvent(com.ibm.commerce.event.WCSEvent ae)
Migrates the user's wallet from the old user to the new user.
|
public static final java.lang.String COPYRIGHT
public WalletGuestUserMigrationEventListener()
public void enable(boolean val) throws java.lang.Exception
enable
in interface ComponentConfiguration
enable
in class com.ibm.commerce.event.EventComponentConfiguration
val
- Whether the event listener should be enabled or disabled.java.lang.Exception
public void destroy()
destroy
in interface ComponentConfiguration
destroy
in class com.ibm.commerce.event.EventComponentConfiguration
public boolean isTransactionRequired()
isTransactionRequired
in interface com.ibm.commerce.event.WCSEventListener
public void processActivityEvent(com.ibm.commerce.event.WCSEvent ae) throws ECException
processActivityEvent
in interface com.ibm.commerce.event.WCSEventListener
ae
- The event.ECException