Package org.olat.util.logging.activity

Examples of org.olat.util.logging.activity.LoggingResourceable


      cpTree = new MenuTree("cpDisplayTree");
      cpTree.setTreeModel(ctm);
      cpTree.addListener(this);
    }

    LoggingResourceable nodeInfo = null;
    if (activateFirstPage) {
      // set content to first accessible child or root node if no children
      // available
      TreeNode node = ctm.getRootNode();
      if (node == null) throw new OLATRuntimeException(CPDisplayController.class, "root node of content packaging was null, file:"
View Full Code Here


        this.newGroups = this.groupManager.createUniqueBusinessGroupsFor(allNames, this.bgContext, bgDesc, bgMin, bgMax,  enableWaitingList, enableAutoCloseRanks);
        if(this.newGroups != null){
            for (Iterator<BusinessGroup> iter = this.newGroups.iterator(); iter.hasNext();) {
              BusinessGroup bg = iter.next();
              LoggingResourceable resourceInfo = LoggingResourceable.wrap(bg);
              ThreadLocalUserActivityLogger.log(GroupLoggingAction.GROUP_CREATED, getClass(), resourceInfo)
            }           
          // workflow successfully finished
          // so far no events on the systembus to inform about new groups in BGContext
          fireEvent(ureq, Event.DONE_EVENT);
View Full Code Here

      }
    } else if (source == confirmDeleteGroup) {
      if (DialogBoxUIFactory.isYesEvent(event)) { // yes case
        releaseAdminLockAndGroupMUE();
        String deletedGroupName = this.currentGroup.getName();
        LoggingResourceable lri = LoggingResourceable.wrap(currentGroup);
        doGroupDelete();
        doGroupList(ureq, false);
        // do logging
        ThreadLocalUserActivityLogger.log(GroupLoggingAction.GROUP_DELETED, getClass(), lri);
        showInfo("info.group.deleted");
      }
    } else if (source == areaEditCtr) {
      // TODO event: changed area: update models
    } else if (source == confirmDeleteArea) {
      if (DialogBoxUIFactory.isYesEvent(event)) { // yes case
        String deletedAreaName = this.currentArea.getName();
        LoggingResourceable lri = LoggingResourceable.wrap(currentArea);
        doAreaDelete();
        doAreaList(ureq, false);
        // do logging
        ThreadLocalUserActivityLogger.log(GroupLoggingAction.AREA_DELETED, getClass(), lri);
      }
View Full Code Here

        if((changedCourseConfig.getGlossarySoftKey()==null && initialCourseConfig.getGlossarySoftKey()!=null)
            || (changedCourseConfig.getGlossarySoftKey()!=null && initialCourseConfig.getGlossarySoftKey()==null)
            && cglosCtr.getLoggingAction()!=null) {
         
          final String glossarySoftKey = changedCourseConfig.getGlossarySoftKey();
          LoggingResourceable lri = null;
          if (glossarySoftKey!=null) {
            lri = LoggingResourceable.wrapNonOlatResource(StringResourceableType.glossarySoftKey, glossarySoftKey, glossarySoftKey);
          }
          ThreadLocalUserActivityLogger.log(cglosCtr.getLoggingAction(), getClass(), lri);
          if(changedCourseConfig.getGlossarySoftKey()==null) {
View Full Code Here

   
    LoggingResourceable[] infos = new LoggingResourceable[2+details.length];
    infos[0] = LoggingResourceable.wrap(course);
    infos[1] = LoggingResourceable.wrap(cn);
    for (int i = 0; i < details.length; i++) {
      LoggingResourceable lri = details[i];
      infos[i+2] = lri;
    }
   
    ThreadLocalUserActivityLogger.log(action, getClass(), details);
  }
View Full Code Here

TOP

Related Classes of org.olat.util.logging.activity.LoggingResourceable

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.