Package org.fcrepo.kernel.api.services
Interface ResourceTripleService
public interface ResourceTripleService
Service to call other services to return a desired set of triples.
- Since:
- 6.0.0
- Author:
- whikloj
-
Method Summary
Modifier and TypeMethodDescriptionStream<org.apache.jena.graph.Triple> getResourceTriples(Transaction tx, FedoraResource resource, LdpTriplePreferences preferences, int limit) Return the triples for the resource based on the Prefer: header preferences
-
Method Details
-
getResourceTriples
Stream<org.apache.jena.graph.Triple> getResourceTriples(Transaction tx, FedoraResource resource, LdpTriplePreferences preferences, int limit) Return the triples for the resource based on the Prefer: header preferences- Parameters:
tx- The transaction or null if none.resource- the resource to get triples for.preferences- the preferences asked for.limit- limit on the number of children to display.- Returns:
- a stream of triples.
-