
Package ca.uhn.fhir.mdm.dao
Interface IMdmLinkDao<P extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>,M extends IMdmLink<P>> 
public interface IMdmLinkDao<P extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>,M extends IMdmLink<P>> 
- 
Method SummaryModifier and TypeMethodDescriptioncount()voidvoidvoidvoiddeleteLinksWithAnyReferenceToPids(List<P> theResourcePersistentIds) intdeleteWithAnyReferenceToPid(P thePid) intdeleteWithAnyReferenceToPidAndMatchResultNot(P thePid, MdmMatchResultEnum theMatchResult) List<MdmPidTuple<P>> expandPidsByGoldenResourcePidAndMatchResult(P theSourcePid, MdmMatchResultEnum theMdmMatchResultEnum) List<MdmPidTuple<P>> expandPidsBySourcePidAndMatchResult(P theSourcePid, MdmMatchResultEnum theMdmMatchResultEnum) List<MdmPidTuple<P>> expandPidsFromGroupPidGivenMatchResult(P theGroupPid, MdmMatchResultEnum theMdmMatchResultEnum) findAll()findAllById(List<P> thePids) findBySourcePidAndMatchResult(P theSourcePid, MdmMatchResultEnum theMatch) findHistory(P thePid) Deprecated, for removal: This API element is subject to removal in a future version.findPidByResourceNameAndThreshold(String theResourceName, Date theHighThreshold, org.springframework.data.domain.Pageable thePageable) findPidByResourceNameAndThresholdAndPartitionId(String theResourceName, Date theHighThreshold, List<Integer> thePartitionIds, org.springframework.data.domain.Pageable thePageable) default List<MdmLinkWithRevision<M>> getHistoryForIds(MdmHistorySearchParameters theMdmHistorySearchParameters) default Collection<MdmPidTuple<P>> resolveGoldenResources(List<P> theSourcePids) Given a collection of PIDs, resolves the associated golden resource IDs.org.springframework.data.domain.Page<M> search(MdmQuerySearchParameters theMdmQuerySearchParameters) org.springframework.data.domain.Page<M> search(org.hl7.fhir.instance.model.api.IIdType theGoldenResourceId, org.hl7.fhir.instance.model.api.IIdType theSourceId, MdmMatchResultEnum theMatchResult, MdmLinkSourceEnum theLinkSource, MdmPageRequest thePageRequest, List<Integer> thePartitionId) Deprecated.validateMdmLink(IMdmLink theMdmLink) 
- 
Method Details- 
deleteWithAnyReferenceToPid
- 
deleteWithAnyReferenceToPidAndMatchResultNot
- 
expandPidsFromGroupPidGivenMatchResultList<MdmPidTuple<P>> expandPidsFromGroupPidGivenMatchResult(P theGroupPid, MdmMatchResultEnum theMdmMatchResultEnum) 
- 
expandPidsBySourcePidAndMatchResultList<MdmPidTuple<P>> expandPidsBySourcePidAndMatchResult(P theSourcePid, MdmMatchResultEnum theMdmMatchResultEnum) 
- 
expandPidsByGoldenResourcePidAndMatchResultList<MdmPidTuple<P>> expandPidsByGoldenResourcePidAndMatchResult(P theSourcePid, MdmMatchResultEnum theMdmMatchResultEnum) 
- 
findLinksAssociatedWithGoldenResourceOfSourceResourceExcludingNoMatchdefault List<M> findLinksAssociatedWithGoldenResourceOfSourceResourceExcludingNoMatch(P theSourcePid) 
- 
findPidByResourceNameAndThresholdList<P> findPidByResourceNameAndThreshold(String theResourceName, Date theHighThreshold, org.springframework.data.domain.Pageable thePageable) 
- 
findPidByResourceNameAndThresholdAndPartitionId
- 
findAllById
- 
findById
- 
deleteAll
- 
findAll
- 
findAll
- 
count
- 
deleteAllvoid deleteAll()
- 
save
- 
findOne
- 
delete
- 
validateMdmLinkM validateMdmLink(IMdmLink theMdmLink) throws ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException - Throws:
- ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException
 
- 
search@Deprecated org.springframework.data.domain.Page<M> search(org.hl7.fhir.instance.model.api.IIdType theGoldenResourceId, org.hl7.fhir.instance.model.api.IIdType theSourceId, MdmMatchResultEnum theMatchResult, MdmLinkSourceEnum theLinkSource, MdmPageRequest thePageRequest, List<Integer> thePartitionId) Deprecated.
- 
searchorg.springframework.data.domain.Page<M> search(MdmQuerySearchParameters theMdmQuerySearchParameters) 
- 
findBySourcePidAndMatchResult
- 
deleteLinksWithAnyReferenceToPids
- 
findHistory@Deprecated(since="6.5.6", forRemoval=true) default org.springframework.data.history.Revisions<Long,M> findHistory(P thePid) Deprecated, for removal: This API element is subject to removal in a future version.
- 
getHistoryForIdsdefault List<MdmLinkWithRevision<M>> getHistoryForIds(MdmHistorySearchParameters theMdmHistorySearchParameters) 
- 
resolveGoldenResourcesGiven a collection of PIDs, resolves the associated golden resource IDs. If any of the PIDs are golden resources, the associated non-golden resources are also fetched.
 
-