Class DefaultModelRepository.Commit.Outcome

java.lang.Object
io.fluxzero.sdk.persisting.repository.DefaultModelRepository.Commit.Outcome
Enclosing class:
DefaultModelRepository.Commit

public static final class DefaultModelRepository.Commit.Outcome extends Object
The one repository-owned carrier from prepared request through authoritative accepted result.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an unmodifiable view of the changes correlated with this outcome.
    io.fluxzero.common.api.modeling.CommitModels
    Returns the prepared wire commit, or null when the attempt requires no commit.
    boolean
    Returns whether any retained change represents a cascaded deletion.
    io.fluxzero.common.api.modeling.CommitModelsResult
    Returns the authoritative result attached to this outcome, or null before a result is attached.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • commit

      public io.fluxzero.common.api.modeling.CommitModels commit()
      Returns the prepared wire commit, or null when the attempt requires no commit.
    • changes

      public Collection<Change> changes()
      Returns an unmodifiable view of the changes correlated with this outcome.
    • hasCascadedDeletion

      public boolean hasCascadedDeletion()
      Returns whether any retained change represents a cascaded deletion.
    • result

      public io.fluxzero.common.api.modeling.CommitModelsResult result()
      Returns the authoritative result attached to this outcome, or null before a result is attached.