org.gcube.data.spd.ncbi
Class NcbiPlugin

java.lang.Object
  extended by org.gcube.data.spd.plugin.fwk.AbstractPlugin
      extended by org.gcube.data.spd.ncbi.NcbiPlugin
All Implemented Interfaces:
org.gcube.data.spd.model.PropertySupport, org.gcube.data.spd.plugin.fwk.Searchable<org.gcube.data.spd.model.products.ResultItem>

public class NcbiPlugin
extends org.gcube.data.spd.plugin.fwk.AbstractPlugin


Field Summary
static String citation
           
static String credits
           
static String dbDriver
           
static String jdbc
           
static String password
           
static String sqlfile
           
static String urlDump
           
static String username
           
 
Constructor Summary
NcbiPlugin()
           
 
Method Summary
static org.gcube.data.spd.model.products.Taxon findTax(String id_record)
           
 org.gcube.data.spd.plugin.fwk.capabilities.ClassificationCapability getClassificationInterface()
           
 String getDescription()
           
 org.gcube.data.spd.plugin.fwk.capabilities.ExpansionCapability getExpansionInterface()
           
 org.gcube.data.spd.plugin.fwk.capabilities.MappingCapability getMappingInterface()
           
 org.gcube.data.spd.model.RepositoryInfo getRepositoryInfo()
           
 String getRepositoryName()
           
 Set<org.gcube.data.spd.model.util.Capabilities> getSupportedCapabilities()
           
 void initialize(org.gcube.common.resources.gcore.ServiceEndpoint res)
           
 void searchByScientificName(String word, org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.ResultItem> writer, org.gcube.data.spd.model.Condition... properties)
           
 void update(org.gcube.common.resources.gcore.ServiceEndpoint res)
           
 
Methods inherited from class org.gcube.data.spd.plugin.fwk.AbstractPlugin
equals, getHandledClass, getOccurrencesInterface, getSupportedProperties, getUnfoldInterface, hashCode, isInitialized, isRemote, isUseCache, setUseCache, shutdown
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbDriver

public static String dbDriver

sqlfile

public static String sqlfile

jdbc

public static String jdbc

username

public static String username

password

public static String password

urlDump

public static String urlDump

credits

public static final String credits
See Also:
Constant Field Values

citation

public static final String citation
See Also:
Constant Field Values
Constructor Detail

NcbiPlugin

public NcbiPlugin()
Method Detail

initialize

public void initialize(org.gcube.common.resources.gcore.ServiceEndpoint res)
                throws Exception
Overrides:
initialize in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
Throws:
Exception

update

public void update(org.gcube.common.resources.gcore.ServiceEndpoint res)
            throws Exception
Overrides:
update in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
Throws:
Exception

getDescription

public String getDescription()
Specified by:
getDescription in class org.gcube.data.spd.plugin.fwk.AbstractPlugin

getRepositoryName

public String getRepositoryName()
Specified by:
getRepositoryName in class org.gcube.data.spd.plugin.fwk.AbstractPlugin

getSupportedCapabilities

public Set<org.gcube.data.spd.model.util.Capabilities> getSupportedCapabilities()
Overrides:
getSupportedCapabilities in class org.gcube.data.spd.plugin.fwk.AbstractPlugin

getClassificationInterface

public org.gcube.data.spd.plugin.fwk.capabilities.ClassificationCapability getClassificationInterface()
Overrides:
getClassificationInterface in class org.gcube.data.spd.plugin.fwk.AbstractPlugin

getMappingInterface

public org.gcube.data.spd.plugin.fwk.capabilities.MappingCapability getMappingInterface()
Overrides:
getMappingInterface in class org.gcube.data.spd.plugin.fwk.AbstractPlugin

getExpansionInterface

public org.gcube.data.spd.plugin.fwk.capabilities.ExpansionCapability getExpansionInterface()
Overrides:
getExpansionInterface in class org.gcube.data.spd.plugin.fwk.AbstractPlugin

searchByScientificName

public void searchByScientificName(String word,
                                   org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.ResultItem> writer,
                                   org.gcube.data.spd.model.Condition... properties)
Specified by:
searchByScientificName in interface org.gcube.data.spd.plugin.fwk.Searchable<org.gcube.data.spd.model.products.ResultItem>
Specified by:
searchByScientificName in class org.gcube.data.spd.plugin.fwk.AbstractPlugin

getRepositoryInfo

public org.gcube.data.spd.model.RepositoryInfo getRepositoryInfo()
Specified by:
getRepositoryInfo in class org.gcube.data.spd.plugin.fwk.AbstractPlugin

findTax

public static org.gcube.data.spd.model.products.Taxon findTax(String id_record)


Copyright © 2013. All Rights Reserved.