@Test void testNoRoot() { final ResourceService svc = new TriplestoreResourceService(); assertEquals(MISSING_RESOURCE, svc.get(rdf.createIRI(TRELLIS_DATA_PREFIX)).toCompletableFuture().join(), "Not a missing resource!"); }
@Override public CompletionStage<Resource> get(final IRI identifier) { return TriplestoreResource.findResource(rdfConnection, identifier, extensions, includeLdpType); }
TriplestoreResourceService implements ResourceService { @Override public CompletionStage<Resource> get(final IRI identifier) { return TriplestoreResource.findResource(rdfConnection, identifier, extensions, includeLdpType); } }
TriplestoreResourceService implements ResourceService { @Override public CompletionStage<Resource> get(final IRI identifier) { return TriplestoreResource.findResource(rdfConnection, identifier, extensions, includeLdpType); } TriplestoreResourceService();  TriplestoreResourceService(final RDFConnection rdfConnection); @Inject  TriplestoreResourceService(final RDFConnection rdfConnection, final IdentifierService identifierService); }
TriplestoreResourceService implements ResourceService { @Override public CompletionStage<Resource> get(final IRI identifier) { return TriplestoreResource.findResource(rdfConnection, identifier, extensions, includeLdpType); } TriplestoreResourceService();  TriplestoreResourceService(final RDFConnection rdfConnection); @Inject  TriplestoreResourceService(final RDFConnection rdfConnection, final IdentifierService identifierService); @Override CompletionStage<Void> delete(final Metadata metadata); @Override CompletionStage<Void> create(final Metadata metadata, final Dataset dataset); @Override CompletionStage<Void> replace(final Metadata metadata, final Dataset dataset); @PostConstruct void initialize(); @Override CompletionStage<Resource> get(final IRI identifier); @Override String generateIdentifier(); @Override CompletionStage<Void> add(final IRI id, final Dataset dataset); @Override CompletionStage<Void> touch(final IRI identifier); @Override Set<IRI> supportedInteractionModels(); static RDFConnection buildRDFConnection(final String location); }
TriplestoreResourceService implements ResourceService { @Override public CompletionStage<Resource> get(final IRI identifier) { return TriplestoreResource.findResource(rdfConnection, identifier, extensions, includeLdpType); } TriplestoreResourceService();  TriplestoreResourceService(final RDFConnection rdfConnection); @Inject  TriplestoreResourceService(final RDFConnection rdfConnection, final IdentifierService identifierService); @Override CompletionStage<Void> delete(final Metadata metadata); @Override CompletionStage<Void> create(final Metadata metadata, final Dataset dataset); @Override CompletionStage<Void> replace(final Metadata metadata, final Dataset dataset); @PostConstruct void initialize(); @Override CompletionStage<Resource> get(final IRI identifier); @Override String generateIdentifier(); @Override CompletionStage<Void> add(final IRI id, final Dataset dataset); @Override CompletionStage<Void> touch(final IRI identifier); @Override Set<IRI> supportedInteractionModels(); static RDFConnection buildRDFConnection(final String location); static final String CONFIG_TRIPLESTORE_RDF_LOCATION; static final String CONFIG_TRIPLESTORE_LDP_TYPE; }