Class CourseStaffDTOService

java.lang.Object
edu.ucsb.cs156.frontiers.services.CourseStaffDTOService

@Service public class CourseStaffDTOService extends Object
  • Constructor Details

    • CourseStaffDTOService

      public CourseStaffDTOService()
  • Method Details

    • getCourseStaffDTOs

      public List<CourseStaffDTO> getCourseStaffDTOs(Long courseId)
      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