コード例 #1
0
  /**
   * Mit der URL /locations alle Lokalitaeten ermitteln
   *
   * @param uriInfo Info-Objekt zur aufgerufenen URI
   * @return Personliste
   * @throws Exception
   */
  @GET
  public LocationList findAlleLocations(@Context UriInfo uriInfo) {

    LocationList list = new LocationList();
    list.setList(dao.selectAll());
    return list;
  }