BrevbestillingService

class BrevbestillingService(val signaturService: SignaturService, val brevbestillingGateway: BrevbestillingGateway, val brevbestillingRepository: BrevbestillingRepository, val behandlingRepository: BehandlingRepository, val sakRepository: SakRepository)(source)

Constructors

Link copied to clipboard
constructor(signaturService: SignaturService, brevbestillingGateway: BrevbestillingGateway, brevbestillingRepository: BrevbestillingRepository, behandlingRepository: BehandlingRepository, sakRepository: SakRepository)
constructor(repositoryProvider: RepositoryProvider, gatewayProvider: GatewayProvider)

Properties

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

Functions

Link copied to clipboard
fun avbryt(behandlingId: BehandlingId, referanse: BrevbestillingReferanse)
Link copied to clipboard
fun bestill(behandlingId: BehandlingId, brevBehov: BrevBehov, unikReferanse: String, ferdigstillAutomatisk: Boolean, vedlegg: Vedlegg? = null, brukApiV3: Boolean = false): UUID
Link copied to clipboard
fun ferdigstill(behandlingId: BehandlingId, brevbestillingReferanse: BrevbestillingReferanse, bruker: Bruker, mottakere: List<MottakerDto> = emptyList())
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun hentBestillinger(behandlingId: BehandlingId, typeBrev: TypeBrev): List<Brevbestilling>
Link copied to clipboard
Link copied to clipboard
fun hentBrevbestilling(referanse: BrevbestillingReferanse): BrevbestillingResponse
Link copied to clipboard
Link copied to clipboard
fun oppdaterStatus(behandlingId: BehandlingId, referanse: BrevbestillingReferanse, status: Status)