OppholdskravGrunnlagRepositoryImpl

Constructors

Link copied to clipboard
constructor(connection: DBConnection)

Types

Link copied to clipboard
object Companion : RepositoryFactory<OppholdskravGrunnlagRepository>
Link copied to clipboard
data class OppholdskravInternal(val grunnlagId: Long, val vurdertIBehandling: Long, val fom: LocalDate, val tom: LocalDate?, val opprettet: LocalDateTime, val vurdertAv: Bruker, val begrunnelse: String, val land: String?, val oppfylt: Boolean, val vurderingId: Long)

Properties

Link copied to clipboard
private val connection: DBConnection

Functions

Link copied to clipboard
private fun deaktiverGrunnlag(behandlingId: BehandlingId)
Link copied to clipboard
private fun hentGrunnlagsId(behandlingsId: BehandlingId): Long?
Link copied to clipboard
open override fun hentHvisEksisterer(behandlingId: BehandlingId): OppholdskravGrunnlag?
Link copied to clipboard
private fun hentVurderingerIdForGrunnlag(grunnlagId: Long): List<Long>
Link copied to clipboard
open override fun kopier(fraBehandling: BehandlingId, tilBehandling: BehandlingId)
Link copied to clipboard
open override fun lagre(behandlingId: BehandlingId, oppholdskravVurdering: OppholdskravVurdering)
private fun sjekkOmDetFinnesVurderingerPåAnnentGrunnlag(vurderingsIder: List<Long>, grunnlagId: Long): List<Long>
Link copied to clipboard
open override fun slett(behandlingId: BehandlingId)
Link copied to clipboard
private fun slettGrunnlagPåId(grunnlagId: Long)
Link copied to clipboard
Link copied to clipboard
open override fun tilbakestillGrunnlag(behandlingId: BehandlingId, forrigeBehandling: BehandlingId?)