Class RDFStorageImpl

java.lang.Object
org.dspace.rdf.storage.RDFStorageImpl
All Implemented Interfaces:
RDFStorage

public class RDFStorageImpl extends Object implements RDFStorage
Author:
Pascal-Nicolas Becker (dspace -at- pascal -hyphen- becker -dot- de)
  • Field Details

  • Constructor Details

    • RDFStorageImpl

      public RDFStorageImpl()
  • Method Details

    • store

      public void store(String uri, org.apache.jena.rdf.model.Model model)
      Description copied from interface: RDFStorage
      Don't use this method directly, use RDFizer.convert(...) to convert and store DSpaceObjets.
      Specified by:
      store in interface RDFStorage
      Parameters:
      uri - Identifier for this DSO (RDFizer.generateIdentifier(...)). You can load this model by using this URI.
      model - The model to store.
      See Also:
    • load

      public org.apache.jena.rdf.model.Model load(String uri)
      Description copied from interface: RDFStorage
      Don't use this method directly, use RDFizer.loadModel(...) instead.
      Specified by:
      load in interface RDFStorage
      Parameters:
      uri - Identifier for this DSO
      Returns:
      the model
    • getConnection

      protected org.apache.jena.rdfconnection.RDFConnection getConnection()
    • delete

      public void delete(String uri)
      Specified by:
      delete in interface RDFStorage
    • deleteAll

      public void deleteAll()
      Specified by:
      deleteAll in interface RDFStorage
    • getAllStoredGraphs

      public List<String> getAllStoredGraphs()
      Specified by:
      getAllStoredGraphs in interface RDFStorage
    • getGraphStoreEndpoint

      protected String getGraphStoreEndpoint()
    • getSparqlEndpoint

      protected String getSparqlEndpoint()