Class ApplicationChangedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.broadleafcommerce.data.tracking.core.tenant.service.ApplicationChangedEvent
All Implemented Interfaces:
Serializable

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

    • ApplicationChangedEvent

      public ApplicationChangedEvent(Object source, Trackable application, OperationType operation)
      Parameters:
      source - triggered the event
      application - persisted counterpart to a Application
      operation - what type of operation was performed on the application
  • Method Details

    • getApplication

      public Trackable getApplication()
      The application that was modified
      Returns:
      persisted counterpart to Application
    • getOperation

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