use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class IQTESTCourseNode method updateCurrentCompletion.
@Override
public void updateCurrentCompletion(UserCourseEnvironment userCourseEnvironment, Identity identity, Double currentCompletion, AssessmentRunStatus runStatus, Role doneBy) {
AssessmentManager am = userCourseEnvironment.getCourseEnvironment().getAssessmentManager();
Identity assessedIdentity = userCourseEnvironment.getIdentityEnvironment().getIdentity();
am.updateCurrentCompletion(this, assessedIdentity, userCourseEnvironment, currentCompletion, runStatus, doneBy);
}
use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class IQTESTCourseNode method updateLastModifications.
@Override
public void updateLastModifications(UserCourseEnvironment userCourseEnvironment, Identity identity, Role by) {
AssessmentManager am = userCourseEnvironment.getCourseEnvironment().getAssessmentManager();
Identity assessedIdentity = userCourseEnvironment.getIdentityEnvironment().getIdentity();
am.updateLastModifications(this, assessedIdentity, userCourseEnvironment, by);
}
use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class IQTESTCourseNode method addIndividualAssessmentDocument.
@Override
public void addIndividualAssessmentDocument(File document, String filename, UserCourseEnvironment userCourseEnvironment, Identity coachingIdentity) {
if (document != null) {
AssessmentManager am = userCourseEnvironment.getCourseEnvironment().getAssessmentManager();
Identity assessedIdentity = userCourseEnvironment.getIdentityEnvironment().getIdentity();
am.addIndividualAssessmentDocument(this, coachingIdentity, assessedIdentity, document, filename);
}
}
use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class IQTESTCourseNode method getUserScoreEvaluation.
/**
* @see org.olat.course.nodes.AssessableCourseNode#getUserScoreEvaluation(org.olat.course.run.userview.UserCourseEnvironment)
*/
@Override
public AssessmentEvaluation getUserScoreEvaluation(UserCourseEnvironment userCourseEnv) {
// read score from properties save score, passed and attempts information
AssessmentManager am = userCourseEnv.getCourseEnvironment().getAssessmentManager();
Identity mySelf = userCourseEnv.getIdentityEnvironment().getIdentity();
AssessmentEntry entry = am.getAssessmentEntry(this, mySelf);
return getUserScoreEvaluation(entry);
}
use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class IQTESTCourseNode method getUserAttempts.
/**
* @see org.olat.course.nodes.AssessableCourseNode#getUserAttempts(org.olat.course.run.userview.UserCourseEnvironment)
*/
@Override
public Integer getUserAttempts(UserCourseEnvironment userCourseEnvironment) {
AssessmentManager am = userCourseEnvironment.getCourseEnvironment().getAssessmentManager();
Identity mySelf = userCourseEnvironment.getIdentityEnvironment().getIdentity();
return am.getNodeAttempts(this, mySelf);
}
Aggregations