Package de.narimo.georepo.server.api
Class CommentModificationController
- java.lang.Object
-
- de.narimo.georepo.server.api.CommentModificationController
-
@Provider @Path("/workspaces/{diffWorkspace}/layers/{layername}/features/{gfid}/comments/changes") public class CommentModificationController extends Object
-
-
Constructor Summary
Constructors Constructor Description CommentModificationController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseacceptCommentChangeset(String diffWorkspace, String dataLayerName, int gfid, int commentId, javax.ws.rs.core.SecurityContext sec)javax.ws.rs.core.ResponsedeclineCommentChangeset(String diffWorkspace, String dataLayerName, int gfid, int commentId, javax.ws.rs.core.SecurityContext sec)javax.ws.rs.core.ResponsepostFeatureComment(javax.ws.rs.core.SecurityContext sec, javax.servlet.ServletContext ctx, String diffWorkspace, String dataLayerName, int gfid, Comment comment)
-
-
-
Method Detail
-
postFeatureComment
@POST @Path("/") @Consumes("application/json") public javax.ws.rs.core.Response postFeatureComment(@Context javax.ws.rs.core.SecurityContext sec, @Context javax.servlet.ServletContext ctx, @PathParam("diffWorkspace") String diffWorkspace, @PathParam("layername") String dataLayerName, @PathParam("gfid") int gfid, Comment comment) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
acceptCommentChangeset
@PUT @Path("/{commentId}/accept") public javax.ws.rs.core.Response acceptCommentChangeset(@PathParam("diffWorkspace") String diffWorkspace, @PathParam("layername") String dataLayerName, @PathParam("gfid") int gfid, @PathParam("commentId") int commentId, @Context javax.ws.rs.core.SecurityContext sec)
-
declineCommentChangeset
@PUT @Path("/{commentId}/decline") public javax.ws.rs.core.Response declineCommentChangeset(@PathParam("diffWorkspace") String diffWorkspace, @PathParam("layername") String dataLayerName, @PathParam("gfid") int gfid, @PathParam("commentId") int commentId, @Context javax.ws.rs.core.SecurityContext sec)
-
-