Class CourseStaffDTOService
java.lang.Object
edu.ucsb.cs156.frontiers.services.CourseStaffDTOService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCourseStaffDTOs(Long courseId) This method gets a list of CourseStaffDTOs based on the courseId.com.opencsv.bean.StatefulBeanToCsv<CourseStaffDTO> getStatefulBeanToCSV(Writer writer)
-
Constructor Details
-
CourseStaffDTOService
public CourseStaffDTOService()
-
-
Method Details
-
getCourseStaffDTOs
This method gets a list of CourseStaffDTOs based on the courseId.- Parameters:
courseId- id of the course- Returns:
- a list of CourseStaffDTOs
-
getStatefulBeanToCSV
public com.opencsv.bean.StatefulBeanToCsv<CourseStaffDTO> getStatefulBeanToCSV(Writer writer) throws IOException - Throws:
IOException
-