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 aCatalog
has changed- Author:
- Phillip Verheyden (phillipuniverse)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ApplicationChangedEvent(Object source, Trackable application, OperationType operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Trackable
getApplication()
The application that was modifiedOperationType
getOperation()
The operation that triggered the change-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ApplicationChangedEvent
public ApplicationChangedEvent(Object source, Trackable application, OperationType operation)
- Parameters:
source
- triggered the eventapplication
- persisted counterpart to aApplication
operation
- what type of operation was performed on the application
-
-
Method Detail
-
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
-
-