use of teammates.ui.template.AdminAccountDetailsStudentCourseListTableRow in project teammates by TEAMMATES.
the class AdminAccountDetailsPageData method createStudentCourseListTable.
private List<AdminAccountDetailsStudentCourseListTableRow> createStudentCourseListTable(List<CourseAttributes> studentCourseList) {
List<AdminAccountDetailsStudentCourseListTableRow> courseListTable = new ArrayList<>();
if (studentCourseList != null) {
for (CourseAttributes courseDetails : studentCourseList) {
AdminAccountDetailsStudentCourseListTableRow row = new AdminAccountDetailsStudentCourseListTableRow(accountInformation.googleId, courseDetails, getSessionToken());
courseListTable.add(row);
}
}
return courseListTable;
}
Aggregations