FormSubmission
class FormSubmission[Owner, Schema, Domain]The exact valid edit state sent to one persistence operation.
Completion must return token to the workflow; revision records whether edits occurred while persistence was in flight.
Parameters
tokenThe token to pass to
saveSucceeded,saveFailed, orsaveCancelledwhen persistence ends.revisionThe workflow revision when the save started.
snapshotThe valid editable values and domain value to persist.
Defined by scalive.FormSubmission. View source (scalive/api/src/scalive/forms/FormWorkflow.scala:52-61)
Methods2
value
def value: DomainThe domain value to persist, taken from snapshot.
Defined by scalive.FormSubmission.value. View source (scalive/api/src/scalive/forms/FormWorkflow.scala:61-61)
values
def values: FormValues[Owner, Schema]The editable values to persist, taken from snapshot.
Defined by scalive.FormSubmission.values. View source (scalive/api/src/scalive/forms/FormWorkflow.scala:58-58)
Values3
revision
val revision: FormRevisionThe workflow revision when the save started.
Defined by scalive.FormSubmission.revision. View source (scalive/api/src/scalive/forms/FormWorkflow.scala:54-54)
snapshot
val snapshot: ValidFormSnapshot[Owner, Schema, Domain]The valid editable values and domain value to persist.
Defined by scalive.FormSubmission.snapshot. View source (scalive/api/src/scalive/forms/FormWorkflow.scala:55-55)
token
val token: FormSubmissionTokenThe token to pass to saveSucceeded, saveFailed, or saveCancelled when persistence ends.
Defined by scalive.FormSubmission.token. View source (scalive/api/src/scalive/forms/FormWorkflow.scala:53-53)