Example #1
0
 public List<Registration> getRegistrationsForDegreeCandidacies() {
   final List<Registration> result = new ArrayList<Registration>();
   for (final DegreeCandidacy degreeCandidacy : getDegreeCandidacies()) {
     if (degreeCandidacy.getRegistration() != null) {
       result.add(degreeCandidacy.getRegistration());
     }
   }
   return result;
 }
Example #2
0
  public List<DegreeCandidacy> getNotConcludedDegreeCandidacies() {
    final List<DegreeCandidacy> result = new ArrayList<DegreeCandidacy>();
    for (final DegreeCandidacy degreeCandidacy : getDegreeCandidacies()) {
      if (!degreeCandidacy.isConcluded()) {
        result.add(degreeCandidacy);
      }
    }

    return result;
  }
Example #3
0
 public List<DegreeCandidacy> getDegreeCandidaciesBy(
     CandidacySituationType candidacySituationType) {
   final List<DegreeCandidacy> result = new ArrayList<DegreeCandidacy>();
   for (final DegreeCandidacy candidacy : getDegreeCandidacies()) {
     if (candidacy.getActiveCandidacySituation().getCandidacySituationType()
         == candidacySituationType) {
       result.add(candidacy);
     }
   }
   return result;
 }