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