private FeatureEntry updateFeatureContent(GeoJsonContent geoJsonContent) { String title = convertValue(geoJsonContent.getTitle()); String description = convertValue(geoJsonContent.getDescription()); return featureEntryService.updateFeatureContent( geoJsonContent.getFeatureGroup(), title, description); }
@GET @Path("{featureGroup}") public Response getFeatureContent(@PathParam("featureGroup") long featureGroup) { FeatureEntry featureEntry = featureEntryService.findByFeatureGroup(featureGroup); return Response.ok(buildFeatureContent(featureEntry)).build(); }