/**
  * Attempts to find a student by their student ID. Throws an exception if the student
  * cannot be located.
  *
  * @param $studentId The student's ID number.
  * @throws StudentNotFoundException
  */
 private function studentIdSearch($studentId)
 {
     $student = StudentProviderFactory::getProvider()->getStudent($studentId, Term::timeToTerm(time()));
     return $student;
 }
 public static function getStudentByBannerId($bannerId)
 {
     // TODO sanity checking on banner ID format
     $provider = StudentProviderFactory::getProvider();
     return $provider->getStudent($bannerId);
 }