application

package
v0.53.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GradesUseCases

type GradesUseCases struct {
	GradesRepository       gradesDefinitions.GradesRepository
	LaboratoriesRepository laboratoriesDefinitions.LaboratoriesRepository
	RubricsRepository      rubricsDefinitions.RubricsRepository
}

func (*GradesUseCases) GetStudentGradeInLaboratoryWithRubric

func (useCases *GradesUseCases) GetStudentGradeInLaboratoryWithRubric(dto *dtos.GetStudentGradeInLaboratoryWithRubricDTO) (*dtos.StudentGradeInLaboratoryWithRubricDTO, error)

GetStudentGradeInLaboratoryWithRubric returns the grade of an student in a laboratory that was graded with an specific rubric

func (*GradesUseCases) GetSummarizedGradesInLaboratory

func (useCases *GradesUseCases) GetSummarizedGradesInLaboratory(dto *dtos.GetSummarizedGradesInLaboratoryDTO) ([]*dtos.SummarizedStudentGradeDTO, error)

GetSummarizedGradesInLaboratory returns the summarized version (Just student's UUID, full name and grade) of the grades

func (*GradesUseCases) SetCommentToGrade added in v0.52.0

func (useCases *GradesUseCases) SetCommentToGrade(dto *dtos.SetCommentToGradeDTO) error

SetCommentToGrade sets a comment to an student's grade

func (*GradesUseCases) SetCriteriaToGrade

func (useCases *GradesUseCases) SetCriteriaToGrade(dto *dtos.SetCriteriaToGradeDTO) error

SetCriteriaToGrade sets a criteria to a student's grade

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL