public interface ProvenanceService
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
deleteProvenance(java.io.Reader endpointState,
java.io.Reader endpointConstants)
Deletes provenance according to the retainDuration property provided in endpointConstants.
|
com.fasterxml.jackson.databind.JsonNode |
getProvenanceGraph(java.lang.String documentURI)
Returns a JSON Object contain Provenance nodes and links.
|
com.fasterxml.jackson.databind.JsonNode |
migrateProvenance(java.io.Reader endpointState,
java.io.Reader endpointConstants)
Migrates provenance to provenance format starting in DH 5.7.
|
static ProvenanceService |
on(com.marklogic.client.DatabaseClient db)
Creates a ProvenanceService object for executing operations on the database server.
|
static ProvenanceService |
on(com.marklogic.client.DatabaseClient db,
com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
Creates a ProvenanceService object for executing operations on the database server.
|
static ProvenanceService on(com.marklogic.client.DatabaseClient db)
db - provides a client for communicating with the database serverstatic ProvenanceService on(com.marklogic.client.DatabaseClient db, com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
db - provides a client for communicating with the database serverserviceDeclaration - substitutes a custom implementation of the servicecom.fasterxml.jackson.databind.JsonNode getProvenanceGraph(java.lang.String documentURI)
documentURI - The documentURI that you wish to get provenance data about.com.fasterxml.jackson.databind.JsonNode migrateProvenance(java.io.Reader endpointState,
java.io.Reader endpointConstants)
endpointState - provides inputendpointConstants - provides inputcom.fasterxml.jackson.databind.JsonNode deleteProvenance(java.io.Reader endpointState,
java.io.Reader endpointConstants)
endpointState - provides inputendpointConstants - provides input