use of org.olat.modules.lecture.LectureRollCallStatus in project OpenOLAT by OpenOLAT.
the class ParticipantLectureBlocksDataModel method isDataVisible.
private boolean isDataVisible(LectureBlockAndRollCall row) {
LectureBlockStatus status = row.getStatus();
if (LectureBlockStatus.cancelled.equals(status)) {
return false;
}
LectureRollCallStatus rollCallStatus = row.getRollCallStatus();
return status == LectureBlockStatus.done && (rollCallStatus == LectureRollCallStatus.closed || rollCallStatus == LectureRollCallStatus.autoclosed);
}
Aggregations