org.gcube.data.spd.plugin.fwk
Class AbstractPlugin
java.lang.Object
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>
AbstractPlugin
public AbstractPlugin()
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.