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