All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.cccev.s2.requirement.domain.RequirementFinder.kt Maven / Gradle / Ivy

The newest version!
package cccev.s2.requirement.domain

import cccev.dsl.model.EvidenceTypeId
import cccev.s2.concept.domain.InformationConceptId
import cccev.s2.requirement.domain.model.Requirement
import kotlinx.coroutines.flow.Flow

interface RequirementFinder {
    suspend fun getOrNull(id: RequirementId): Requirement?
    suspend fun get(id: RequirementId): Requirement
    suspend fun listByIdWithChildrenOfType(ids: List, type: String): List
    suspend fun list(
        isRequirementOf: RequirementId? = null,
        concept: InformationConceptId? = null,
        evidenceType: EvidenceTypeId? = null
    ): Flow

    suspend fun getOrNullByIdentifier(id: RequirementId): Requirement?
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy