@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 |
acceptFeatureChangeset(String dataWorkspace,
String dataLayerName,
String grpfidIn,
javax.ws.rs.core.SecurityContext sec) |
static javax.ws.rs.core.Response |
declineFeatureChangeset(String dataWorkspace,
String dataLayerName,
String grpfidIn,
javax.ws.rs.core.SecurityContext sec) |
static javax.ws.rs.core.Response |
getFeatureModifications(String dataWorkspace,
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.
|
@GET
@Produces(value="application/json")
@Path(value="/")
public static javax.ws.rs.core.Response getFeatureModifications(@PathParam(value="workspace")
String dataWorkspace,
@PathParam(value="layername")
String dataLayerName,
@QueryParam(value="admin")
String requestAsAdmin,
@Context
javax.ws.rs.core.SecurityContext sec)
dataWorkspace - dataLayerName - body - sec - @PUT
@Path(value="/{grpfid}/accept")
public static javax.ws.rs.core.Response acceptFeatureChangeset(@PathParam(value="workspace")
String dataWorkspace,
@PathParam(value="layername")
String dataLayerName,
@PathParam(value="grpfid")
String grpfidIn,
@Context
javax.ws.rs.core.SecurityContext sec)
@DELETE
@Path(value="/{grpfid}/decline")
public static javax.ws.rs.core.Response declineFeatureChangeset(@PathParam(value="workspace")
String dataWorkspace,
@PathParam(value="layername")
String dataLayerName,
@PathParam(value="grpfid")
String grpfidIn,
@Context
javax.ws.rs.core.SecurityContext sec)
Copyright © 2020. All rights reserved.