Package org.olat.course.run.calendar

Examples of org.olat.course.run.calendar.CourseLinkProviderController


    if (config != null) {
      courseKalendarWrapper.getKalendarConfig().setCss(config.getCss());
      courseKalendarWrapper.getKalendarConfig().setVis(config.isVis());
    }
    // add link provider
    CourseLinkProviderController clpc = new CourseLinkProviderController(course, ureq, wControl);
    courseKalendarWrapper.setLinkProvider(clpc);
    calendars.add(courseKalendarWrapper);

    // add course group calendars
    boolean isGroupManager = cgm.isIdentityCourseAdministrator(identity) || cgm.hasRight(identity, CourseRights.RIGHT_GROUPMANAGEMENT);
View Full Code Here


      List<OLATResource> resources = BGContextManagerImpl.getInstance().findOLATResourcesForBGContext(businessGroup.getGroupContext());
      for (Iterator<OLATResource> iter = resources.iterator(); iter.hasNext();) {
        OLATResource resource = iter.next();
        if (resource.getResourceableTypeName().equals(CourseModule.getCourseTypeName())) {
          ICourse course = CourseFactory.loadCourse(resource);
          CourseLinkProviderController clp = new CourseLinkProviderController(course, ureq, wControl);
          calRenderWrapper.setLinkProvider(clp);
          // for the time being only internal learning groups are supported, therefore we only get
          // the first course reference.
          break;
        }
View Full Code Here

      KalendarConfig courseKalendarConfig = calendarManager.findKalendarConfigForIdentity(courseCalendarWrapper.getKalendar(), ureq);
      if (courseKalendarConfig != null) {
        courseCalendarWrapper.getKalendarConfig().setCss(courseKalendarConfig.getCss());
        courseCalendarWrapper.getKalendarConfig().setVis(courseKalendarConfig.isVis());
      }
      courseCalendarWrapper.setLinkProvider(new CourseLinkProviderController(course, ureq, wControl));
      calendars.add(courseCalendarWrapper);
    }

    // do calendar ID cleanup
    if (!calendarIDsToBeRemoved.isEmpty()) {
View Full Code Here

TOP

Related Classes of org.olat.course.run.calendar.CourseLinkProviderController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.