Package org.mycore.common.processing
Interface MCRProcessableCollectionListener
- All Superinterfaces:
EventListener
Base event listener interface for adding/removing
MCRProcessable
of
MCRProcessableCollection
.- Author:
- Matthias Eichner
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAdd
(MCRProcessableCollection source, MCRProcessable processable) Fired when a processable was added.void
onPropertyChange
(MCRProcessableCollection source, String name, Object oldValue, Object newValue) Fired when a property changed.void
onRemove
(MCRProcessableCollection source, MCRProcessable processable) Fired when a processable was removed.
-
Method Details
-
onAdd
Fired when a processable was added.- Parameters:
source
- the source collectionprocessable
- the processable added
-
onRemove
Fired when a processable was removed.- Parameters:
source
- the source collectionprocessable
- the processable removed
-
onPropertyChange
void onPropertyChange(MCRProcessableCollection source, String name, Object oldValue, Object newValue) Fired when a property changed.- Parameters:
source
- the source collectionname
- the name of the propertyoldValue
- the old valuenewValue
- the new value
-