org.gcube.data.speciesplugin.utils
Class SpeciesService
java.lang.Object
org.gcube.data.speciesplugin.utils.SpeciesService
public class SpeciesService
- extends Object
- Author:
- "Federico De Faveri defaveri@isti.cnr.it", "Valentina Marioli valentina.marioli@isti.cnr.it"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPECIES_SERVICE_ID
public static final QName SPECIES_SERVICE_ID
GENERATOR
protected static final SpeciesTreeGenerator GENERATOR
call
protected org.gcube.data.spd.client.proxies.Manager call
classificationCall
protected org.gcube.data.spd.client.proxies.Classification classificationCall
store
protected SpeciesStore store
treeCounter
protected int treeCounter
SpeciesService
public SpeciesService(SpeciesStore store)
throws Exception
- Throws:
Exception
createCollection
public void createCollection(List<String> scientificNames,
List<String> dataSources)
throws Exception
- Entry point
- Throws:
Exception
createCollection
public void createCollection(List<String> scientificNames,
List<String> dataSources,
boolean strictMatch)
throws Exception
- Create collection with trees
- Throws:
Exception
createQuery
protected String createQuery(List<String> scientificNames,
List<String> dataSource)
- Creates a Species Discovery query using SPQL 2.0
store
protected void store(org.gcube.data.spd.model.products.TaxonomyItem taxon)
- Save each tree in store
Copyright © 2013. All Rights Reserved.