Class ImageModificationController


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

      • ImageModificationController

        public ImageModificationController()
    • Method Detail

      • postLayerImage

        @POST
        @Path("")
        @Consumes({"image/png","image/jpg","image/jpeg","image/gif"})
        public javax.ws.rs.core.Response postLayerImage​(@Context
                                                        javax.ws.rs.core.SecurityContext sec,
                                                        @Context
                                                        javax.servlet.ServletContext ctx,
                                                        @PathParam("diffWorkspace")
                                                        String diffWorkspace,
                                                        @PathParam("layername")
                                                        String dataLayerName,
                                                        @PathParam("gfid")
                                                        int gfid,
                                                        @QueryParam("filename")
                                                        String filename,
                                                        InputStream uploadedInputStream)
                                                 throws IOException,
                                                        SQLException
        Throws:
        IOException
        SQLException
      • deleteLayerImage

        @DELETE
        @Path("")
        @Produces("application/json")
        public static javax.ws.rs.core.Response deleteLayerImage​(@Context
                                                                 javax.ws.rs.core.SecurityContext sec,
                                                                 @Context
                                                                 javax.servlet.ServletContext ctx,
                                                                 @PathParam("diffWorkspace")
                                                                 String diffWorkspace,
                                                                 @PathParam("layername")
                                                                 String dataLayerName,
                                                                 @PathParam("gfid")
                                                                 String gfid)
      • acceptImage

        @PUT
        @Path("/accept")
        @Produces("application/json")
        public static javax.ws.rs.core.Response acceptImage​(@Context
                                                            javax.ws.rs.core.SecurityContext sec,
                                                            @Context
                                                            javax.servlet.ServletContext ctx,
                                                            @PathParam("diffWorkspace")
                                                            String diffWorkspace,
                                                            @PathParam("layername")
                                                            String dataLayerName,
                                                            @PathParam("gfid")
                                                            String gfid)
      • declineImage

        @PUT
        @Path("/decline")
        @Produces("application/json")
        public static javax.ws.rs.core.Response declineImage​(@Context
                                                             javax.ws.rs.core.SecurityContext sec,
                                                             @Context
                                                             javax.servlet.ServletContext ctx,
                                                             @PathParam("diffWorkspace")
                                                             String diffWorkspace,
                                                             @PathParam("layername")
                                                             String dataLayerName,
                                                             @PathParam("gfid")
                                                             String gfid)