Exemplo n.º 1
0
  public String getAwardsListTextually() {
    String ret = "";

    if (awards != null) {
      for (Awards award : awards) {
        ret += (award.toString() + "," + '\'');
      }
    }

    return ret;
  }
 public static boolean hasAwards(Long id) {
   return Awards.existsByEventId(id);
 }