Package org.ametys.odf.course
Interface CourseContainer
- All Known Implementing Classes:
CourseList
public interface CourseContainer
Interface representing a container of courses
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsCourse
(String courseId) Determines if the container contains a coursesGet the list of childCourse
boolean
Determines if the container contains courses
-
Method Details
-
getCourses
List<Course> getCourses()Get the list of childCourse
- Returns:
- the courses id in a List
-
containsCourse
Determines if the container contains a courses- Parameters:
courseId
- id of theCourse
to test- Returns:
- true if the course exists
-
hasCourses
boolean hasCourses()Determines if the container contains courses- Returns:
- true if the container contains at least one course
-