use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class ScormCourseNode method getUserAssessmentEntry.
@Override
public AssessmentEntry getUserAssessmentEntry(UserCourseEnvironment userCourseEnv) {
AssessmentManager am = userCourseEnv.getCourseEnvironment().getAssessmentManager();
Identity mySelf = userCourseEnv.getIdentityEnvironment().getIdentity();
// we want t
return am.getAssessmentEntry(this, mySelf);
}
use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class ScormCourseNode method getUserUserComment.
/**
* @see org.olat.course.nodes.AssessableCourseNode#getUserUserComment(org.olat.course.run.userview.UserCourseEnvironment)
*/
@Override
public String getUserUserComment(UserCourseEnvironment userCourseEnvironment) {
AssessmentManager am = userCourseEnvironment.getCourseEnvironment().getAssessmentManager();
Identity mySelf = userCourseEnvironment.getIdentityEnvironment().getIdentity();
return am.getNodeComment(this, mySelf);
}
use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class ScormCourseNode method removeIndividualAssessmentDocument.
@Override
public void removeIndividualAssessmentDocument(File document, UserCourseEnvironment userCourseEnvironment, Identity coachingIdentity) {
if (document != null) {
AssessmentManager am = userCourseEnvironment.getCourseEnvironment().getAssessmentManager();
Identity assessedIdentity = userCourseEnvironment.getIdentityEnvironment().getIdentity();
am.removeIndividualAssessmentDocument(this, coachingIdentity, assessedIdentity, document);
}
}
use of org.olat.course.assessment.AssessmentManager in project openolat by klemens.
the class ScormCourseNode 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 PortfolioCourseNode method getUserAttempts.
@Override
public Integer getUserAttempts(UserCourseEnvironment userCourseEnvironment) {
AssessmentManager am = userCourseEnvironment.getCourseEnvironment().getAssessmentManager();
Identity mySelf = userCourseEnvironment.getIdentityEnvironment().getIdentity();
Integer userAttemptsValue = am.getNodeAttempts(this, mySelf);
return userAttemptsValue;
}
Aggregations