Class CatalogChangedEvent

  • All Implemented Interfaces:
    Serializable

    public class CatalogChangedEvent
    extends org.springframework.context.ApplicationEvent
    Published whenever a persisted representation of a Catalog has changed
    Author:
    Phillip Verheyden (phillipuniverse)
    See Also:
    Serialized Form
    • Constructor Detail

      • CatalogChangedEvent

        public CatalogChangedEvent​(Object source,
                                   Trackable catalog,
                                   OperationType operation)
        Parameters:
        source - triggered the event
        catalog - persisted counterpart to a Catalog
        operation - what type of operation was performed on the catalog
    • Method Detail

      • getCatalog

        public Trackable getCatalog()
        The catalog that was modified
        Returns:
        persisted counterpart to Catalog
      • getOperation

        public OperationType getOperation()
        The operation that triggered the change
        Returns:
        operation that triggered the change