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 TypeMethodDescriptionvoid
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
- TheTrackable
repository domain instance that was changedcontext
- context information around sandbox and authorrepository
- The service responsible for making the state change. Usually aRepository
instance.
-