Package org.olat.course.nodes

Examples of org.olat.course.nodes.ScormCourseNode


  /**
   * @see org.olat.course.nodes.CourseNodeConfiguration#getInstance()
   */
  public CourseNode getInstance() {
    return new ScormCourseNode();
  }
View Full Code Here


    if (node instanceof AssessableCourseNode) {
      if (node instanceof STCourseNode) {
        STCourseNode scn = (STCourseNode) node;
        if (scn.hasPassedConfigured() || scn.hasScoreConfigured()) { return true; }
      } else if (node instanceof ScormCourseNode) {
        ScormCourseNode scormn = (ScormCourseNode) node;
        if (scormn.hasScoreConfigured()) { return true; }
      } else if (node instanceof ProjectBrokerCourseNode) {
        return false;// TODO:cg 28.01.2010 ProjectBroker : no assessment-tool in V1.0 return always false
      } else {
        return true;
      }
View Full Code Here

    courseNodeResourceContext.setBusinessControlFor(courseNode);
    courseNodeResourceContext.setDocumentType(NODE_TYPE);
    courseNodeResourceContext.setTitle(courseNode.getShortTitle());
    courseNodeResourceContext.setDescription(courseNode.getLongTitle());
   
    ScormCourseNode scormNode = (ScormCourseNode)courseNode;
    RepositoryEntry repoEntry = scormNode.getReferencedRepositoryEntry();
    OLATResource ores = repoEntry.getOlatResource();
    File cpRoot = FileResourceManager.getInstance().unzipFileResource(ores);
   
    doIndex(courseNodeResourceContext, indexWriter, cpRoot);
  }
View Full Code Here

TOP

Related Classes of org.olat.course.nodes.ScormCourseNode

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.