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