Package teammates.jdo

Examples of teammates.jdo.Coordinator


    // 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

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

      course = courses.getCourse(t.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 team forming is opened
      studentList = courses.getStudentList(t.getCourseID());

      teamForming.informStudentsOfTeamFormingSessionOpening(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.