Documentation ¶
Index ¶
- type RubricsPostgresRepository
- func (repository *RubricsPostgresRepository) AddCriteriaToObjective(dto *dtos.AddCriteriaToObjectiveDTO) (criteriaUUID string, err error)
- func (repository *RubricsPostgresRepository) AddObjectiveToRubric(rubricUUID string, objectiveDescription string) (objectiveUUID string, err error)
- func (repository *RubricsPostgresRepository) DeleteObjective(objectiveUUID string) (err error)
- func (repository *RubricsPostgresRepository) DoesTeacherOwnCriteria(teacherUUID string, criteriaUUID string) (bool, error)
- func (repository *RubricsPostgresRepository) DoesTeacherOwnObjective(teacherUUID string, objectiveUUID string) (bool, error)
- func (repository *RubricsPostgresRepository) DoesTeacherOwnRubric(teacherUUID string, rubricUUID string) (bool, error)
- func (repository *RubricsPostgresRepository) GetAllCreatedByTeacher(teacherUUID string) ([]*dtos.CreatedRubricDTO, error)
- func (repository *RubricsPostgresRepository) GetByUUID(uuid string) (rubric *entities.Rubric, err error)
- func (repository *RubricsPostgresRepository) Save(dto *dtos.CreateRubricDTO) (rubric *entities.Rubric, err error)
- func (repository *RubricsPostgresRepository) UpdateCriteria(dto *dtos.UpdateCriteriaDTO) (err error)
- func (repository *RubricsPostgresRepository) UpdateName(dto *dtos.UpdateRubricNameDTO) (err error)
- func (repository *RubricsPostgresRepository) UpdateObjective(dto *dtos.UpdateObjectiveDTO) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RubricsPostgresRepository ¶
func GetRubricsPgRepository ¶
func GetRubricsPgRepository() *RubricsPostgresRepository
func (*RubricsPostgresRepository) AddCriteriaToObjective ¶ added in v0.23.0
func (repository *RubricsPostgresRepository) AddCriteriaToObjective(dto *dtos.AddCriteriaToObjectiveDTO) (criteriaUUID string, err error)
func (*RubricsPostgresRepository) AddObjectiveToRubric ¶ added in v0.22.0
func (repository *RubricsPostgresRepository) AddObjectiveToRubric(rubricUUID string, objectiveDescription string) (objectiveUUID string, err error)
func (*RubricsPostgresRepository) DeleteObjective ¶ added in v0.27.0
func (repository *RubricsPostgresRepository) DeleteObjective(objectiveUUID string) (err error)
func (*RubricsPostgresRepository) DoesTeacherOwnCriteria ¶ added in v0.23.0
func (repository *RubricsPostgresRepository) DoesTeacherOwnCriteria(teacherUUID string, criteriaUUID string) (bool, error)
func (*RubricsPostgresRepository) DoesTeacherOwnObjective ¶ added in v0.23.0
func (repository *RubricsPostgresRepository) DoesTeacherOwnObjective(teacherUUID string, objectiveUUID string) (bool, error)
func (*RubricsPostgresRepository) DoesTeacherOwnRubric ¶ added in v0.23.0
func (repository *RubricsPostgresRepository) DoesTeacherOwnRubric(teacherUUID string, rubricUUID string) (bool, error)
func (*RubricsPostgresRepository) GetAllCreatedByTeacher ¶ added in v0.20.0
func (repository *RubricsPostgresRepository) GetAllCreatedByTeacher(teacherUUID string) ([]*dtos.CreatedRubricDTO, error)
func (*RubricsPostgresRepository) GetByUUID ¶
func (repository *RubricsPostgresRepository) GetByUUID(uuid string) (rubric *entities.Rubric, err error)
func (*RubricsPostgresRepository) Save ¶
func (repository *RubricsPostgresRepository) Save(dto *dtos.CreateRubricDTO) (rubric *entities.Rubric, err error)
func (*RubricsPostgresRepository) UpdateCriteria ¶ added in v0.25.0
func (repository *RubricsPostgresRepository) UpdateCriteria(dto *dtos.UpdateCriteriaDTO) (err error)
func (*RubricsPostgresRepository) UpdateName ¶ added in v0.26.0
func (repository *RubricsPostgresRepository) UpdateName(dto *dtos.UpdateRubricNameDTO) (err error)
func (*RubricsPostgresRepository) UpdateObjective ¶ added in v0.24.0
func (repository *RubricsPostgresRepository) UpdateObjective(dto *dtos.UpdateObjectiveDTO) (err error)
Click to show internal directories.
Click to hide internal directories.