Exemple #1
0
 public static List<Club> getActiveClubs(Association assoc, Season season) {
   final ClubDao dao = (ClubDao) UnitOfWork.get().getDao(Club.class);
   return dao.findActiveClubs(assoc, season);
 }
Exemple #2
0
 public static List<Club> getClubs() {
   final ClubDao dao = (ClubDao) UnitOfWork.get().getDao(Club.class);
   return dao.findAll();
 }