Persistence

interface Persistence

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun migrate(migrations: List<MigrationStep>)
Link copied to clipboard
abstract fun modifyEventsInAuditLog(modelId: Int, transformer: (AuditEntry) -> AuditEntry?)
Link copied to clipboard
abstract fun readAllModels(lambda: (Model<out Any>) -> Unit)
Link copied to clipboard
abstract fun readAuditLog(modelId: Int? = null, from: Instant = Instant.DISTANT_PAST, until: Instant = Instant.DISTANT_FUTURE): Iterable<AuditEntry>
Link copied to clipboard
abstract fun setConfig(config: Config<*, *>)
Link copied to clipboard
abstract fun <T : Any, P, C : KlerkContext, V> store(delta: ProcessingData<out T, C, V>, command: Command<T, P>?, context: C?)