use of org.olat.modules.portfolio.ui.PortfolioAssessmentDetailsController 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.modules.portfolio.ui.PortfolioAssessmentDetailsController 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