TaSkriveLåsRepository

Functions

Link copied to clipboard
abstract fun kopier(fraBehandling: BehandlingId, tilBehandling: BehandlingId)

Kopier opplysninger og vurderinger fra en behandling inn i en annen.

Link copied to clipboard
abstract fun lås(behandlingUUid: UUID): Skrivelås
abstract fun lås(sakId: SakId, behandlingId: BehandlingId): Skrivelås
Link copied to clipboard
abstract fun låsBehandling(behandlingId: BehandlingId): BehandlingSkrivelås
Link copied to clipboard
abstract fun låsSak(sakId: SakId): SakSkrivelås
Link copied to clipboard
abstract fun slett(behandlingId: BehandlingId)

Slett personopplysninger for en behandling.

Link copied to clipboard
abstract fun verifiserSkrivelås(skrivelås: BehandlingSkrivelås)
abstract fun verifiserSkrivelås(skrivelås: SakSkrivelås)
abstract fun verifiserSkrivelås(skrivelås: Skrivelås)
Link copied to clipboard
abstract fun withLås(sakId: SakId, behandlingId: BehandlingId, block: (it: Skrivelås) -> Unit)
Link copied to clipboard
abstract fun withLåstBehandling(behandlingId: BehandlingId, block: (it: BehandlingSkrivelås) -> Unit)