Interface ResourceTripleService

    • 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.