Interface CDOChangeSetData

    • Method Detail

      • isEmpty

        boolean isEmpty()
        Returns true, if this change set data does not contain any changes, false otherwise.
      • copy

        CDOChangeSetData copy()
        Returns a deep copy of this change set data.
        Since:
        4.0
      • merge

        void merge​(CDOChangeSetData changeSetData)
        Changes the internal state of this change set data by adding the changes of the given change set data.
        Since:
        4.0
      • getNewObjects

        java.util.List<CDOIDAndVersion> getNewObjects()
        Returns a collection of keys denoting which revisions have been added in the context of a commit operation. Depending on various conditions like change subscriptions particular elements can also be full revisions.
      • getChangedObjects

        java.util.List<CDORevisionKey> getChangedObjects()
        Returns a collection of revision keys denoting which (original) revisions have been changed in the context of a commit operation. Depending on various conditions like change subscriptions particular elements can also be full revision deltas.
      • getDetachedObjects

        java.util.List<CDOIDAndVersion> getDetachedObjects()
        Returns a collection of keys denoting which revisions have been revised (corresponds to detached objects) in the context of a commit operation. Depending on various conditions the version part of particular elements can be unspecified.
      • forEachRevision

        default void forEachRevision​(java.util.function.Consumer<CDORevision> consumer)
        Since:
        4.12
      • forEachRevisionDelta

        default void forEachRevisionDelta​(java.util.function.Consumer<CDORevisionDelta> consumer)
        Since:
        4.12