Package ca.uhn.fhir.jpa.dao.mdm
Class MdmLinkDaoJpaImpl
java.lang.Object
ca.uhn.fhir.jpa.dao.mdm.MdmLinkDaoJpaImpl
public class MdmLinkDaoJpaImpl
extends Object
implements ca.uhn.fhir.mdm.dao.IMdmLinkDao<JpaPid,MdmLink>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
void
void
void
void
deleteLinksWithAnyReferenceToPids
(List<JpaPid> theResourcePersistentIds) int
deleteWithAnyReferenceToPid
(JpaPid thePid) int
deleteWithAnyReferenceToPidAndMatchResultNot
(JpaPid thePid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMatchResult) expandPidsByGoldenResourcePidAndMatchResult
(JpaPid theSourcePid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMdmMatchResultEnum) expandPidsBySourcePidAndMatchResult
(JpaPid theSourcePid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMdmMatchResultEnum) expandPidsFromGroupPidGivenMatchResult
(JpaPid theGroupPid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMdmMatchResultEnum) findAll()
findAllById
(List<JpaPid> thePids) findBySourcePidAndMatchResult
(JpaPid theSourcePid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMatch) findHistory
(JpaPid theMdmLinkPid) 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) getHistoryForIds
(ca.uhn.fhir.mdm.api.params.MdmHistorySearchParameters theMdmHistorySearchParameters) Collection
<ca.uhn.fhir.mdm.model.MdmPidTuple<JpaPid>> resolveGoldenResources
(List<JpaPid> theSourcePids) org.springframework.data.domain.Page
<MdmLink> search
(ca.uhn.fhir.mdm.api.params.MdmQuerySearchParameters theParams) org.springframework.data.domain.Page
<MdmLink> search
(org.hl7.fhir.instance.model.api.IIdType theGoldenResourceId, org.hl7.fhir.instance.model.api.IIdType theSourceId, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMatchResult, ca.uhn.fhir.mdm.api.MdmLinkSourceEnum theLinkSource, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest, List<Integer> thePartitionIds) Deprecated.validateMdmLink
(ca.uhn.fhir.mdm.api.IMdmLink theMdmLink)
-
Field Details
-
myEntityManager
-
-
Constructor Details
-
MdmLinkDaoJpaImpl
public MdmLinkDaoJpaImpl()
-
-
Method Details
-
deleteWithAnyReferenceToPid
-
deleteWithAnyReferenceToPidAndMatchResultNot
public int deleteWithAnyReferenceToPidAndMatchResultNot(JpaPid thePid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMatchResult) -
expandPidsFromGroupPidGivenMatchResult
public List<ca.uhn.fhir.mdm.model.MdmPidTuple<JpaPid>> expandPidsFromGroupPidGivenMatchResult(JpaPid theGroupPid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMdmMatchResultEnum) -
expandPidsBySourcePidAndMatchResult
public List<ca.uhn.fhir.mdm.model.MdmPidTuple<JpaPid>> expandPidsBySourcePidAndMatchResult(JpaPid theSourcePid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMdmMatchResultEnum) -
findLinksAssociatedWithGoldenResourceOfSourceResourceExcludingNoMatch
public List<MdmLink> findLinksAssociatedWithGoldenResourceOfSourceResourceExcludingNoMatch(JpaPid theSourcePid) -
expandPidsByGoldenResourcePidAndMatchResult
public List<ca.uhn.fhir.mdm.model.MdmPidTuple<JpaPid>> expandPidsByGoldenResourcePidAndMatchResult(JpaPid theSourcePid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMdmMatchResultEnum) -
resolveGoldenResources
public Collection<ca.uhn.fhir.mdm.model.MdmPidTuple<JpaPid>> resolveGoldenResources(List<JpaPid> theSourcePids) -
findPidByResourceNameAndThreshold
public List<JpaPid> findPidByResourceNameAndThreshold(String theResourceName, Date theHighThreshold, org.springframework.data.domain.Pageable thePageable) -
findPidByResourceNameAndThresholdAndPartitionId
-
findAllById
-
findById
-
deleteAll
-
findAll
-
findAll
-
count
-
deleteAll
-
save
-
findOne
-
delete
-
validateMdmLink
public MdmLink validateMdmLink(ca.uhn.fhir.mdm.api.IMdmLink theMdmLink) throws ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException -
search
@Deprecated public org.springframework.data.domain.Page<MdmLink> search(org.hl7.fhir.instance.model.api.IIdType theGoldenResourceId, org.hl7.fhir.instance.model.api.IIdType theSourceId, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMatchResult, ca.uhn.fhir.mdm.api.MdmLinkSourceEnum theLinkSource, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest, List<Integer> thePartitionIds) Deprecated. -
search
-
findBySourcePidAndMatchResult
public Optional<MdmLink> findBySourcePidAndMatchResult(JpaPid theSourcePid, ca.uhn.fhir.mdm.api.MdmMatchResultEnum theMatch) -
deleteLinksWithAnyReferenceToPids
-
findHistory
@Deprecated(since="6.5.6", forRemoval=true) public org.springframework.data.history.Revisions<Long,MdmLink> findHistory(JpaPid theMdmLinkPid) Deprecated, for removal: This API element is subject to removal in a future version. -
getHistoryForIds
public List<ca.uhn.fhir.mdm.api.MdmLinkWithRevision<MdmLink>> getHistoryForIds(ca.uhn.fhir.mdm.api.params.MdmHistorySearchParameters theMdmHistorySearchParameters)
-