ManualGradingService

Registers manual-grading capabilities and coordinates deferred grade delivery.

Registration requires the configured secret and an allowlisted callback origin. A delivery that may have reached the callback remains pending until confirmation resolves; callers must not replace its payload.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun authenticateRegistration(providedSecret: String?)
Link copied to clipboard
open override fun close()
Link copied to clipboard
suspend fun delete(providedSecret: String?, courseId: Long, exerciseId: Long): Int
suspend fun delete(providedSecret: String?, courseId: Long, exerciseId: Long, submissionId: Long): Int
Link copied to clipboard
fun invalidateCourse(courseId: Long)
Link copied to clipboard
suspend fun isPending(courseId: Long, exerciseId: Long, submissionId: Long): Boolean
Link copied to clipboard
suspend fun list(providedSecret: String?, courseId: Long, exerciseId: Long?): List<ManualGradingCapabilityView>
Link copied to clipboard
Link copied to clipboard
suspend fun send(command: ManualGradeDeliveryCommand)