MTrainingService¶
-
public interface
MTrainingService
¶ Service interface for mTraining. Contains APIs to perform CRUD operations on Course and related objects like chapters, lessons, quiz, etc.
Methods¶
createChapter¶
createCourse¶
createLesson¶
createQuiz¶
deleteChapter¶
-
void
deleteChapter
(long chapterId)¶ Deletes a chapter by id.
Parameters: - chapterId – id of the chapter to delete
deleteCourse¶
-
void
deleteCourse
(long courseId)¶ Deletes the course with the given id
Parameters: - courseId – ID of the course to delete
deleteLesson¶
-
void
deleteLesson
(long lessonId)¶ Deletes a lesson with a given id.
Parameters: - lessonId – id of the lesson to delete
deleteQuiz¶
-
void
deleteQuiz
(long quizId)¶ Deletes a quiz with id.
Parameters: - quizId – id of the quiz to delete