Examples of addLoggingResourceable()


Examples of org.olat.core.commons.modules.bc.FolderRunController.addLoggingResourceable()

       
      } else if (event.getCommand().equals(CMD_COURSEFOLDER)) {
        // folder for course
        VFSContainer namedCourseFolder = new NamedContainerImpl(translate(NLS_COURSEFOLDER_NAME), course.getCourseFolderContainer());
        FolderRunController bcrun = new FolderRunController(namedCourseFolder, true, ureq, getWindowControl());
        bcrun.addLoggingResourceable(LoggingResourceable.wrap(course));
        Component folderComponent = bcrun.getInitialComponent();
        CloseableModalController clc = new CloseableModalController(getWindowControl(), translate(NLS_COURSEFOLDER_CLOSE),
            folderComponent);
        clc.activate();
       
View Full Code Here

Examples of org.olat.core.commons.modules.singlepage.SinglePageController.addLoggingResourceable()

        spCtr.allowPageEditing();
        // set the link tree model to internal for the HTML editor
        CustomLinkTreeModel linkTreeModel = new CourseInternalLinkTreeModel(userCourseEnv.getCourseEnvironment().getRunStructure().getRootNode());
        spCtr.setInternalLinkTreeModel(linkTreeModel);
      }
      spCtr.addLoggingResourceable(LoggingResourceable.wrap(this));
      // create clone wrapper layout, allow popping into second window
      CloneLayoutControllerCreatorCallback clccc = new CloneLayoutControllerCreatorCallback() {
        public ControllerCreator createLayoutControllerCreator(final UserRequest ureq, final ControllerCreator contentControllerCreator) {
          return BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, new ControllerCreator() {
            @SuppressWarnings("synthetic-access")
View Full Code Here

Examples of org.olat.course.editor.EditorMainController.addLoggingResourceable()

      //return new MonologController(ureq.getLocale(), translator.translate("error.editoralreadylocked", new String[] { emc.getLockEntry()
      //    .getOwner().getName() }), null, true);
    }
    //set the logger if editor is started
    //since 5.2 groups / areas can be created from the editor -> should be logged.
    emc.addLoggingResourceable(LoggingResourceable.wrap(course));
    return emc;
  }

  /**
   * Creates an empty course with a single root node. The course is linked to
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.