Interface EntityProviderChangeNotifier<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
BatchableLocalEntityProvider, CachingBatchableEntityProvider, CachingBatchableLocalEntityProvider, CachingMutableEntityProvider, CachingMutableLocalEntityProvider, MutableEntityProvider, MutableLocalEntityProvider

public interface EntityProviderChangeNotifier<T> extends Serializable
Interface to be implemented by EntityProviders that wish to notify clients (in practice EntityContainers) when their contents change.

The EntityProvider should at least notify its listeners of the following events:

  • An entity is added to the entity provider
  • An already existing entity is updated
  • An entity is removed from the entity provider
  • The contents of the entity provider is changed completely

This is useful in situations where several EntityContainers share the same entity provider.

Since:
1.0
Author:
Petter Holmström (Vaadin Ltd)