Examples of selectResults()


Examples of org.olat.ims.qti.QTIResultManager.selectResults()

   */
  public void selectAndExportResults(QTIExportFormatter qef, Long olatResource, String shortTitle, String olatResourceDetail, Long repositoryRef,
    File exportDirectory, String charset, String fileNameSuffix) {
   
    QTIResultManager qrm = QTIResultManager.getInstance();
    List results = qrm.selectResults(olatResource, olatResourceDetail, repositoryRef, qef.getType());
    if(results.size() > 0){
      QTIResult res0 = (QTIResult) results.get(0);
     
      QTIObjectTreeBuilder qotb = new QTIObjectTreeBuilder(new Long(res0.getResultSet().getRepositoryRef()));
     
View Full Code Here

Examples of org.olat.ims.qti.QTIResultManager.selectResults()

          if (success) {
            String repositorySoftKey = (String) currentCourseNode.getModuleConfiguration().get(IQEditController.CONFIG_KEY_REPOSITORY_SOFTKEY);
            Long repKey = RepositoryManager.getInstance().lookupRepositoryEntryBySoftkey(repositorySoftKey, true).getKey();
           
            QTIResultManager qrm = QTIResultManager.getInstance();
            results = qrm.selectResults(olatResource, currentCourseNode.getIdent(), repKey, type);
            QTIResult res0 = (QTIResult) results.get(0);
           
            QTIObjectTreeBuilder qotb = new QTIObjectTreeBuilder(new Long(res0.getResultSet().getRepositoryRef()));
            qtiItemObjectList = qotb.getQTIItemObjectList();
           
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.