コード例 #1
0
 private List<Solution> getSolutionsOfUser(Challenge challenge) {
   User currentUser = authenticationService.getCurrentUser();
   return solutionDao.findSolutionsBy(challenge, currentUser);
 }
コード例 #2
0
 public Set<Challenge> getSolvedChallengesOfCurrentUser() {
   return getSolvedChallengesOf(authenticationService.getCurrentUser());
 }