org.gcube.data.spd.client.proxies
Class DefaultClassification

java.lang.Object
  extended by org.gcube.data.spd.client.proxies.DefaultClassification
All Implemented Interfaces:
Classification

public class DefaultClassification
extends Object
implements Classification


Constructor Summary
DefaultClassification(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.data.spd.stubs.ClassificationPortType> config)
           
 
Method Summary
 File getDarwinCoreArchive(org.gcube.data.streams.Stream<String> taxonIds)
           
 org.gcube.data.streams.Stream<org.gcube.data.spd.plugin.fwk.model.TaxonomyItem> getTaxonByIds(org.gcube.data.streams.Stream<String> ids)
           
 org.gcube.data.streams.Stream<org.gcube.data.spd.plugin.fwk.model.TaxonomyItem> getTaxonChildsById(String id)
           
 org.gcube.data.streams.Stream<org.gcube.data.spd.plugin.fwk.model.TaxonomyItem> getTaxonTreeById(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClassification

public DefaultClassification(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.data.spd.stubs.ClassificationPortType> config)
Method Detail

getTaxonChildsById

public org.gcube.data.streams.Stream<org.gcube.data.spd.plugin.fwk.model.TaxonomyItem> getTaxonChildsById(String id)
Specified by:
getTaxonChildsById in interface Classification

getTaxonByIds

public org.gcube.data.streams.Stream<org.gcube.data.spd.plugin.fwk.model.TaxonomyItem> getTaxonByIds(org.gcube.data.streams.Stream<String> ids)
Specified by:
getTaxonByIds in interface Classification

getDarwinCoreArchive

public File getDarwinCoreArchive(org.gcube.data.streams.Stream<String> taxonIds)
                          throws Exception
Specified by:
getDarwinCoreArchive in interface Classification
Throws:
Exception

getTaxonTreeById

public org.gcube.data.streams.Stream<org.gcube.data.spd.plugin.fwk.model.TaxonomyItem> getTaxonTreeById(String id)
                                                                                                 throws org.gcube.data.spd.plugin.fwk.exceptions.IdNotValidException,
                                                                                                        Exception
Specified by:
getTaxonTreeById in interface Classification
Throws:
org.gcube.data.spd.plugin.fwk.exceptions.IdNotValidException
Exception


Copyright © 2012. All Rights Reserved.