@Provider
@Path(value="/workspaces/{workspace}/layers/{layername}/features/changes")
public class FeatureModificationController
extends Object
| Constructor and Description |
|---|
FeatureModificationController() |
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Response |
addFeatures(String diffWorkspace,
String dataLayerName,
InputStream body,
javax.ws.rs.core.SecurityContext sec,
javax.servlet.ServletContext ctx)
This will be executed on a diff workspace since the user does not have write permission on a data workspace.
|
static javax.ws.rs.core.Response |
deleteFeatures(String diffWorkspace,
String dataLayerName,
InputStream body,
javax.ws.rs.core.SecurityContext sec,
javax.servlet.ServletContext ctx) |
static javax.ws.rs.core.Response |
getFeatureModifications(String diffWorkspace,
String dataLayerName,
String requestAsAdmin,
javax.ws.rs.core.SecurityContext sec)
Returns all feature on the given layer that has been submitted as changes
by the user.
|
static javax.ws.rs.core.Response |
modifyFeatures(String diffWorkspace,
String dataLayerName,
InputStream body,
javax.ws.rs.core.SecurityContext sec,
javax.servlet.ServletContext ctx) |
@GET
@Produces(value="application/json")
@Path(value="/")
public static javax.ws.rs.core.Response getFeatureModifications(@PathParam(value="workspace")
String diffWorkspace,
@PathParam(value="layername")
String dataLayerName,
@QueryParam(value="admin")
String requestAsAdmin,
@Context
javax.ws.rs.core.SecurityContext sec)
dataWorkspace - dataLayerName - body - sec - @POST
@Path(value="/")
public static javax.ws.rs.core.Response addFeatures(@PathParam(value="workspace")
String diffWorkspace,
@PathParam(value="layername")
String dataLayerName,
InputStream body,
@Context
javax.ws.rs.core.SecurityContext sec,
@Context
javax.servlet.ServletContext ctx)
dataWorkspace - dataLayerName - body - sec - ctx - @PUT
@Path(value="/")
public static javax.ws.rs.core.Response modifyFeatures(@PathParam(value="workspace")
String diffWorkspace,
@PathParam(value="layername")
String dataLayerName,
InputStream body,
@Context
javax.ws.rs.core.SecurityContext sec,
@Context
javax.servlet.ServletContext ctx)
@DELETE
@Path(value="/")
public static javax.ws.rs.core.Response deleteFeatures(@PathParam(value="workspace")
String diffWorkspace,
@PathParam(value="layername")
String dataLayerName,
InputStream body,
@Context
javax.ws.rs.core.SecurityContext sec,
@Context
javax.servlet.ServletContext ctx)
Copyright © 2021. All rights reserved.