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 Details

    • commit

      public 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 CommitModelsResult result()
      Returns the authoritative result attached to this outcome, or null before a result is attached.