eu.etaxonomy.cdm.ext.geo
Interface IEditGeoService

All Known Implementing Classes:
EditGeoService

public interface IEditGeoService

Author:
a.kohlbecker, n.hoffmann

Method Summary
 String getDistributionServiceRequestParameterString(List<TaxonDescription> taxonDescriptions, Map<PresenceAbsenceTermBase<?>,Color> presenceAbsenceTermColors, int width, int height, String bbox, String backLayer, List<Language> langs)
          Retrieve a parameter string to pass to an EditGeoService endpoint The endpoint will deliver a a map generated by the Edit Geo Service for the given TaxonDescription
 String getDistributionServiceRequestParameterString(Set<Distribution> distributions, Map<PresenceAbsenceTermBase<?>,Color> presenceAbsenceTermColors, int width, int height, String bbox, String backLayer, List<Language> langs)
           
 String getDistributionServiceRequestParameterString(TaxonDescription description, Map<PresenceAbsenceTermBase<?>,Color> presenceAbsenceTermColors, int width, int height, String bbox, String backLayer, List<Language> langs)
          Deprecated. use getDistributionServiceRequestParameterString(List, Map, int, int, String, String, List) instead
 String getOccurrenceServiceRequestParameterString(List<SpecimenOrObservationBase> specimensOrObersvations, Map<Class<? extends SpecimenOrObservationBase>,Color> specimenOrObservationTypeColors, Boolean doReturnImage, Integer width, Integer height, String bbox, String backLayer)
           
 void setMapping(NamedArea area, GeoServiceArea geoServiceArea)
          Adds an area mapping (CDM area -> geo service area).
 

Method Detail

getDistributionServiceRequestParameterString

String getDistributionServiceRequestParameterString(List<TaxonDescription> taxonDescriptions,
                                                    Map<PresenceAbsenceTermBase<?>,Color> presenceAbsenceTermColors,
                                                    int width,
                                                    int height,
                                                    String bbox,
                                                    String backLayer,
                                                    List<Language> langs)
Retrieve a parameter string to pass to an EditGeoService endpoint The endpoint will deliver a a map generated by the Edit Geo Service for the given TaxonDescription

Parameters:
taxonDescriptions - A List of TaxonDescription holding the distribution data
presenceAbsenceTermColors - A map that classifies which PresenceAbsenceTermBase should be assigned which Color
width - The width of the map image
height - The height of the map image
bbox -
backLayer -
Returns:

getDistributionServiceRequestParameterString

String getDistributionServiceRequestParameterString(Set<Distribution> distributions,
                                                    Map<PresenceAbsenceTermBase<?>,Color> presenceAbsenceTermColors,
                                                    int width,
                                                    int height,
                                                    String bbox,
                                                    String backLayer,
                                                    List<Language> langs)
Parameters:
distributions -
presenceAbsenceTermColors -
width -
height -
bbox -
backLayer -
langs -
Returns:

getDistributionServiceRequestParameterString

@Deprecated
String getDistributionServiceRequestParameterString(TaxonDescription description,
                                                               Map<PresenceAbsenceTermBase<?>,Color> presenceAbsenceTermColors,
                                                               int width,
                                                               int height,
                                                               String bbox,
                                                               String backLayer,
                                                               List<Language> langs)
Deprecated. use getDistributionServiceRequestParameterString(List, Map, int, int, String, String, List) instead

Retrieve a parameter string to pass to an EditGeoService endpoint The endpoint will deliver a a map generated by the Edit Geo Service for the given TaxonDescription

Parameters:
description - The TaxonDescription holding the distribution data
presenceAbsenceTermColors - A map that classifies which PresenceAbsenceTermBase should be assigned which Color
width - The width of the map image
height - The height of the map image
bbox -
backLayer -
Returns:

getOccurrenceServiceRequestParameterString

String getOccurrenceServiceRequestParameterString(List<SpecimenOrObservationBase> specimensOrObersvations,
                                                  Map<Class<? extends SpecimenOrObservationBase>,Color> specimenOrObservationTypeColors,
                                                  Boolean doReturnImage,
                                                  Integer width,
                                                  Integer height,
                                                  String bbox,
                                                  String backLayer)

setMapping

void setMapping(NamedArea area,
                GeoServiceArea geoServiceArea)
Adds an area mapping (CDM area -> geo service area). It is recommended to set the mapping in a persistent way, so it is available after restarting the application.

Parameters:
area -
geoServiceArea -
Throws:
XMLStreamException


Copyright © 2007-2013 EDIT. All Rights Reserved.