com.vaadin.signals.impl.
Interface SignalTree.PendingCommit
Enclosing class:
Collection of callbacks representing the possible stages when committing a transaction. The commit is split up into stages to enable a coordinated transaction that includes multiple signal trees.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidUpdates the tree state so that all pending changes are considered to be submitted.
booleanChecks whether the pending changes can be committed.
voidSets the result of all pending changes as rejected.
voidNotifies dependents and updates all result listeners based on the pending changes.
 
- 
Method Details
- 
canCommit
boolean canCommit()Checks whether the pending changes can be committed. Committing is possible if all changes would be accepted based on the current tree state.
Returns:
trueif the changes can be committed. - 
applyChanges
void applyChanges()Updates the tree state so that all pending changes are considered to be submitted.
 - 
markAsAborted
void markAsAborted()Sets the result of all pending changes as rejected.
 - 
publishChanges
void publishChanges()Notifies dependents and updates all result listeners based on the pending changes.
 
 -