Interface ImageOverwrittenEvent
- All Superinterfaces:
MMEvent
This class signifies that an image has been overwritten in the Datastore.
The default implementation of this Event posts on the DataProvider
event bus. Subscribe using DataProvider.registerForEvents(Object).
-
Method Summary
Modifier and TypeMethodDescriptionProvides the Datastore this image was added to; potentially useful for code that listens to events from multiple Datastores.Provides the newly-added image.Provides the image that was overwritten.
-
Method Details
-
getNewImage
Image getNewImage()Provides the newly-added image.- Returns:
- the Image that was just added to the Datastore.
-
getOldImage
Image getOldImage()Provides the image that was overwritten.- Returns:
- the Image that was just overwritten in the Datastore.
-
getDatastore
Datastore getDatastore()Provides the Datastore this image was added to; potentially useful for code that listens to events from multiple Datastores.- Returns:
- the Datastore this image was added to.
-