Examples of existsGroup()


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

    /*
     * check reference integrity
     */
    CourseEditorEnv cev = getUserCourseEnv().getCourseEditorEnv();
    if (cev != null) {
      if (!cev.existsGroup(groupName)) { return handleException( new ArgumentParseException(ArgumentParseException.REFERENCE_NOT_FOUND, name, groupName,
          "error.notfound.name", "solution.checkgroupmanagement")); }
      // remember the reference to the node id for this condtion
      cev.addSoftReference("groupId", groupName);
      // return a valid value to continue with condition evaluation test
      return defaultValue();
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.