Package org.cometd.oort
Interface OortList.ElementListener<E>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
onAdded(OortObject.Info<java.util.List<E>> info, java.util.List<E> elements)
Callback method invoked when elements are added to the entity list.default void
onRemoved(OortObject.Info<java.util.List<E>> info, java.util.List<E> elements)
Callback method invoked when elements are removed from the entity list.
-
-
-
Method Detail
-
onAdded
default void onAdded(OortObject.Info<java.util.List<E>> info, java.util.List<E> elements)
Callback method invoked when elements are added to the entity list.- Parameters:
info
- theOortObject.Info
that was changed by the additionelements
- the elements added
-
onRemoved
default void onRemoved(OortObject.Info<java.util.List<E>> info, java.util.List<E> elements)
Callback method invoked when elements are removed from the entity list.- Parameters:
info
- theOortObject.Info
that was changed by the removalelements
- the elements removed
-
-