public class ShapeManagement extends GosManagement
authenticationStr, HEADER_AUTHENTICATION_PARAM_NAME| Constructor and Description |
|---|
ShapeManagement(String authenticationStr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyOnView(String gosEndpoint,
String statement) |
long |
countShapesOfLayer(String gosEndpoint,
String layerID) |
boolean |
deleteShape(String gosEndpoint,
String shapeID) |
boolean |
deleteShapes(String gosEndpoint,
List<String> shapeIDs) |
boolean |
deleteShapesOfLayer(String gosEndpoint,
String layerID) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findContains(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findWithin(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) |
Set<String> |
getAttributeValuesOfShapesByLayer(String gosEndpoint,
String layerID,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape.Attribute attribute) |
List<String> |
getLayers(String gosEndpoint) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
getShapeByID(String gosEndpoint,
String shapeID) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
getShapesOfLayerID(String gosEndpoint,
String layerID) |
boolean |
insertShape(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) |
boolean |
insertShapes(String gosEndpoint,
Collection<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> shapes) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
searchShapes(String gosEndpoint,
List<String> terms) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
searchShapesWithinByAttributes(String gosEndpoint,
Map<String,gr.cite.geoanalytics.dataaccess.entities.shape.Shape.Attribute> attrs,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) |
boolean |
updateShape(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) |
getJerseyClient, getMapperpublic ShapeManagement(String authenticationStr)
public List<String> getLayers(String gosEndpoint) throws IOException
IOExceptionpublic gr.cite.geoanalytics.dataaccess.entities.shape.Shape getShapeByID(String gosEndpoint, String shapeID) throws Exception
Exceptionpublic boolean deleteShape(String gosEndpoint, String shapeID) throws Exception
Exceptionpublic boolean deleteShapes(String gosEndpoint, List<String> shapeIDs) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> searchShapes(String gosEndpoint, List<String> terms) throws IOException
IOExceptionpublic List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> searchShapesWithinByAttributes(String gosEndpoint, Map<String,gr.cite.geoanalytics.dataaccess.entities.shape.Shape.Attribute> attrs, gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) throws IOException
IOExceptionpublic List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findContains(String gosEndpoint, gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) throws Exception
Exceptionpublic List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findWithin(String gosEndpoint, gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) throws IOException
IOExceptionpublic boolean insertShapes(String gosEndpoint, Collection<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> shapes) throws Exception
Exceptionpublic boolean insertShape(String gosEndpoint, gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) throws Exception
Exceptionpublic boolean updateShape(String gosEndpoint, gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) throws Exception
Exceptionpublic List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> getShapesOfLayerID(String gosEndpoint, String layerID) throws Exception
Exceptionpublic Set<String> getAttributeValuesOfShapesByLayer(String gosEndpoint, String layerID, gr.cite.geoanalytics.dataaccess.entities.shape.Shape.Attribute attribute) throws Exception
ExceptionCopyright © 2019. All Rights Reserved.