@Service @Primary public class ShapeManager extends Object implements GeospatialBackend
| Modifier and Type | Class and Description |
|---|---|
class |
ShapeManager.GeographyHierarchy |
class |
ShapeManager.TaxonomyTermInsertionPoint |
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationManager |
configurationManager |
protected TaxonomyManager |
taxonomyManager |
| Constructor and Description |
|---|
ShapeManager(gr.cite.geoanalytics.dataaccess.entities.security.principal.dao.PrincipalDao principalDao,
TaxonomyManager taxonomyManager,
DocumentManager documentManager,
gr.cite.commons.util.datarepository.DataRepository repository,
ConfigurationManager configurationManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attrName,
String attrValue,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.Taxonomy 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) |
long |
countShapesOfImport(UUID shapeImport) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
createFromGeometry(gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal,
String shapeName,
String geometry) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
createFromGeometry(gr.cite.geoanalytics.dataaccess.entities.project.Project project,
String geometry) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
createFromGeometryPolygon(gr.cite.geoanalytics.dataaccess.entities.project.Project project,
gr.cite.gaap.datatransferobjects.NewProjectData npd,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
void |
createShapeAssociationsWithLayerTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm taxonomyTerm,
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> shapes) |
void |
delete(List<String> shapes) |
void |
deleteShapesOfTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt) |
boolean |
existShapesOfTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
findShapeById(UUID id) |
ShapeInfo |
findShapeByIdInfo(UUID id) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesEnclosingGeometry(com.vividsolutions.jts.geom.Geometry geometry) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesEnclosingGeometry(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesOfImport(gr.cite.geoanalytics.dataaccess.entities.shape.ShapeImport shapeImport) |
List<ShapeInfo> |
findShapesOfImport(UUID shapeImport) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesOfLayerEnclosingGeometry(com.vividsolutions.jts.geom.Geometry geometry,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesOfLayerEnclosingGeometry(com.vividsolutions.jts.geom.Geometry geometry,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm term) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesOfLayerEnclosingGeometry(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
findShapesOfLayerEnclosingGeometry(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm term) |
List<ShapeInfo> |
findShapeWithinBounds(String bounds) |
List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm> |
findTaxonomyTermShapes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) |
List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm> |
findTaxonomyTermShapes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
boolean loadDetails) |
List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTermShape> |
findTermMappingsOfLayerShapes(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt) |
void |
generateShapeBoundary(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm boundaryTerm,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
String |
generateShapesOfImport(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt,
Map<String,Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo>> attrInfo,
Map<String,Set<String>> valueMappingValues,
UUID importId,
String layerTermId,
ShapeManager.GeographyHierarchy geographyHierarchy,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm> |
geoLocate(double x,
double y) |
Set<String> |
getAttributeValuesOfShapesByTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape.Attribute attr) |
String |
getBoundingBoxByProjectName(String projectName) |
Map<UUID,List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm>> |
getBreadcrumbs(gr.cite.gaap.datatransferobjects.Coords coords) |
ShapeManager.GeographyHierarchy |
getDefaultGeographyHierarchy() |
ShapeManager.GeographyHierarchy |
getGeographyHierarchy(gr.cite.geoanalytics.dataaccess.entities.taxonomy.Taxonomy geogTaxonomy) |
String |
getGeometry(UUID id) |
ShapeInfo |
getShape(UUID id) |
Set<String> |
getShapeAttributeValues(gr.cite.geoanalytics.dataaccess.entities.taxonomy.Taxonomy t) |
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.Bounds |
getShapeBounds(UUID id) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
getShapeFromLayerTermAndShapeTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm termForShape) |
gr.cite.geoanalytics.dataaccess.entities.shape.Shape |
getShapeFromLayerTermAndShapeTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm termForShape,
boolean loadDetails) |
List<ShapeInfo> |
getShapeInfoForTerm(String termName,
String termTaxonomy) |
Map<String,gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
getShapesFromLayerTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
getShapesOfImport(UUID importId) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
getShapesOfLayer(String termName,
String termTaxonomy) |
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> |
getShapesOfLayer(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt) |
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm |
getTermFromLayerTermAndShape(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape) |
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm |
getTermFromLayerTermAndShape(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape,
boolean loadDetails) |
void |
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 |
setProjectDao(gr.cite.geoanalytics.dataaccess.entities.project.dao.ProjectDao projectDao) |
void |
setShapeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> attrs) |
void |
setShapeDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeDao shapeDao) |
void |
setShapeDocumentDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeDocumentDao shapeDocumentDao) |
void |
setShapeImportManager(ShapeImportManager shapeImportManager) |
void |
setShapeTermDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeTermDao shapeTermDao) |
void |
setTaxonomyDao(gr.cite.geoanalytics.dataaccess.entities.taxonomy.dao.TaxonomyDao taxonomyDao) |
void |
setTaxonomyTermDao(gr.cite.geoanalytics.dataaccess.entities.taxonomy.dao.TaxonomyTermDao taxonomyTermDao) |
void |
setTaxonomyTermLinkDao(gr.cite.geoanalytics.dataaccess.entities.taxonomy.dao.TaxonomyTermLinkDao taxonomyTermLinkDao) |
void |
setTaxonomyTermShapeDao(gr.cite.geoanalytics.dataaccess.entities.taxonomy.dao.TaxonomyTermShapeDao taxonomyTermShapeDao) |
List<gr.cite.gaap.datatransferobjects.GeoLocation> |
termLocate(gr.cite.gaap.datatransferobjects.GeoSearchSelection.SearchType searchType,
String term,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) |
void |
update(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) |
void |
updateGeometry(UUID id,
String geometry) |
void |
updateShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attrName,
String attrValue) |
protected TaxonomyManager taxonomyManager
protected ConfigurationManager configurationManager
@Inject
public ShapeManager(gr.cite.geoanalytics.dataaccess.entities.security.principal.dao.PrincipalDao principalDao,
TaxonomyManager taxonomyManager,
DocumentManager documentManager,
gr.cite.commons.util.datarepository.DataRepository repository,
ConfigurationManager configurationManager)
@Inject public void setShapeImportManager(ShapeImportManager shapeImportManager)
@Inject public void setShapeDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeDao shapeDao)
@Inject public void setShapeTermDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeTermDao shapeTermDao)
@Inject public void setShapeDocumentDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeDocumentDao shapeDocumentDao)
@Inject public void setTaxonomyDao(gr.cite.geoanalytics.dataaccess.entities.taxonomy.dao.TaxonomyDao taxonomyDao)
@Inject public void setTaxonomyTermDao(gr.cite.geoanalytics.dataaccess.entities.taxonomy.dao.TaxonomyTermDao taxonomyTermDao)
@Inject public void setTaxonomyTermLinkDao(gr.cite.geoanalytics.dataaccess.entities.taxonomy.dao.TaxonomyTermLinkDao taxonomyTermLinkDao)
@Inject public void setTaxonomyTermShapeDao(gr.cite.geoanalytics.dataaccess.entities.taxonomy.dao.TaxonomyTermShapeDao taxonomyTermShapeDao)
@Inject public void setProjectDao(gr.cite.geoanalytics.dataaccess.entities.project.dao.ProjectDao projectDao)
@Transactional(readOnly=true) public gr.cite.geoanalytics.dataaccess.entities.shape.Shape findShapeById(UUID id) throws IOException
findShapeById in interface GeospatialBackendIOException@Transactional(readOnly=true) public ShapeInfo findShapeByIdInfo(UUID id) throws Exception
findShapeByIdInfo in interface GeospatialBackendExceptionpublic String retrieveShapeAttributeValue(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, String attribute) throws Exception
retrieveShapeAttributeValue in interface GeospatialBackendExceptionpublic gr.cite.gaap.datatransferobjects.AttributeInfo retrieveShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attribute)
throws Exception
retrieveShapeAttribute in interface GeospatialBackendException@Transactional(readOnly=true)
public gr.cite.gaap.datatransferobjects.AttributeInfo retrieveShapeAttributeByTaxonomy(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String taxonomy)
throws Exception
retrieveShapeAttributeByTaxonomy in interface GeospatialBackendException@Transactional
public void addShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attrName,
String attrValue,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.Taxonomy taxonomy)
throws Exception
addShapeAttribute in interface GeospatialBackendException@Transactional
public void setShapeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> attrs)
throws Exception
setShapeAttributes in interface GeospatialBackendException@Transactional
public void updateShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attrName,
String attrValue)
throws Exception
updateShapeAttribute in interface GeospatialBackendException@Transactional
public void removeShapeAttribute(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s,
String attrName)
throws Exception
removeShapeAttribute in interface GeospatialBackendException@Transactional public Set<String> getAttributeValuesOfShapesByTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm, gr.cite.geoanalytics.dataaccess.entities.shape.Shape.Attribute attr) throws Exception
getAttributeValuesOfShapesByTerm in interface GeospatialBackendException@Transactional(readOnly=true) public Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> consolidateAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
consolidateAttributes in interface GeospatialBackendException@Transactional(readOnly=true) public Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> computeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
computeAttributes in interface GeospatialBackendException@Transactional(readOnly=true) public Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo> retrieveShapeAttributes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
retrieveShapeAttributes in interface GeospatialBackendException@Transactional(readOnly=true) public Set<String> getShapeAttributeValues(gr.cite.geoanalytics.dataaccess.entities.taxonomy.Taxonomy t) throws Exception
getShapeAttributeValues in interface GeospatialBackendException@Transactional public String generateShapesOfImport(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt, Map<String,Map<String,gr.cite.gaap.datatransferobjects.AttributeInfo>> attrInfo, Map<String,Set<String>> valueMappingValues, UUID importId, String layerTermId, ShapeManager.GeographyHierarchy geographyHierarchy, gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal) throws Exception
generateShapesOfImport in interface GeospatialBackendException@Transactional
public void generateShapeBoundary(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm boundaryTerm,
gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal)
throws Exception
generateShapeBoundary in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> getShapesOfImport(UUID importId) throws Exception
getShapesOfImport in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> getShapesOfLayer(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt) throws Exception
getShapesOfLayer in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> getShapesOfLayer(String termName, String termTaxonomy) throws Exception
getShapesOfLayer in interface GeospatialBackendException@Transactional(readOnly=true)
public gr.cite.geoanalytics.dataaccess.entities.shape.Shape getShapeFromLayerTermAndShapeTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm termForShape)
getShapeFromLayerTermAndShapeTerm in interface GeospatialBackend@Transactional(readOnly=true)
public gr.cite.geoanalytics.dataaccess.entities.shape.Shape getShapeFromLayerTermAndShapeTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm termForShape,
boolean loadDetails)
getShapeFromLayerTermAndShapeTerm in interface GeospatialBackend@Transactional(readOnly=true) public Map<String,gr.cite.geoanalytics.dataaccess.entities.shape.Shape> getShapesFromLayerTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm)
getShapesFromLayerTerm in interface GeospatialBackend@Transactional(readOnly=true)
public gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm getTermFromLayerTermAndShape(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape)
getTermFromLayerTermAndShape in interface GeospatialBackend@Transactional(readOnly=true)
public gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm getTermFromLayerTermAndShape(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm,
gr.cite.geoanalytics.dataaccess.entities.shape.Shape shape,
boolean loadDetails)
getTermFromLayerTermAndShape in interface GeospatialBackend@Transactional(readOnly=true) public List<ShapeInfo> getShapeInfoForTerm(String termName, String termTaxonomy) throws Exception
getShapeInfoForTerm in interface GeospatialBackendException@Transactional
public void deleteShapesOfTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt)
throws Exception
deleteShapesOfTerm in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTermShape> findTermMappingsOfLayerShapes(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt) throws Exception
findTermMappingsOfLayerShapes in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm> findTaxonomyTermShapes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
findTaxonomyTermShapes in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm> findTaxonomyTermShapes(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, boolean loadDetails) throws Exception
findTaxonomyTermShapes in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesOfImport(gr.cite.geoanalytics.dataaccess.entities.shape.ShapeImport shapeImport) throws Exception
findShapesOfImport in interface GeospatialBackendException@Transactional(readOnly=true) public long countShapesOfImport(UUID shapeImport) throws Exception
countShapesOfImport in interface GeospatialBackendException@Transactional(readOnly=true) public List<ShapeInfo> findShapesOfImport(UUID shapeImport) throws Exception
findShapesOfImport in interface GeospatialBackendException@Transactional(readOnly=true) public List<ShapeInfo> findShapeWithinBounds(String bounds) throws Exception
findShapeWithinBounds in interface GeospatialBackendException@Transactional(readOnly=true)
public boolean existShapesOfTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm tt)
throws Exception
existShapesOfTerm in interface GeospatialBackendException@Transactional(readOnly=true) public ShapeInfo getShape(UUID id) throws Exception
getShape in interface GeospatialBackendException@Transactional(readOnly=true) public gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.Bounds getShapeBounds(UUID id) throws Exception
getShapeBounds in interface GeospatialBackendException@Transactional
public gr.cite.geoanalytics.dataaccess.entities.shape.Shape createFromGeometry(gr.cite.geoanalytics.dataaccess.entities.principal.Principal principal,
String shapeName,
String geometry)
throws Exception
Exception@Transactional
public gr.cite.geoanalytics.dataaccess.entities.shape.Shape createFromGeometry(gr.cite.geoanalytics.dataaccess.entities.project.Project project,
String geometry)
throws Exception
createFromGeometry in interface GeospatialBackendException@Transactional
public gr.cite.geoanalytics.dataaccess.entities.shape.Shape 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
createFromGeometryPolygon in interface GeospatialBackendException@Transactional public void updateGeometry(UUID id, String geometry) throws Exception
updateGeometry in interface GeospatialBackendException@Transactional(readOnly=true) public String getGeometry(UUID id) throws Exception
getGeometry in interface GeospatialBackendException@Transactional(readOnly=true) public String getBoundingBoxByProjectName(String projectName) throws Exception
getBoundingBoxByProjectName in interface GeospatialBackendException@Transactional
public void update(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s)
throws Exception
update in interface GeospatialBackendException@Transactional(rollbackFor=java.lang.Exception.class) public void delete(List<String> shapes) throws Exception
delete in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesEnclosingGeometry(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s) throws Exception
findShapesEnclosingGeometry in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesOfLayerEnclosingGeometry(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm) throws Exception
findShapesOfLayerEnclosingGeometry in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesOfLayerEnclosingGeometry(gr.cite.geoanalytics.dataaccess.entities.shape.Shape s, gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm, gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm term) throws Exception
findShapesOfLayerEnclosingGeometry in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesEnclosingGeometry(com.vividsolutions.jts.geom.Geometry geometry) throws Exception
findShapesEnclosingGeometry in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesOfLayerEnclosingGeometry(com.vividsolutions.jts.geom.Geometry geometry, gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm) throws Exception
findShapesOfLayerEnclosingGeometry in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> findShapesOfLayerEnclosingGeometry(com.vividsolutions.jts.geom.Geometry geometry, gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm layerTerm, gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm term) throws Exception
findShapesOfLayerEnclosingGeometry in interface GeospatialBackendException@Transactional(readOnly=true) public ShapeManager.GeographyHierarchy getDefaultGeographyHierarchy() throws Exception
getDefaultGeographyHierarchy in interface GeospatialBackendException@Transactional(readOnly=true) public ShapeManager.GeographyHierarchy getGeographyHierarchy(gr.cite.geoanalytics.dataaccess.entities.taxonomy.Taxonomy geogTaxonomy) throws Exception
getGeographyHierarchy in interface GeospatialBackendException@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm> geoLocate(double x, double y) throws Exception
geoLocate in interface GeospatialBackendException@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
termLocate in interface GeospatialBackendException@Transactional public Map<UUID,List<gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm>> getBreadcrumbs(gr.cite.gaap.datatransferobjects.Coords coords) throws Exception
getBreadcrumbs in interface GeospatialBackendException@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
attributeLocate in interface GeospatialBackendException@Transactional
public void createShapeAssociationsWithLayerTerm(gr.cite.geoanalytics.dataaccess.entities.taxonomy.TaxonomyTerm taxonomyTerm,
List<gr.cite.geoanalytics.dataaccess.entities.shape.Shape> shapes)
createShapeAssociationsWithLayerTerm in interface GeospatialBackendCopyright © 2016. All Rights Reserved.