@Controller @RequestMapping(value="ext/edit/mapServiceParameters/") public class ExternalGeoController extends BaseController<TaxonBase,ITaxonService>
The syntax of the mapped service URIs contains the the {datasource-name} path element.
The available {datasource-name}s are defined in a configuration file which
is loaded by the UpdatableRoutingDataSource
. If the
UpdatableRoutingDataSource is not being used in the actual application
context any arbitrary {datasource-name} may be used.
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
baseClass
DEFAULT_BATCH_THREAD_PRIORITY, DEFAULT_INIT_STRATEGY, DEFAULT_PAGE_SIZE, INCLUDE_UNPUBLISHED, initializationStrategy, NO_UNPUBLISHED, service, userHelper
Constructor and Description |
---|
ExternalGeoController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
doGetDistributionMapUriParams(java.util.UUID uuid,
boolean subAreaPreference,
boolean statusOrderPreference,
DefinedTermBaseList<MarkerType> hideMarkedAreasList,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Assembles and returns URI parameter Strings for the EDIT Map Service.
|
org.springframework.web.servlet.ModelAndView |
doGetOccurrenceMapUriParams(java.util.UUID uuid,
UuidList relationshipUuids,
UuidList relationshipInversUuids,
java.lang.Integer maxDepth,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Assembles and returns URI parameter Strings for the EDIT Map Service.
|
org.springframework.web.servlet.ModelAndView |
doGetOccurrenceXMapUriParams(UuidList fieldUnitUuids,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Assembles and returns URI parameter Strings for the EDIT Map Service.
|
org.springframework.web.servlet.ModelAndView |
doMapShapeFileToNamedAreas(java.util.UUID vocabUuid,
UuidList namedAreaUuids,
java.lang.String localFile,
java.util.List<java.lang.String> idSearchFields,
java.lang.String wmsLayerName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
EXPERIMENTAL !!!!!
DO NOT USE !!!!!
|
void |
initBinder(org.springframework.web.bind.WebDataBinder binder) |
void |
setService(ITaxonService service) |
checkExistsAccessType, checkExistsAndAccess, complementInitStrategy, doGet, doGetMethod, getCdmBaseInstance, getCdmBaseInstance, getCdmBaseInstance, getCdmBaseInstance, getCdmBaseInstance, getCdmBaseProperty, getClassificationOrError, getSubtreeOrError, pageFromCollection
getInitializationStrategy, readPathParameter, requestPathAndQuery, setInitializationStrategy
public static final Logger logger
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
initBinder
in class BaseController<TaxonBase,ITaxonService>
@Autowired public void setService(ITaxonService service)
setService
in class AbstractController<TaxonBase,ITaxonService>
@RequestMapping(value="taxonDistributionFor/{uuid}", method=GET) public org.springframework.web.servlet.ModelAndView doGetDistributionMapUriParams(@PathVariable(value="uuid") java.util.UUID uuid, @RequestParam(value="subAreaPreference",required=false) boolean subAreaPreference, @RequestParam(value="statusOrderPreference",required=false) boolean statusOrderPreference, @RequestParam(value="hideMarkedAreas",required=false) DefinedTermBaseList<MarkerType> hideMarkedAreasList, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
Taxon
instance identified by the {taxon-uuid}
are found and are translated into
an valid URI parameter String. Higher level distribution areas are expanded in order to include all
nested sub-areas.
URI: /{datasource-name}/geo/map/distribution/{taxon-uuid}
subAreaPreference
- enables the Sub area preference rule if set to true,
see DescriptionUtility#filterDistributions(Collection, boolean, boolean
statusOrderPreference
- enables the Status order preference rule if set to true,
see DescriptionUtility#filterDistributions(Collection, boolean, boolean
hideMarkedAreas
- comma separated list of MarkerType
uuids,
distributions where the area has a Marker
with one of
the specified MarkerType
s will be skipped, see
DescriptionUtility#filterDistributions(Collection, boolean, boolean, Set)
request
- response
- java.io.IOException
@RequestMapping(value="taxonOccurrencesFor/{uuid}", method=GET) public org.springframework.web.servlet.ModelAndView doGetOccurrenceMapUriParams(@PathVariable(value="uuid") java.util.UUID uuid, @RequestParam(value="relationships",required=false) UuidList relationshipUuids, @RequestParam(value="relationshipsInvers",required=false) UuidList relationshipInversUuids, @RequestParam(value="maxDepth",required=false) java.lang.Integer maxDepth, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
Taxon
instance identified by the {taxon-uuid}
are found and are translated into
an valid URI parameter String. Higher level distribution areas are expanded in order to include all
nested sub-areas.
URI: /{datasource-name}/geo/map/distribution/{taxon-uuid}
request
- response
- java.io.IOException
- TODO write controller method documentation@RequestMapping(value="taxonOccurrencesForX", method=GET) public org.springframework.web.servlet.ModelAndView doGetOccurrenceXMapUriParams(@RequestParam(value="fieldUnitUuidList",required=false) UuidList fieldUnitUuids, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
Taxon
instance identified by the {taxon-uuid}
are found and are translated into
an valid URI parameter String. Higher level distribution areas are expanded in order to include all
nested sub-areas.
URI: /{datasource-name}/geo/map/distribution/{taxon-uuid}
request
- response
- java.io.IOException
- TODO write controller method documentation@RequestMapping(value="mapShapeFileToNamedAreas", method=GET) public org.springframework.web.servlet.ModelAndView doMapShapeFileToNamedAreas(@RequestParam(required=false,value="vocabularyUuid") java.util.UUID vocabUuid, @RequestParam(required=false,value="namedAreaUuids") UuidList namedAreaUuids, @RequestParam(required=true,value="localFile") java.lang.String localFile, @RequestParam(required=true,value="idSearchField") java.util.List<java.lang.String> idSearchFields, @RequestParam(required=true,value="wmsLayerName") java.lang.String wmsLayerName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
vocabUuid
- request
- response
- java.io.IOException
Copyright © 2007-2020 EDIT. All Rights Reserved.