Examples of EfficiencyStatement


Examples of org.olat.course.assessment.EfficiencyStatement

      // - appear as link when configured, assessable node exist and assessment
      // data exists for user
      myTool.addPopUpLink("efficiencystatement", translate("command.efficiencystatement"), "command.efficiencystatement", null,
          "750", "800", false);
      EfficiencyStatementManager esm = EfficiencyStatementManager.getInstance();
      EfficiencyStatement es = esm.getUserEfficiencyStatement(courseRepositoryEntry.getKey(), identity);
      if (es == null) {
        myTool.setEnabled("command.efficiencystatement", false);
      }
    }
   
View Full Code Here

Examples of org.olat.course.assessment.EfficiencyStatement

    /*
     * the real function evaluation which is used during run time
     */
    EfficiencyStatementManager esm = EfficiencyStatementManager.getInstance();
    EfficiencyStatement es = esm.getUserEfficiencyStatement(courseRepoEntryKey, getUserCourseEnv().getIdentityEnvironment().getIdentity());
    if (es == null) return defaultValue();
    Boolean passed = esm.getPassed(childId, es);
    if (passed == null) return defaultValue();
    // finally check existing value
    return (passed.booleanValue() ? ConditionInterpreter.INT_TRUE : ConditionInterpreter.INT_FALSE);
View Full Code Here

Examples of org.olat.course.assessment.EfficiencyStatement

    /*
     * the real function evaluation which is used during run time
     */

    EfficiencyStatementManager esm = EfficiencyStatementManager.getInstance();
    EfficiencyStatement es = esm.getUserEfficiencyStatement(courseRepoEntryKey, getUserCourseEnv().getIdentityEnvironment().getIdentity());
    if (es == null) return defaultValue();
    Double score = esm.getScore(childId, es);
    if (score == null) return defaultValue();
    // finally check existing value
    return score;
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.