예제 #1
0
 public static List<Boulder> getBouldersByCrag(String crag) {
   return find.where().eq("crag.cragName", crag).findList();
 }
예제 #2
0
 public static List<Boulder> findBouldersNeverSent() {
   return find.where().eq("sent", false).findList();
 }
예제 #3
0
 public static List<Boulder> findAllSent() {
   return find.where().eq("sent", true).findList();
 }
예제 #4
0
 public static List<Boulder> findAll() {
   return find.all();
 }
예제 #5
0
 public static List<Boulder> findBoulderSentBy(String climber) {
   return find.where().eq("haveSent.username", climber).findList();
 }