Examples of existsNode()


Examples of org.olat.course.editor.CourseEditorEnv.existsNode()

    /*
     * check reference integrity
     */
    CourseEditorEnv cev = getUserCourseEnv().getCourseEditorEnv();
    if (cev != null) {
      if (!cev.existsNode(nodeId)) { return handleException(new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name,
          nodeId, "error.notfound.coursenodeid", "solution.copypastenodeid")); }
      if (!cev.isEnrollmentNode(nodeId)) { return handleException(new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name,
          nodeId, "error.notenrollment.coursenodeid", "solution.chooseenrollment")); }
      // remember the reference to the node id for this condtion
      cev.addSoftReference("courseNodeId", nodeId);
View Full Code Here

Examples of org.olat.course.editor.CourseEditorEnv.existsNode()

    /*
     * check reference integrity
     */
    CourseEditorEnv cev = getUserCourseEnv().getCourseEditorEnv();
    if (cev != null) {
      if (!cev.existsNode(childId)) { return handleException( new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name, childId,
          "error.notfound.coursenodeid", "solution.copypastenodeid")); }
      if (!cev.isAssessable(childId)) { return handleException(new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name,
          childId, "error.notassessable.coursenodid", "solution.takeassessablenode")); }
      // remember the reference to the node id for this condtion
      cev.addSoftReference("courseNodeId", childId);
View Full Code Here

Examples of org.olat.course.editor.CourseEditorEnv.existsNode()

    /*
     * check reference integrity
     */
    CourseEditorEnv cev = getUserCourseEnv().getCourseEditorEnv();
    if (cev != null) {
      if (!cev.existsNode(childId)) { return handleException( new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name, childId,
          "error.notfound.coursenodeid", "solution.copypastenodeid")); }
      if (!cev.isAssessable(childId)) { return handleException(new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name,
          childId, "error.notassessable.coursenodid", "solution.takeassessablenode")); }
      // remember the reference to the node id for this condtion
      cev.addSoftReference("courseNodeId", childId);
View Full Code Here

Examples of org.olat.course.editor.CourseEditorEnv.existsNode()

    /*
     * check reference integrity
     */
    CourseEditorEnv cev = getUserCourseEnv().getCourseEditorEnv();
    if (cev != null) {
      if (!cev.existsNode(nodeId)) { return handleException(new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name,
          nodeId, "error.notfound.coursenodeid", "solution.copypastenodeid")); }
      // remember the reference to the node id for this condtion
      cev.addSoftReference("courseNodeId", nodeId);
      // return a valid value to continue with condition evaluation test
      return defaultValue();
View Full Code Here

Examples of org.olat.course.editor.CourseEditorEnv.existsNode()

    /*
     * check reference integrity
     */
    CourseEditorEnv cev = getUserCourseEnv().getCourseEditorEnv();
    if (cev != null) {
      if (!cev.existsNode(nodeId)) { return handleException( new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name, nodeId,
          "error.notfound.coursenodeid", "solution.copypastenodeid")); }
      if (!cev.isEnrollmentNode(nodeId)) { return handleException(new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name,
          nodeId, "error.notenrollment.coursenodeid", "solution.chooseenrollment")); }
      // remember the reference to the node id for this condtion
      cev.addSoftReference("courseNodeId", nodeId);
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.