Class RosterStudentDTOService
java.lang.Object
edu.ucsb.cs156.frontiers.services.RosterStudentDTOService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRosterStudentDTOs(Long courseId) This method gets a list of RosterStudentDTOs based on the courseIdcom.opencsv.bean.StatefulBeanToCsv<RosterStudentDTO> getStatefulBeanToCSV(Writer writer)
-
Constructor Details
-
RosterStudentDTOService
public RosterStudentDTOService()
-
-
Method Details
-
getRosterStudentDTOs
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
-