org.gcube.data.spd.obisplugin
Class ObisOccurrencesInterface

java.lang.Object
  extended by org.gcube.data.spd.plugin.fwk.capabilities.OccurrencesCapability
      extended by org.gcube.data.spd.obisplugin.ObisOccurrencesInterface
All Implemented Interfaces:
org.gcube.data.spd.model.PropertySupport, org.gcube.data.spd.plugin.fwk.Searchable<org.gcube.data.spd.model.products.OccurrencePoint>

public class ObisOccurrencesInterface
extends org.gcube.data.spd.plugin.fwk.capabilities.OccurrencesCapability

Author:
"Federico De Faveri defaveri@isti.cnr.it"

Field Summary
protected  org.apache.log4j.Logger logger
           
protected  PluginSessionPool sessionPool
           
protected static Set<org.gcube.data.spd.model.Conditions> SUPPORTED_PROPERTIES
           
 
Constructor Summary
ObisOccurrencesInterface(PluginSessionPool sessionPool)
           
 
Method Summary
protected  void getOccurrencePoints(PluginSession session, String key, org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer)
           
 void getOccurrencesByIds(org.gcube.data.spd.plugin.fwk.writers.ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer, Iterator<String> reader)
           
 void getOccurrencesByProductKeys(org.gcube.data.spd.plugin.fwk.writers.ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer, Iterator<String> reader)
           
 Set<org.gcube.data.spd.model.Conditions> getSupportedProperties()
          
 void searchByScientificName(String word, org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer, org.gcube.data.spd.model.Condition... properties)
           
 
Methods inherited from class org.gcube.data.spd.plugin.fwk.capabilities.OccurrencesCapability
getHandledClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUPPORTED_PROPERTIES

protected static final Set<org.gcube.data.spd.model.Conditions> SUPPORTED_PROPERTIES

logger

protected org.apache.log4j.Logger logger

sessionPool

protected PluginSessionPool sessionPool
Constructor Detail

ObisOccurrencesInterface

public ObisOccurrencesInterface(PluginSessionPool sessionPool)
Parameters:
sessionPool -
Method Detail

getSupportedProperties

public Set<org.gcube.data.spd.model.Conditions> getSupportedProperties()


searchByScientificName

public void searchByScientificName(String word,
                                   org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
                                   org.gcube.data.spd.model.Condition... properties)

getOccurrencesByIds

public void getOccurrencesByIds(org.gcube.data.spd.plugin.fwk.writers.ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
                                Iterator<String> reader)
Specified by:
getOccurrencesByIds in class org.gcube.data.spd.plugin.fwk.capabilities.OccurrencesCapability

getOccurrencesByProductKeys

public void getOccurrencesByProductKeys(org.gcube.data.spd.plugin.fwk.writers.ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
                                        Iterator<String> reader)
Specified by:
getOccurrencesByProductKeys in class org.gcube.data.spd.plugin.fwk.capabilities.OccurrencesCapability

getOccurrencePoints

protected void getOccurrencePoints(PluginSession session,
                                   String key,
                                   org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer)


Copyright © 2013. All Rights Reserved.