Class RosterStudentDTOService

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

@Service public class RosterStudentDTOService extends Object
  • Constructor Details

    • RosterStudentDTOService

      public RosterStudentDTOService()
  • Method Details

    • getRosterStudentDTOs

      public List<RosterStudentDTO> getRosterStudentDTOs(Long courseId)
      This method gets a list of RosterStudentDTOs based on the courseId
      Parameters:
      courseId - if of the course
      Returns:
      a list of RosterStudentDTOs
    • getStatefulBeanToCSV

      public com.opencsv.bean.StatefulBeanToCsv<RosterStudentDTO> getStatefulBeanToCSV(Writer writer) throws IOException
      Throws:
      IOException