reset
fun reset(documentStore: DocumentStore, documentTypeRepository: DocumentTypeRepository, preselectedDocuments: List<Document>)
Resets the model.
Should be called by the mechanism when presentment begins.
This moves the model into the State.Reset state.
Parameters
documentStore
the DocumentStore being used for presentment.
documentTypeRepository
a DocumentTypeRepository to provide information about document types.
preselectedDocuments
a list of documents that are preselected.