Class CustomerReplicationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
de.hybris.platform.servicelayer.event.events.AbstractEvent
com.sap.hybris.sapcustomerb2c.inbound.CustomerReplicationEvent
- All Implemented Interfaces:
de.hybris.platform.servicelayer.event.ClusterAwareEvent,Serializable
public class CustomerReplicationEvent
extends de.hybris.platform.servicelayer.event.events.AbstractEvent
implements de.hybris.platform.servicelayer.event.ClusterAwareEvent
This class is to rise up customer ERP replication events
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.event.events.AbstractEvent
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.event.ClusterAwareEvent
canPublish
-
Constructor Details
-
CustomerReplicationEvent
- Parameters:
customerID-
-
-
Method Details
-
getCustomerID
- Returns:
- customer ID
-
publish
public boolean publish(int sourceNodeId, int targetNodeId) - Specified by:
publishin interfacede.hybris.platform.servicelayer.event.ClusterAwareEvent
-