Package org.olat.course.nodes

Examples of org.olat.course.nodes.DialogCourseNode.doArchiveElement()


      }
    } else if (source == confirmDeletionCtr) {
      if (DialogBoxUIFactory.isYesEvent(event)) {
        DialogCourseNode node = (DialogCourseNode) courseNode;
        // archive data to personal folder
        node.doArchiveElement(selectedElement, CourseFactory.getOrCreateDataExportDirectory(ureq.getIdentity(), node.getShortTitle()));
        // delete element
        dialogElmsMgr.deleteDialogElement(coursePropMgr, courseNode, selectedElement.getForumKey());
        forumMgr.deleteForum(selectedElement.getForumKey());
        showOverviewTable(ureq, forumCallback);
        content.contextPut("hasSelectedElement", Boolean.FALSE);
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.