Class DefaultModelRepository.Commit.Outcome
java.lang.Object
io.fluxzero.sdk.persisting.repository.DefaultModelRepository.Commit.Outcome
- Enclosing class:
DefaultModelRepository.Commit
The one repository-owned carrier from prepared request through authoritative accepted result.
-
Method Summary
Modifier and TypeMethodDescriptionchanges()Returns an unmodifiable view of the changes correlated with this outcome.io.fluxzero.common.api.modeling.CommitModelscommit()Returns the prepared wire commit, or null when the attempt requires no commit.booleanReturns whether any retained change represents a cascaded deletion.io.fluxzero.common.api.modeling.CommitModelsResultresult()Returns the authoritative result attached to this outcome, or null before a result is attached.
-
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
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.
-