Search in sources :

Example 1 with AssessedIdentityCheckListController

use of org.olat.course.nodes.cl.ui.AssessedIdentityCheckListController in project OpenOLAT by OpenOLAT.

the class CheckListCourseNode method getDetailsEditController.

/**
 * @see org.olat.course.nodes.AssessableCourseNode#getDetailsEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl,
 *      org.olat.course.run.userview.UserCourseEnvironment)
 */
@Override
public Controller getDetailsEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, UserCourseEnvironment coachCourseEnv, UserCourseEnvironment assessedUserCourseEnv) {
    Identity assessedIdentity = assessedUserCourseEnv.getIdentityEnvironment().getIdentity();
    Long resId = assessedUserCourseEnv.getCourseEnvironment().getCourseResourceableId();
    OLATResourceable courseOres = OresHelper.createOLATResourceableInstance("CourseModule", resId);
    return new AssessedIdentityCheckListController(ureq, wControl, assessedIdentity, courseOres, coachCourseEnv, assessedUserCourseEnv, this, false, false);
}
Also used : OLATResourceable(org.olat.core.id.OLATResourceable) Identity(org.olat.core.id.Identity) AssessedIdentityCheckListController(org.olat.course.nodes.cl.ui.AssessedIdentityCheckListController)

Example 2 with AssessedIdentityCheckListController

use of org.olat.course.nodes.cl.ui.AssessedIdentityCheckListController in project openolat by klemens.

the class CheckListCourseNode method getDetailsEditController.

/**
 * @see org.olat.course.nodes.AssessableCourseNode#getDetailsEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl,
 *      org.olat.course.run.userview.UserCourseEnvironment)
 */
@Override
public Controller getDetailsEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, UserCourseEnvironment coachCourseEnv, UserCourseEnvironment assessedUserCourseEnv) {
    Identity assessedIdentity = assessedUserCourseEnv.getIdentityEnvironment().getIdentity();
    Long resId = assessedUserCourseEnv.getCourseEnvironment().getCourseResourceableId();
    OLATResourceable courseOres = OresHelper.createOLATResourceableInstance("CourseModule", resId);
    return new AssessedIdentityCheckListController(ureq, wControl, assessedIdentity, courseOres, coachCourseEnv, assessedUserCourseEnv, this, false, false);
}
Also used : OLATResourceable(org.olat.core.id.OLATResourceable) Identity(org.olat.core.id.Identity) AssessedIdentityCheckListController(org.olat.course.nodes.cl.ui.AssessedIdentityCheckListController)

Aggregations

Identity (org.olat.core.id.Identity)2 OLATResourceable (org.olat.core.id.OLATResourceable)2 AssessedIdentityCheckListController (org.olat.course.nodes.cl.ui.AssessedIdentityCheckListController)2