org.gcube.data.spd.obisplugin
Class ObisPlugin
java.lang.Object
org.gcube.data.spd.plugin.fwk.AbstractPlugin
org.gcube.data.spd.obisplugin.ObisPlugin
- 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 ObisPlugin
- extends org.gcube.data.spd.plugin.fwk.AbstractPlugin
- Author:
- "Federico De Faveri defaveri@isti.cnr.it"
| Methods inherited from class org.gcube.data.spd.plugin.fwk.AbstractPlugin |
equals, getHandledClass, getSynonymCapability, getUnfoldInterface, hashCode, isInitialized, isRemote, isUseCache, setUseCache |
LOGO_URL
protected static final String LOGO_URL
- See Also:
- Constant Field Values
HOME_URL
protected static final String HOME_URL
- See Also:
- Constant Field Values
DESCRIPTION
protected static final String DESCRIPTION
- See Also:
- Constant Field Values
REPOSITORY_INFO
protected static final org.gcube.data.spd.model.RepositoryInfo REPOSITORY_INFO
ENTRY_POINT_NAME
protected static final String ENTRY_POINT_NAME
- See Also:
- Constant Field Values
logger
protected org.gcube.common.core.utils.logging.GCUBELog logger
sessionPool
protected PluginSessionPool sessionPool
nameMapping
protected ObisNameMapping nameMapping
occurrencesInterface
protected ObisOccurrencesInterface occurrencesInterface
obisClassification
protected ObisClassification obisClassification
sdf
protected static final SimpleDateFormat sdf
ObisPlugin
public ObisPlugin()
getSessionPool
public PluginSessionPool getSessionPool()
- Returns:
- the sessionPool
getSupportedCapabilities
public Set<org.gcube.data.spd.model.util.Capabilities> getSupportedCapabilities()
- Overrides:
getSupportedCapabilities 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
getDescription
public String getDescription()
- Specified by:
getDescription in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
initialize
public void initialize(org.gcube.common.resources.gcore.ServiceEndpoint resource)
throws Exception
-
- Overrides:
initialize in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
- Throws:
Exception
shutdown
public void shutdown()
throws Exception
-
- Overrides:
shutdown in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
- Throws:
Exception
getSupportedProperties
public Set<org.gcube.data.spd.model.Conditions> getSupportedProperties()
-
- Specified by:
getSupportedProperties in interface org.gcube.data.spd.model.PropertySupport- Overrides:
getSupportedProperties in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
update
public void update(org.gcube.common.resources.gcore.ServiceEndpoint resource)
throws Exception
-
- Overrides:
update in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
- Throws:
Exception
getDatabaseCredentials
protected DatabaseCredential getDatabaseCredentials(org.gcube.common.resources.gcore.ServiceEndpoint resource)
throws Exception
- Throws:
Exception
searchByScientificName
public void searchByScientificName(String searchTerm,
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
getMappingInterface
public org.gcube.data.spd.plugin.fwk.capabilities.MappingCapability getMappingInterface()
-
- Overrides:
getMappingInterface in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
getOccurrencesInterface
public org.gcube.data.spd.plugin.fwk.capabilities.OccurrencesCapability getOccurrencesInterface()
-
- Overrides:
getOccurrencesInterface in class org.gcube.data.spd.plugin.fwk.AbstractPlugin
getObisCredits
protected String getObisCredits()
getClassificationInterface
public org.gcube.data.spd.plugin.fwk.capabilities.ClassificationCapability getClassificationInterface()
-
- Overrides:
getClassificationInterface 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
Copyright © 2013. All Rights Reserved.