Package org.olat.core.logging.activity

Examples of org.olat.core.logging.activity.LoggingObject


    // get registered node aliases like fo, den, st, and so on
    List<String> courseNodeAliases = CourseNodeFactory.getInstance().getRegisteredCourseNodeAliases();
    // count all LoggingObjects which have not a course node resourceable type two times 
    int count = 0;
    for (Object o : loggingObjects) {
      LoggingObject loggingObject = (LoggingObject) o;
      if(!(courseNodeAliases.contains(loggingObject.getTargetResType()) && courseNodeAliases.contains(loggingObject.getParentResType()))) {
        count++;
      }
    }
    setAggregation(count);
  }
View Full Code Here

TOP

Related Classes of org.olat.core.logging.activity.LoggingObject

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.