Package org.olat.course.run.calendar

Examples of org.olat.course.run.calendar.CourseCalendarSubscription.unsubscribe()


        confirmRemoveDialog = activateOkCancelDialog(ureq, translate("cal.icalfeed.remove.title"), translate("cal.icalfeed.remove.confirmation_message"), confirmRemoveDialog);
      } else if (command.equals(CMD_UNSUBSCRIBE)) {
        currentCalendarID = ureq.getParameter(PARAM_ID);
        KalendarRenderWrapper calendarWrapper = findKalendarRenderWrapper(currentCalendarID);
        CalendarSubscription subscription = new CourseCalendarSubscription(calendarWrapper.getKalendar(), ureq.getUserSession().getGuiPreferences());
        subscription.unsubscribe();
       
        for (Iterator<KalendarRenderWrapper> it=calendars.iterator(); it.hasNext(); ) {
          KalendarRenderWrapper calendar = it.next();
          if (calendarWrapper.getKalendar().getCalendarID().equals(calendar.getKalendar().getCalendarID())) {
            it.remove();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.