Package teammates.jdo

Examples of teammates.jdo.Coordinator


    if (!studentList.isEmpty()) {
      Course course = courses.getCourse(studentList.get(0).getCourseID());

      String courseID = course.getID();
      String courseName = course.getName();
      Coordinator coord = accounts.getCoordinator(course
          .getCoordinatorID());

      courses.sendRegistrationKeys(studentList, courseID, courseName,
          coord.getName(), coord.getEmail());
    }
  }
View Full Code Here


    List<Student> studentList = new ArrayList<Student>();
    studentList.add(student);

    String courseName = course.getName();
    Coordinator coord = accounts.getCoordinator(course.getCoordinatorID());

    courses.sendRegistrationKeys(studentList, courseID, courseName,
        coord.getName(), coord.getEmail());
  }
View Full Code Here

      // Send registration keys to unregistered students
      Courses courses = Courses.inst();
      studentList = courses.getUnregisteredStudentList(e.getCourseID());
     
      course = courses.getCourse(e.getCourseID());
      Coordinator coord = accounts.getCoordinator(course.getCoordinatorID());
      courses.sendRegistrationKeys(studentList, course.getID(), course.getName(),
            coord.getName(),
            coord.getEmail());
     
      // Send e-mails to inform the students that an evaluation is opened
      studentList = courses.getStudentList(e.getCourseID());
     
      evaluations.informStudentsOfEvaluationOpening(studentList, e.getCourseID(), e.getName());
View Full Code Here

    // Check that the account does not already exist
    if (getCoordinator(googleID) != null) {
      throw new AccountExistsException();
    }

    Coordinator coordinator = new Coordinator(googleID, name, email);

    try {
      getPM().makePersistent(coordinator);
    }
View Full Code Here

   *          the coordinator's Google ID (Precondition: Must not be null)
   *
   * @return the name of the coordinator
   */
  public String getCoordinatorName(String googleID) {
    Coordinator coordinator = getCoordinator(googleID);

    return coordinator.getName();
  }
View Full Code Here

    List<Student> studentList = new ArrayList<Student>();
    studentList.add(student);

    String courseName = course.getName();
    Coordinator coord = accounts.getCoordinator(course.getCoordinatorID());

    courses.sendRegistrationKeys(studentList, courseID, courseName,
        coord.getName(), coord.getEmail());
  }
View Full Code Here

    if (!studentList.isEmpty()) {
      Course course = courses.getCourse(studentList.get(0).getCourseID());

      String courseID = course.getID();
      String courseName = course.getName();
      Coordinator coord = accounts.getCoordinator(course
          .getCoordinatorID());

      courses.sendRegistrationKeys(studentList, courseID, courseName,
          coord.getName(), coord.getEmail());
    }
  }
View Full Code Here

    List<Student> studentList = new ArrayList<Student>();
    studentList.add(student);

    String courseName = course.getName();
    Coordinator coord = accounts.getCoordinator(course.getCoordinatorID());

    courses.sendRegistrationKeys(studentList, courseID, courseName, coord.getName(), coord.getEmail());
  }
View Full Code Here

    if (!studentList.isEmpty()) {
      Course course = courses.getCourse(studentList.get(0).getCourseID());

      String courseID = course.getID();
      String courseName = course.getName();
      Coordinator coord = accounts.getCoordinator(course.getCoordinatorID());

      courses.sendRegistrationKeys(studentList, courseID, courseName, coord.getName(), coord.getEmail());
    }
  }
View Full Code Here

      // Send registration keys to unregistered students
      Courses courses = Courses.inst();
      studentList = courses.getUnregisteredStudentList(e.getCourseID());

      course = courses.getCourse(e.getCourseID());
      Coordinator coord = accounts.getCoordinator(course
          .getCoordinatorID());
      courses.sendRegistrationKeys(studentList, course.getID(),
          course.getName(), coord.getName(), coord.getEmail());

      // Send e-mails to inform the students that an evaluation is opened
      studentList = courses.getStudentList(e.getCourseID());

      evaluations.informStudentsOfEvaluationOpening(studentList,
View Full Code Here

TOP

Related Classes of teammates.jdo.Coordinator

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.