Interface OTrackedMultiValue<K,V>

Type Parameters:
K - Value that indicates position of item inside collection.
V - Value that is hold by collection.
All Known Subinterfaces:
ORidBagDelegate
All Known Implementing Classes:
OEmbeddedRidBag, ORecordLazyList, ORecordLazyMap, ORecordLazySet, ORemoteTreeRidBag, ORidBag, OSBTreeRidBag, OTrackedList, OTrackedMap, OTrackedSet

public interface OTrackedMultiValue<K,V>
Interface that indicates that collection will send notifications about operations that are performed on it to the listeners.
  • Method Details

    • returnOriginalState

      Object returnOriginalState(List<OMultiValueChangeEvent<K,V>> changeEvents)
      Reverts all operations that were performed on collection and return original collection state.
      Parameters:
      changeEvents - List of operations that were performed on collection.
      Returns:
      Original collection state.
    • getGenericClass

      Class<?> getGenericClass()
    • replace

      void replace(OMultiValueChangeEvent<Object,Object> event, Object newValue)
    • enableTracking

      void enableTracking(ORecordElement parent)
    • disableTracking

      void disableTracking(ORecordElement document)
    • isModified

      boolean isModified()
    • isTransactionModified

      boolean isTransactionModified()
    • getTimeLine

    • nestedEnabled

      static <X> void nestedEnabled(Iterator<X> iterator, ORecordElement parent)
    • nestedDisable

      static <X> void nestedDisable(Iterator<X> iterator, ORecordElement parent)
    • nestedTransactionClear

      static <X> void nestedTransactionClear(Iterator<X> iterator)
    • transactionClear

      void transactionClear()
    • addInternal

      boolean addInternal(V e)
    • getTransactionTimeLine

      OMultiValueChangeTimeLine<K,V> getTransactionTimeLine()