Class CustomerReplicationEvent

  • All Implemented Interfaces:
    de.hybris.platform.servicelayer.event.ClusterAwareEvent, java.io.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCustomerID()  
      boolean publish​(int sourceNodeId, int targetNodeId)  
      • Methods inherited from class de.hybris.platform.servicelayer.event.events.AbstractEvent

        getScope, getSource, isFromCluster, setFromCluster, setScope, toString
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface de.hybris.platform.servicelayer.event.ClusterAwareEvent

        canPublish
    • Constructor Detail

      • CustomerReplicationEvent

        public CustomerReplicationEvent​(java.lang.String customerID)
        Parameters:
        customerID -
    • Method Detail

      • getCustomerID

        public java.lang.String getCustomerID()
        Returns:
        customer ID
      • publish

        public boolean publish​(int sourceNodeId,
                               int targetNodeId)
        Specified by:
        publish in interface de.hybris.platform.servicelayer.event.ClusterAwareEvent