comparison src/main/java/de/intevation/lada/rest/LProbeService.java @ 68:9e34b7e872f9

Documentation and minor code cosmetics/renamings.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 31 May 2013 14:47:54 +0200
parents 530a941dbf79
children 9409d00b9254
comparison
equal deleted inserted replaced
67:530a941dbf79 68:9e34b7e872f9
47 * @return JSON Object via REST service. 47 * @return JSON Object via REST service.
48 */ 48 */
49 @GET 49 @GET
50 @Path("/{id}") 50 @Path("/{id}")
51 @Produces("text/json") 51 @Produces("text/json")
52 public LProbe details(@PathParam("id") String id) { 52 public LProbe findById(@PathParam("id") String id) {
53 return repository.details(id); 53 return repository.findById(LProbe.class, id);
54 } 54 }
55 55
56 /** 56 /**
57 * Request LProbe via a filter. 57 * Request LProbe via a filter.
58 * 58 *
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)