Package org.fcrepo.kernel.impl.services
Class ResourceTripleServiceImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.services.ResourceTripleServiceImpl
-
- All Implemented Interfaces:
ResourceTripleService
@Component public class ResourceTripleServiceImpl extends Object implements ResourceTripleService
Implementation of the ResourceTripleService- Since:
- 6.0.0
- Author:
- whikloj
-
-
Constructor Summary
Constructors Constructor Description ResourceTripleServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
-
-
-
Constructor Detail
-
ResourceTripleServiceImpl
public ResourceTripleServiceImpl()
-
-
Method Detail
-
getResourceTriples
public Stream<org.apache.jena.graph.Triple> getResourceTriples(Transaction tx, FedoraResource resource, LdpTriplePreferences preferences, int limit)
Description copied from interface:ResourceTripleService
Return the triples for the resource based on the Prefer: header preferences- Specified by:
getResourceTriples
in interfaceResourceTripleService
- 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.
-
-