Class CommentModificationController


  • @Provider
    @Path("/workspaces/{diffWorkspace}/layers/{layername}/features/{gfid}/comments/changes")
    public class CommentModificationController
    extends Object
    • Constructor Detail

      • CommentModificationController

        public CommentModificationController()
    • 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:
        IOException
        SQLException
      • 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)