Interface STMetadataRegistryBackend

All Superinterfaces:
MetadataRegistryBackend
All Known Implementing Classes:
STMetadataRegistryBackendImpl

public interface STMetadataRegistryBackend extends MetadataRegistryBackend
A binding of MetadataRegistryBackend to Semantic Turkey.
  • Method Details

    • findDatasetForProject

      org.eclipse.rdf4j.model.IRI findDatasetForProject(Project project)
      Returns metadata about the given project. If no dataset is found, then the method returns null.
      Parameters:
      project -
      Returns:
    • findDatasetForProject

      org.eclipse.rdf4j.model.IRI findDatasetForProject(Project project, boolean useDistribution)
      Returns metadata about the given project. If no dataset is found, then the method returns null.
      Parameters:
      project -
      useDistribution -
      Returns:
    • findProjectForDataset

      Project findProjectForDataset(org.eclipse.rdf4j.model.IRI dataset)
      Returns the project associated with the given dataset. If no project is found, then the method returns null. This is a convenience overload for findProjectForDataset(IRI, boolean) with the second parameter set to false.
      Parameters:
      dataset -
      Returns:
    • findProjectForDataset

      Project findProjectForDataset(org.eclipse.rdf4j.model.IRI dataset, boolean allowSubset)
      Returns the project associated with the given dataset, optionally allowing the lookup of subsets. If no project is found, then the method returns null.
      Parameters:
      dataset -
      Returns:
    • registerProject

      void registerProject(Project project)
      Registers the metadata associated with a project (see StoredProjectMetadata). If the project has been already registered, the metadata are replaced.
      Parameters:
      project -
    • unregisterProject

      void unregisterProject(Project project)
      Removes the metadata associated with a project
      Parameters:
      project -