org.gcube.data.spd.plugin.fwk
Class AbstractPlugin

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

public abstract class AbstractPlugin
extends Object
implements org.gcube.data.spd.model.PropertySupport, Searchable<org.gcube.data.spd.model.products.ResultItem>


Constructor Summary
AbstractPlugin()
           
 
Method Summary
 boolean equals(Object obj)
           
 ClassificationCapability getClassificationInterface()
           
abstract  String getDescription()
           
 Class<org.gcube.data.spd.model.products.ResultItem> getHandledClass()
           
 MappingCapability getMappingInterface()
           
 OccurrencesCapability getOccurrencesInterface()
           
abstract  org.gcube.data.spd.model.RepositoryInfo getRepositoryInfo()
           
abstract  String getRepositoryName()
           
 Set<org.gcube.data.spd.model.util.Capabilities> getSupportedCapabilities()
           
 Set<org.gcube.data.spd.model.Conditions> getSupportedProperties()
           
 ExpansionCapability getSynonymCapability()
           
 UnfoldCapability getUnfoldInterface()
           
 int hashCode()
           
 void initialize(org.gcube.common.resources.gcore.ServiceEndpoint resource)
           
 boolean isInitialized()
           
 boolean isRemote()
           
 boolean isUseCache()
           
abstract  void searchByScientificName(String word, ObjectWriter<org.gcube.data.spd.model.products.ResultItem> writer, org.gcube.data.spd.model.Condition... properties)
           
 void setUseCache(boolean useCache)
           
 void shutdown()
           
 void update(org.gcube.common.resources.gcore.ServiceEndpoint resource)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPlugin

public AbstractPlugin()
Method Detail

initialize

public void initialize(org.gcube.common.resources.gcore.ServiceEndpoint resource)
                throws Exception
Throws:
Exception

update

public void update(org.gcube.common.resources.gcore.ServiceEndpoint resource)
            throws Exception
Throws:
Exception

shutdown

public void shutdown()
              throws Exception
Throws:
Exception

getClassificationInterface

public ClassificationCapability getClassificationInterface()

getMappingInterface

public MappingCapability getMappingInterface()

getSynonymCapability

public ExpansionCapability getSynonymCapability()

getOccurrencesInterface

public OccurrencesCapability getOccurrencesInterface()

getUnfoldInterface

public UnfoldCapability getUnfoldInterface()

getSupportedProperties

public Set<org.gcube.data.spd.model.Conditions> getSupportedProperties()
Specified by:
getSupportedProperties in interface org.gcube.data.spd.model.PropertySupport

getSupportedCapabilities

public Set<org.gcube.data.spd.model.util.Capabilities> getSupportedCapabilities()

getRepositoryInfo

public abstract org.gcube.data.spd.model.RepositoryInfo getRepositoryInfo()

getHandledClass

public Class<org.gcube.data.spd.model.products.ResultItem> getHandledClass()
Specified by:
getHandledClass in interface Searchable<org.gcube.data.spd.model.products.ResultItem>

searchByScientificName

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

getRepositoryName

public abstract String getRepositoryName()

getDescription

public abstract String getDescription()

isUseCache

public boolean isUseCache()

setUseCache

public void setUseCache(boolean useCache)

isInitialized

public boolean isInitialized()

isRemote

public boolean isRemote()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.