comparison src/main/java/de/intevation/lada/rest/LStatusService.java @ 366:567ce7697fc7 0.5

Code documentation.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 10 Sep 2013 15:55:54 +0200
parents 2098db2e8fbd
children 183f8116d9a6
comparison
equal deleted inserted replaced
365:fab80595ed55 366:567ce7697fc7
21 21
22 import de.intevation.lada.auth.Authentication; 22 import de.intevation.lada.auth.Authentication;
23 import de.intevation.lada.auth.AuthenticationException; 23 import de.intevation.lada.auth.AuthenticationException;
24 import de.intevation.lada.data.QueryBuilder; 24 import de.intevation.lada.data.QueryBuilder;
25 import de.intevation.lada.data.Repository; 25 import de.intevation.lada.data.Repository;
26 import de.intevation.lada.model.LMessung;
27 import de.intevation.lada.model.LProbe;
26 import de.intevation.lada.model.LStatus; 28 import de.intevation.lada.model.LStatus;
27 import de.intevation.lada.model.LStatusId; 29 import de.intevation.lada.model.LStatusId;
28 30
29 /** 31 /**
30 * This class produces a RESTful service to read, write and update 32 * This class produces a RESTful service to read, write and update
54 * Request LStatus via a filter. 56 * Request LStatus via a filter.
55 * 57 *
56 * Query parameters are used for the filter in form of key-value pairs. 58 * Query parameters are used for the filter in form of key-value pairs.
57 * 59 *
58 * @param info The URL query parameters. 60 * @param info The URL query parameters.
59 * @param header The HTTP header containing authorization information. 61 * @param headers The HTTP header containing authorization information.
60 * @return Response object. 62 * @return Response object.
61 */ 63 */
62 @GET 64 @GET
63 @Produces("text/json") 65 @Produces("text/json")
64 public Response filter( 66 public Response filter(
146 148
147 /** 149 /**
148 * Delete a LStatus object. 150 * Delete a LStatus object.
149 * 151 *
150 * @param statusId The object id. 152 * @param statusId The object id.
151 * @param messungsId The LProbe id. 153 * @param messungsId The {@link LMessung} id.
152 * @param statusId The LStatus id 154 * @param probeId The {@link LProbe} id
153 * @param headers The HTTP header containing authorization information. 155 * @param headers The HTTP header containing authorization information.
154 * @return Response object. 156 * @return Response object.
155 */ 157 */
156 @DELETE 158 @DELETE
157 @Produces("text/json") 159 @Produces("text/json")
158 @Path("/{statusId}/{messungsId}/{probeId}") 160 @Path("/{statusId}/{messungsId}/{probeId}")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)