public class RDFStorageImpl extends Object implements RDFStorage
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationService |
configurationService |
| Constructor and Description |
|---|
RDFStorageImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String uri) |
void |
deleteAll() |
protected org.apache.jena.web.DatasetGraphAccessor |
getAccessor() |
List<String> |
getAllStoredGraphs() |
protected String |
getGraphStoreEndpoint() |
protected String |
getSparqlEndpoint() |
com.hp.hpl.jena.rdf.model.Model |
load(String uri)
Don't use this method directly, use
RDFizer.loadModel(...) instead. |
void |
store(String uri,
com.hp.hpl.jena.rdf.model.Model model)
Don't use this method directly, use
RDFizer.convert(...) to convert and store DSpaceObjets. |
@Autowired(required=true) protected ConfigurationService configurationService
public void store(String uri, com.hp.hpl.jena.rdf.model.Model model)
RDFStorageRDFizer.convert(...) to convert and store DSpaceObjets.store in interface RDFStorageuri - Identifier for this DSO
(RDFizer.generateIdentifier(...)). You can load this model by using this URI.model - The model to store.org.dspace.rdf.RDFizer;public com.hp.hpl.jena.rdf.model.Model load(String uri)
RDFStorageRDFizer.loadModel(...) instead.load in interface RDFStorageprotected org.apache.jena.web.DatasetGraphAccessor getAccessor()
public void delete(String uri)
delete in interface RDFStoragepublic void deleteAll()
deleteAll in interface RDFStoragepublic List<String> getAllStoredGraphs()
getAllStoredGraphs in interface RDFStorageprotected String getGraphStoreEndpoint()
protected String getSparqlEndpoint()
Copyright © 2016 DuraSpace. All rights reserved.