Examples of queryByType()


Examples of org.olat.repository.RepositoryManager.queryByType()

    // create all efficiency statements for all users in all courses
    if (! uhd.getBooleanDataValue(TASK_EFFICIENCY_STATEMENT_DONE)) {
      RepositoryManager rm = RepositoryManager.getInstance();
      EfficiencyStatementManager esm = EfficiencyStatementManager.getInstance();
      // get all course repository entries
      List entries = rm.queryByType(CourseModule.ORES_TYPE_COURSE);
      Iterator iter = entries.iterator();
      while (iter.hasNext()) {
        RepositoryEntry re = (RepositoryEntry) iter.next();
        // load course from entry
        ICourse course = CourseFactory.loadCourse(re.getOlatResource());
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.