org.gcube.application.speciesmanager.stubs.pluginhelper
Class AbstractPlugin

java.lang.Object
  extended by org.gcube.application.speciesmanager.stubs.pluginhelper.AbstractPlugin
All Implemented Interfaces:
PropertySupport

public abstract class AbstractPlugin
extends Object
implements PropertySupport


Constructor Summary
AbstractPlugin()
           
 
Method Summary
 ClassificationCapability getClassificationInterface()
           
abstract  String getDescription()
           
 NamesMappingCapability getNamesMappingInterface()
           
 OccurrencesCapability getOccurrencesInterface()
           
abstract  String getRepositoryName()
           
 Set<Capabilities> getSupportedCapabilities()
           
 Set<Properties> getSupportedProperties()
           
abstract  Set<SearchTypes> getSupportedSearch()
           
 SynonimsCapability getSynonimsInterface()
           
 void initialize(org.gcube.common.core.resources.GCUBERuntimeResource resource)
           
 boolean isInitialized()
           
abstract  void searchByCommonName(String word, ObjectWriter<ResultItem> writer, Property... properties)
           
abstract  void searchByScientificName(String word, ObjectWriter<ResultItem> writer, Property... properties)
           
 void shutdown()
           
 void update(org.gcube.common.core.resources.GCUBERuntimeResource resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPlugin

public AbstractPlugin()
Method Detail

initialize

public void initialize(org.gcube.common.core.resources.GCUBERuntimeResource resource)
                throws Exception
Throws:
Exception

update

public void update(org.gcube.common.core.resources.GCUBERuntimeResource resource)
            throws Exception
Throws:
Exception

shutdown

public void shutdown()
              throws Exception
Throws:
Exception

getClassificationInterface

public ClassificationCapability getClassificationInterface()

getNamesMappingInterface

public NamesMappingCapability getNamesMappingInterface()

getOccurrencesInterface

public OccurrencesCapability getOccurrencesInterface()

getSynonimsInterface

public SynonimsCapability getSynonimsInterface()

getSupportedProperties

public Set<Properties> getSupportedProperties()
Specified by:
getSupportedProperties in interface PropertySupport

getSupportedCapabilities

public Set<Capabilities> getSupportedCapabilities()

getSupportedSearch

public abstract Set<SearchTypes> getSupportedSearch()

searchByCommonName

public abstract void searchByCommonName(String word,
                                        ObjectWriter<ResultItem> writer,
                                        Property... properties)

searchByScientificName

public abstract void searchByScientificName(String word,
                                            ObjectWriter<ResultItem> writer,
                                            Property... properties)

getRepositoryName

public abstract String getRepositoryName()

getDescription

public abstract String getDescription()

isInitialized

public boolean isInitialized()


Copyright © 2012. All Rights Reserved.