public interface MasteringManager
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
deleteNotifications(java.util.List<java.lang.String> uris) |
com.fasterxml.jackson.databind.JsonNode |
documentHistory(java.lang.String mergedURI)
Returns provenance information about a merged document
|
com.fasterxml.jackson.databind.JsonNode |
match(java.lang.String matchURI,
java.lang.String flowName,
java.lang.String stepNumber,
java.lang.Boolean includeMatchDetails,
com.fasterxml.jackson.databind.JsonNode options)
Returns potential candidates for merging with a document
|
com.fasterxml.jackson.databind.JsonNode |
merge(java.util.List<java.lang.String> mergeURIs,
java.lang.String flowName,
java.lang.String stepNumber,
java.lang.Boolean preview,
com.fasterxml.jackson.databind.JsonNode options)
Manually merges a set of documents
|
com.fasterxml.jackson.databind.JsonNode |
mergePreview(java.lang.String flowName,
java.util.List<java.lang.String> uris)
Manually merges a set of documents
|
com.fasterxml.jackson.databind.JsonNode |
notifications(int start,
int pageLength)
Returns notifications
|
com.fasterxml.jackson.databind.JsonNode |
unmerge(java.lang.String mergeURI,
java.lang.Boolean retainAuditTrail,
java.lang.Boolean blockFutureMerges)
Reverses the last set of merges made into the given merge UR
|
com.fasterxml.jackson.databind.JsonNode |
unmergeRecord(java.lang.String mergeURI,
java.lang.Boolean retainAuditTrail,
java.lang.Boolean blockFutureMerges,
java.util.List<java.lang.String> removeURIs)
Unmerges the set of uris from a merged document
|
com.fasterxml.jackson.databind.JsonNode unmerge(java.lang.String mergeURI, java.lang.Boolean retainAuditTrail, java.lang.Boolean blockFutureMerges)
mergeURI
- - URI of the merged document that is being reversedretainAuditTrail
- - determines if provenance for the merge/unmerge is keptblockFutureMerges
- - ensures that the documents won't be merged together in the next mastering run, if truecom.fasterxml.jackson.databind.JsonNode unmergeRecord(java.lang.String mergeURI, java.lang.Boolean retainAuditTrail, java.lang.Boolean blockFutureMerges, java.util.List<java.lang.String> removeURIs)
mergeURI
- - URI of the merged document that is being reversedretainAuditTrail
- - determines if provenance for the merge/unmerge is keptblockFutureMerges
- - ensures that the documents won't be merged together in the next mastering run, if trueremoveURIs
- - URIs of the merged documents that we want to unmergecom.fasterxml.jackson.databind.JsonNode merge(java.util.List<java.lang.String> mergeURIs, java.lang.String flowName, java.lang.String stepNumber, java.lang.Boolean preview, com.fasterxml.jackson.databind.JsonNode options)
mergeURIs
- - URIs of the documents to mergeflowName
- - The name of the flow that has the mastering settingsstepNumber
- - The number of the mastering step with settingspreview
- - determines if the changes should be written to the databaseoptions
- - Overrides any options for the stepcom.fasterxml.jackson.databind.JsonNode mergePreview(java.lang.String flowName, java.util.List<java.lang.String> uris)
flowName
- - The name of the flow that has the merge settingscom.fasterxml.jackson.databind.JsonNode match(java.lang.String matchURI, java.lang.String flowName, java.lang.String stepNumber, java.lang.Boolean includeMatchDetails, com.fasterxml.jackson.databind.JsonNode options)
matchURI
- - URI of the document to find matches forflowName
- - The name of the flow that has the mastering settingsstepNumber
- - The number of the mastering step with settingsincludeMatchDetails
- - determines if the results should also return details of how matches occurredoptions
- - Overrides any options for the stepcom.fasterxml.jackson.databind.JsonNode documentHistory(java.lang.String mergedURI)
mergedURI
- - URI of the document that represents a mergecom.fasterxml.jackson.databind.JsonNode notifications(int start, int pageLength)
start
- - (optional, defaulting to 1) the 1-based index of the first notification to returnpageLength
- - (optional, defaulting to 10) the number of notifications to returncom.fasterxml.jackson.databind.JsonNode deleteNotifications(java.util.List<java.lang.String> uris)
uris
- - notification document URIs to delete