Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

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

token

The token to pass to saveSucceeded, saveFailed, or saveCancelled when persistence ends.

revision

The workflow revision when the save started.

snapshot

The 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: Domain

The 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: FormRevision

The 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: FormSubmissionToken

The 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)