Package de.narimo.georepo.server.api
Class CommentController
- java.lang.Object
-
- de.narimo.georepo.server.api.CommentController
-
@Provider @Path("/workspaces/{workspace}/layers/{layername}/features/{gfid}/comments") public class CommentController extends Object
-
-
Constructor Summary
Constructors Constructor Description CommentController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsedeleteFeatureComment(javax.ws.rs.core.SecurityContext sec, String workspace, String dataLayerName, int gfid, int commentId)javax.ws.rs.core.ResponsegetFeatureComments(javax.ws.rs.core.SecurityContext sec, String workspace, String dataLayerName, int gfid)
-
-
-
Method Detail
-
getFeatureComments
@GET @Path("/") @Produces("application/json") public javax.ws.rs.core.Response getFeatureComments(@Context javax.ws.rs.core.SecurityContext sec, @PathParam("workspace") String workspace, @PathParam("layername") String dataLayerName, @PathParam("gfid") int gfid) throws SQLException- Throws:
SQLException
-
deleteFeatureComment
@DELETE @Path("/{commentId}") public javax.ws.rs.core.Response deleteFeatureComment(@Context javax.ws.rs.core.SecurityContext sec, @PathParam("workspace") String workspace, @PathParam("layername") String dataLayerName, @PathParam("gfid") int gfid, @PathParam("commentId") int commentId) throws SQLException- Throws:
SQLException
-
-