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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionApplicationChangedEvent
(Object source, Trackable application, OperationType operation) -
Method Summary
Modifier and TypeMethodDescriptionThe application that was modifiedThe operation that triggered the changeMethods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ApplicationChangedEvent
- Parameters:
source
- triggered the eventapplication
- persisted counterpart to aApplication
operation
- what type of operation was performed on the application
-
-
Method Details
-
getApplication
The application that was modified- Returns:
- persisted counterpart to
Application
-
getOperation
The operation that triggered the change- Returns:
- operation that triggered the change
-