Interface ChangeNotifier

All Known Implementing Classes:
CrudEntityHelper

public interface ChangeNotifier
Component capable of informing the system of a change to a Trackable domain.
Author:
Jeff Fischer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notify(Trackable domain, ContextInfo context, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository repository)
    Notify the async message fabric of the change
  • Method Details

    • notify

      void notify(@Nullable Trackable domain, @Nullable ContextInfo context, @NonNull com.broadleafcommerce.common.messaging.notification.NotificationStateRepository repository)
      Notify the async message fabric of the change
      Parameters:
      domain - The Trackable repository domain instance that was changed
      context - context information around sandbox and author
      repository - The service responsible for making the state change. Usually a Repository instance.