@Service @Primary public class GeospatialBackendClustered extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
GeospatialBackendClustered.GeocodeInsertionPoint |
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationManager |
configurationManager |
protected GeocodeManager |
geocodeManager |
| Constructor and Description |
|---|
GeospatialBackendClustered(gr.cite.geoanalytics.dataaccess.entities.security.principal.dao.PrincipalDao principalDao,
GeocodeManager geocodeManager,
DocumentManager documentManager,
ConfigurationManager configurationManager) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attrName,
String attrValue,
gr.cite.geoanalytics.dataaccess.entities.geocode.GeocodeSystem taxonomy) |
List<gr.cite.gaap.datatransferobjects.GeoLocation> |
attributeLocate(gr.cite.gaap.datatransferobjects.GeoSearchSelection.SearchType searchType,
Map<String,String> attributes,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> |
computeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) |
Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> |
consolidateAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) |
void |
createCoverageOfLayer(gr.cite.clustermanager.model.layers.GosDefinition gosDefinition,
gr.cite.geoanalytics.dataaccess.entities.coverage.Coverage coverage) |
List<String> |
createFromGeometry(gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal,
String shapeName,
String geometry) |
List<String> |
createFromGeometry(gr.cite.geoanalytics.dataaccess.entities.project.Project project,
String geometry) |
List<String> |
createFromGeometryPolygon(gr.cite.geoanalytics.dataaccess.entities.project.Project project,
gr.cite.gaap.datatransferobjects.NewProjectData npd,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
boolean |
createShapesOfLayer(gr.cite.clustermanager.model.layers.GosDefinition gosDefinition,
Collection<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> shapes) |
List<String> |
delete(List<String> shapeIDs) |
List<String> |
deleteShapesOfLayer(UUID layerID) |
boolean |
existShapesOfLayer(UUID layerID) |
UUID |
findLayerIDOfShape(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s)
Deprecated.
|
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
findShapeById(String gosEndpoint,
UUID id) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
findShapeById(UUID id) |
ShapeInfo |
findShapeByIdInfo(String gosEndpoint,
UUID shapeID) |
ShapeInfo |
findShapeByIdInfo(UUID shapeID)
Retrieves the layerID of this shape
|
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesEnclosingGeometry(com.vividsolutions.jts.geom.Geometry geometry)
Deprecated.
|
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesEnclosingGeometry(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) |
List<ShapeInfo> |
findShapeWithinBounds(String bounds) |
List<String> |
generateShapeBoundary(UUID layerID,
String layerName,
gr.cite.geoanalytics.dataaccess.entities.geocode.Geocode boundaryTerm,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
generateShapeFromGeometry(gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal,
String shapeName,
String geometry) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
generateShapeFromGeometryPolygon(gr.cite.geoanalytics.dataaccess.entities.project.Project project,
gr.cite.gaap.datatransferobjects.NewProjectData npd,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
List<gr.cite.geoanalytics.dataaccess.entities.geocode.Geocode> |
geoLocate(double x,
double y) |
Set<String> |
getAttributeValuesOfShapesByLayer(UUID layerID,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape.Attribute attr) |
String |
getBoundingBoxByProjectName(String projectName) |
String |
getBoundingBoxByProjectNameAndTenant(String projectName,
String tenantName) |
List<String> |
getBreadcrumbs(gr.cite.gaap.datatransferobjects.Coords coords)
Deprecated.
|
gr.cite.clustermanager.actuators.layers.DataMonitor |
getDataMonitor() |
GeographyHierarchy |
getDefaultGeographyHierarchy() |
GeographyHierarchy |
getGeographyHierarchy(gr.cite.geoanalytics.dataaccess.entities.geocode.GeocodeSystem geogTaxonomy) |
String |
getGeometry(UUID id) |
ShapeInfo |
getShape(UUID id) |
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.Bounds |
getShapeBounds(UUID id) |
List<ShapeInfo> |
getShapeInfoForLayer(UUID layerID) |
gr.cite.gos.client.ShapeManagement |
getShapeManagement() |
List<gr.cite.gaap.datatransferobjects.ShapeMessenger> |
getShapeMessengerForLayer(UUID layerID) |
gr.cite.gaap.datatransferobjects.WfsShapeInfo |
getShapesFromShapefile(String pathName,
String termId,
int srid,
String charset,
boolean forceLonLat,
Map<String,Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo>> attrInfo,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal,
boolean forceOverwriteMappings) |
List<ShapeInfo> |
getShapesInfoForLayer(String layerID)
Deprecated.
|
List<ShapeInfo> |
getShapesInfoForLayer(UUID layerID)
Deprecated.
|
Map<String,gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
getShapesOfLayer(gr.cite.geoanalytics.dataaccess.entities.layer.Layer layer)
Deprecated.
|
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
getShapesOfLayer(UUID layerID) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
getShapesOfLayerID(UUID layerID) |
List<String> |
removeShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attrName) |
gr.cite.gaap.datatransferobjects.AttributeInfo |
retrieveShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attribute) |
gr.cite.gaap.datatransferobjects.AttributeInfo |
retrieveShapeAttributeByTaxonomy(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String taxonomy) |
Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> |
retrieveShapeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) |
String |
retrieveShapeAttributeValue(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attribute) |
void |
setDataCreatorGeoanalytics(gr.cite.clustermanager.actuators.layers.DataCreatorGeoanalytics dataCreatorGeoanalytics) |
void |
setDataMonitor(gr.cite.clustermanager.actuators.layers.DataMonitor dataMonitor) |
void |
setGeocodeDao(gr.cite.geoanalytics.dataaccess.entities.geocode.dao.GeocodeDao geocodeDao) |
void |
setLayerDao(gr.cite.geoanalytics.dataaccess.entities.layer.dao.LayerDao layerDao) |
void |
setProjectDao(gr.cite.geoanalytics.dataaccess.entities.project.dao.ProjectDao projectDao) |
void |
setRasterManagement(gr.cite.gos.client.RasterManagement rasterManagement) |
List<String> |
setShapeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> attrs) |
void |
setShapeDocumentDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeDocumentDao shapeDocumentDao) |
void |
setShapeManagement(gr.cite.gos.client.ShapeManagement shapeManagement) |
void |
setTrafficShaper(gr.cite.clustermanager.trafficshaping.TrafficShaper trafficShaper) |
List<gr.cite.gaap.datatransferobjects.GeoLocation> |
termLocate(gr.cite.gaap.datatransferobjects.GeoSearchSelection.SearchType searchType,
String term,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
List<String> |
update(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) |
List<String> |
updateGeometry(UUID id,
String geometry) |
List<String> |
updateShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attrName,
String attrValue) |
protected GeocodeManager geocodeManager
protected ConfigurationManager configurationManager
@Inject
public GeospatialBackendClustered(gr.cite.geoanalytics.dataaccess.entities.security.principal.dao.PrincipalDao principalDao,
GeocodeManager geocodeManager,
DocumentManager documentManager,
ConfigurationManager configurationManager)
@Inject public void setDataCreatorGeoanalytics(gr.cite.clustermanager.actuators.layers.DataCreatorGeoanalytics dataCreatorGeoanalytics)
@Inject public void setDataMonitor(gr.cite.clustermanager.actuators.layers.DataMonitor dataMonitor)
public gr.cite.clustermanager.actuators.layers.DataMonitor getDataMonitor()
@Inject public void setTrafficShaper(gr.cite.clustermanager.trafficshaping.TrafficShaper trafficShaper)
@Inject public void setShapeDocumentDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeDocumentDao shapeDocumentDao)
@Inject public void setGeocodeDao(gr.cite.geoanalytics.dataaccess.entities.geocode.dao.GeocodeDao geocodeDao)
@Inject public void setLayerDao(gr.cite.geoanalytics.dataaccess.entities.layer.dao.LayerDao layerDao)
@Inject public void setProjectDao(gr.cite.geoanalytics.dataaccess.entities.project.dao.ProjectDao projectDao)
@Inject public void setShapeManagement(gr.cite.gos.client.ShapeManagement shapeManagement)
@Inject public void setRasterManagement(gr.cite.gos.client.RasterManagement rasterManagement)
public gr.cite.gos.client.ShapeManagement getShapeManagement()
@Transactional(readOnly=true) public gr.cite.geoanalytics.dataaccess.entities.shape.Shape findShapeById(String gosEndpoint, UUID id) throws IOException
IOException@Transactional(readOnly=true) public ShapeInfo findShapeByIdInfo(String gosEndpoint, UUID shapeID) throws Exception
Exception@Transactional(readOnly=true) public gr.cite.geoanalytics.dataaccess.entities.shape.Shape findShapeById(UUID id) throws IOException
IOException@Transactional(readOnly=true) public ShapeInfo findShapeByIdInfo(UUID shapeID) throws Exception
Exceptiongr.cite.gaap.geospatialbackend.GeospatialBackend#findShapeByIdInfo(java.util.UUID)@Transactional
public void createCoverageOfLayer(gr.cite.clustermanager.model.layers.GosDefinition gosDefinition,
gr.cite.geoanalytics.dataaccess.entities.coverage.Coverage coverage)
throws Exception
Exception@Transactional
public boolean createShapesOfLayer(gr.cite.clustermanager.model.layers.GosDefinition gosDefinition,
Collection<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> shapes)
throws Exception
Exceptionpublic String retrieveShapeAttributeValue(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, String attribute) throws Exception
Exceptionpublic gr.cite.gaap.datatransferobjects.AttributeInfo retrieveShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attribute)
throws Exception
Exception@Transactional(readOnly=true)
public gr.cite.gaap.datatransferobjects.AttributeInfo retrieveShapeAttributeByTaxonomy(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String taxonomy)
throws Exception
Exception@Transactional public List<String> addShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, String attrName, String attrValue, gr.cite.geoanalytics.dataaccess.entities.geocode.GeocodeSystem taxonomy) throws Exception
Exception@Transactional public List<String> setShapeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> attrs) throws Exception
Exception@Transactional public List<String> updateShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, String attrName, String attrValue) throws Exception
Exception@Transactional public List<String> removeShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, String attrName) throws Exception
Exception@Transactional public Set<String> getAttributeValuesOfShapesByLayer(UUID layerID, gr.cite.geoanalytics.dataaccess.entities.shape.Shape.Attribute attr) throws Exception
Exception@Transactional(readOnly=true) public Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> consolidateAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
Exception@Transactional(readOnly=true) public Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> computeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
Exception@Transactional(readOnly=true) public Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> retrieveShapeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
Exception@Transactional public List<String> generateShapeBoundary(UUID layerID, String layerName, gr.cite.geoanalytics.dataaccess.entities.geocode.Geocode boundaryTerm, gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) throws Exception
layerID - layerName - boundaryTerm - principal - Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> getShapesOfLayer(UUID layerID) throws Exception
Exception@Transactional(readOnly=true) @Deprecated public List<ShapeInfo> getShapesInfoForLayer(String layerID) throws Exception
Exception@Transactional(readOnly=true) @Deprecated public List<ShapeInfo> getShapesInfoForLayer(UUID layerID) throws Exception
Exception@Transactional public List<String> deleteShapesOfLayer(UUID layerID) throws Exception
layerID - Exception@Transactional(readOnly=true) @Deprecated public UUID findLayerIDOfShape(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
Exception@Transactional(readOnly=true) public List<ShapeInfo> findShapeWithinBounds(String bounds) throws Exception
Exception@Transactional(readOnly=true) public boolean existShapesOfLayer(UUID layerID) throws Exception
Exception@Transactional(readOnly=true) public ShapeInfo getShape(UUID id) throws Exception
Exception@Transactional(readOnly=true) public gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.Bounds getShapeBounds(UUID id) throws Exception
Exceptionpublic gr.cite.geoanalytics.dataaccess.entities.shape.Shape generateShapeFromGeometry(gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal,
String shapeName,
String geometry)
throws Exception
Exception@Transactional public List<String> createFromGeometry(gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal, String shapeName, String geometry) throws Exception
Exception@Transactional public List<String> createFromGeometry(gr.cite.geoanalytics.dataaccess.entities.project.Project project, String geometry) throws Exception
Exceptionpublic gr.cite.geoanalytics.dataaccess.entities.shape.Shape generateShapeFromGeometryPolygon(gr.cite.geoanalytics.dataaccess.entities.project.Project project,
gr.cite.gaap.datatransferobjects.NewProjectData npd,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal)
throws Exception
Exception@Transactional public List<String> createFromGeometryPolygon(gr.cite.geoanalytics.dataaccess.entities.project.Project project, gr.cite.gaap.datatransferobjects.NewProjectData npd, gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) throws Exception
Exception@Transactional public List<String> updateGeometry(UUID id, String geometry) throws Exception
Exception@Transactional(readOnly=true) public String getGeometry(UUID id) throws Exception
Exception@Transactional(readOnly=true) public String getBoundingBoxByProjectNameAndTenant(String projectName, String tenantName) throws Exception
Exceptionpublic String getBoundingBoxByProjectName(String projectName) throws Exception
Exception@Transactional public List<String> update(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
Exception@Transactional(rollbackFor=java.lang.Exception.class) public List<String> delete(List<String> shapeIDs) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesEnclosingGeometry(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
Exception@Transactional(readOnly=true) @Deprecated public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesEnclosingGeometry(com.vividsolutions.jts.geom.Geometry geometry) throws Exception
Exception@Transactional(readOnly=true) public GeographyHierarchy getDefaultGeographyHierarchy() throws Exception
Exception@Transactional(readOnly=true) public GeographyHierarchy getGeographyHierarchy(gr.cite.geoanalytics.dataaccess.entities.geocode.GeocodeSystem geogTaxonomy) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.geocode.Geocode> geoLocate(double x, double y) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.gaap.datatransferobjects.GeoLocation> termLocate(gr.cite.gaap.datatransferobjects.GeoSearchSelection.SearchType searchType, String term, gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) throws Exception
Exception@Transactional @Deprecated public List<String> getBreadcrumbs(gr.cite.gaap.datatransferobjects.Coords coords) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.gaap.datatransferobjects.GeoLocation> attributeLocate(gr.cite.gaap.datatransferobjects.GeoSearchSelection.SearchType searchType, Map<String,String> attributes, gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) throws Exception
Exceptionpublic List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> getShapesOfLayerID(UUID layerID) throws Exception
Exceptionpublic List<gr.cite.gaap.datatransferobjects.ShapeMessenger> getShapeMessengerForLayer(UUID layerID) throws Exception
Exceptionpublic List<ShapeInfo> getShapeInfoForLayer(UUID layerID) throws Exception
Exception@Deprecated public Map<String,gr.cite.geoanalytics.dataaccess.entities.shape.Shape> getShapesOfLayer(gr.cite.geoanalytics.dataaccess.entities.layer.Layer layer) throws Exception
Exception@Transactional public gr.cite.gaap.datatransferobjects.WfsShapeInfo getShapesFromShapefile(String pathName, String termId, int srid, String charset, boolean forceLonLat, Map<String,Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo>> attrInfo, gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal, boolean forceOverwriteMappings) throws Exception
ExceptionCopyright © 2018. All Rights Reserved.