StudentRepositoryImpl

class StudentRepositoryImpl(val connection: DBConnection) : StudentRepository(source)

Constructors

Link copied to clipboard
constructor(connection: DBConnection)

Types

Link copied to clipboard
object Companion : RepositoryFactory<StudentRepositoryImpl>

Properties

Link copied to clipboard
private val connection: DBConnection
Link copied to clipboard
private val log: Logger?

Functions

Link copied to clipboard
private fun deaktiverGrunnlag(behandlingId: BehandlingId)
Link copied to clipboard
private fun getOppgittStudentIds(behandlingId: BehandlingId): List<Long>
Link copied to clipboard
private fun getStudentIds(behandlingId: BehandlingId): List<Long>
Link copied to clipboard
open override fun hent(behandlingId: BehandlingId): StudentGrunnlag
Link copied to clipboard
open override fun hentHvisEksisterer(behandlingId: BehandlingId): StudentGrunnlag?
Link copied to clipboard
open override fun kopier(fraBehandling: BehandlingId, tilBehandling: BehandlingId)
Link copied to clipboard
open override fun lagre(behandlingId: BehandlingId, vurderinger: Set<StudentVurdering>?)
open override fun lagre(behandlingId: BehandlingId, oppgittStudent: OppgittStudent?)
Link copied to clipboard
private fun lagreGrunnlag(behandlingId: BehandlingId, vurderinger: Set<StudentVurdering>?, oppgittStudentId: Long?)
Link copied to clipboard
private fun lagreOppgittStudent(oppgittStudent: OppgittStudent): Long
Link copied to clipboard
private fun lagreVurdering(studentvurderinger: Set<StudentVurdering>): Long
Link copied to clipboard
private fun mapGrunnlag(row: Row): StudentGrunnlag
Link copied to clipboard
Link copied to clipboard
private fun mapStudentVurderinger(studentVurderingerId: Long): Set<StudentVurdering>
Link copied to clipboard
open override fun slett(behandlingId: BehandlingId)
Link copied to clipboard