use of org.olat.course.nodes.portfolio.PortfolioResultDetailsController in project OpenOLAT by OpenOLAT.
the class PortfolioCourseNode method getDetailsEditController.
@Override
public Controller getDetailsEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, UserCourseEnvironment coachCourseEnv, UserCourseEnvironment assessedUserCourseEnv) {
RepositoryEntry mapEntry = getReferencedRepositoryEntry();
if (mapEntry != null && BinderTemplateResource.TYPE_NAME.equals(mapEntry.getOlatResource().getResourceableTypeName())) {
Identity assessedIdentity = assessedUserCourseEnv.getIdentityEnvironment().getIdentity();
RepositoryEntry courseEntry = assessedUserCourseEnv.getCourseEnvironment().getCourseGroupManager().getCourseEntry();
return new PortfolioAssessmentDetailsController(ureq, wControl, courseEntry, this, mapEntry, assessedIdentity);
}
return new PortfolioResultDetailsController(ureq, wControl, stackPanel, this, assessedUserCourseEnv);
}
use of org.olat.course.nodes.portfolio.PortfolioResultDetailsController in project openolat by klemens.
the class PortfolioCourseNode method getDetailsEditController.
@Override
public Controller getDetailsEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, UserCourseEnvironment coachCourseEnv, UserCourseEnvironment assessedUserCourseEnv) {
RepositoryEntry mapEntry = getReferencedRepositoryEntry();
if (mapEntry != null && BinderTemplateResource.TYPE_NAME.equals(mapEntry.getOlatResource().getResourceableTypeName())) {
Identity assessedIdentity = assessedUserCourseEnv.getIdentityEnvironment().getIdentity();
RepositoryEntry courseEntry = assessedUserCourseEnv.getCourseEnvironment().getCourseGroupManager().getCourseEntry();
return new PortfolioAssessmentDetailsController(ureq, wControl, courseEntry, this, mapEntry, assessedIdentity);
}
return new PortfolioResultDetailsController(ureq, wControl, stackPanel, this, assessedUserCourseEnv);
}
Aggregations