definitions

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RubricsRepository

type RubricsRepository interface {
	Save(dto *dtos.CreateRubricDTO) (rubric *entities.Rubric, err error)
	GetByUUID(uuid string) (rubric *entities.Rubric, err error)
	GetAllCreatedByTeacher(teacherUUID string) (rubrics []*dtos.CreatedRubricDTO, err error)

	DoesTeacherOwnRubric(teacherUUID string, rubricUUID string) (bool, error)
	DoesTeacherOwnObjective(teacherUUID string, objectiveUUID string) (bool, error)
	DoesTeacherOwnCriteria(teacherUUID string, criteriaUUID string) (bool, error)

	AddObjectiveToRubric(rubricUUID string, objectiveDescription string) (objectiveUUID string, err error)
	AddCriteriaToObjective(dto *dtos.AddCriteriaToObjectiveDTO) (criteriaUUID string, err error)
}

Jump to

Keyboard shortcuts

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