Interface STMetadataRegistryBackend
- All Superinterfaces:
MetadataRegistryBackend
- All Known Implementing Classes:
STMetadataRegistryBackendImpl
A binding of
MetadataRegistryBackend
to Semantic Turkey.-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.IRI
findDatasetForProject
(Project project) Returns metadata about the given project.org.eclipse.rdf4j.model.IRI
findDatasetForProject
(Project project, boolean useDistribution) Returns metadata about the given project.findProjectForDataset
(org.eclipse.rdf4j.model.IRI dataset) Returns the project associated with the given dataset.findProjectForDataset
(org.eclipse.rdf4j.model.IRI dataset, boolean allowSubset) Returns the project associated with the given dataset, optionally allowing the lookup of subsets.void
registerProject
(Project project) Registers the metadata associated with a project (seeStoredProjectMetadata
).void
unregisterProject
(Project project) Removes the metadata associated with a projectMethods inherited from interface it.uniroma2.art.semanticturkey.mdr.core.MetadataRegistryBackend
addEmbeddedLexicalizationSet, addEmbeddedLinkset, connectToAbstractDataset, createConcreteDataset, deleteCatalogRecord, deleteDescription, deleteEmbeddedLexicalizationSet, deleteTitle, destroy, disconnectFromAbstractDataset, discoverDataset, discoverDatasetMetadata, discoverLexicalizationSets, extractProfile, findDatasetForResource, getCatalogRecordMetadata, getClassPartitions, getComputedLexicalizationModel, getConnection, getDatasetMetadata, getEmbeddedLexicalizationSets, getEmbeddedLinksets, getSPARQLEndpointLimitations, initialize, listConnectedDatasets, listDatasetsForResource, listRootDatasets, removeSPARQLEndpointLimitation, setDereferenciability, setDescription, setSPARQLEndpoint, setSPARQLEndpointLimitation, setTitle, spawnNewAbstractDataset
-
Method Details
-
findDatasetForProject
Returns metadata about the given project. If no dataset is found, then the method returnsnull
.- Parameters:
project
-- Returns:
-
findDatasetForProject
Returns metadata about the given project. If no dataset is found, then the method returnsnull
.- Parameters:
project
-useDistribution
-- Returns:
-
findProjectForDataset
Returns the project associated with the given dataset. If no project is found, then the method returnsnull
. This is a convenience overload forfindProjectForDataset(IRI, boolean)
with the second parameter set tofalse
.- Parameters:
dataset
-- Returns:
-
findProjectForDataset
Returns the project associated with the given dataset, optionally allowing the lookup of subsets. If no project is found, then the method returnsnull
.- Parameters:
dataset
-- Returns:
-
registerProject
Registers the metadata associated with a project (seeStoredProjectMetadata
). If the project has been already registered, the metadata are replaced.- Parameters:
project
-
-
unregisterProject
Removes the metadata associated with a project- Parameters:
project
-
-