buildDocumentStore

fun buildDocumentStore(storage: Storage, secureAreaRepository: SecureAreaRepository, builderAction: DocumentStore.Builder.() -> Unit): DocumentStore

Builds a DocumentStore

Return

a DocumentStore.

Parameters

storage

the Storage to use for storing/retrieving documents.

secureAreaRepository

the repository of configured SecureArea that can be used.

builderAction

the builder action.