Class CommentController


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

      • CommentController

        public CommentController()
    • 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