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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-
-
Method Detail
-
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.
-
-