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 Summary
Modifier and TypeMethodDescriptioncount()
void
void
void
void
deleteLinksWithAnyReferenceToPids
(List<P> theResourcePersistentIds) int
deleteWithAnyReferenceToPid
(P thePid) int
deleteWithAnyReferenceToPidAndMatchResultNot
(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) 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
-
expandPidsFromGroupPidGivenMatchResult
List<MdmPidTuple<P>> expandPidsFromGroupPidGivenMatchResult(P theGroupPid, MdmMatchResultEnum theMdmMatchResultEnum) -
expandPidsBySourcePidAndMatchResult
List<MdmPidTuple<P>> expandPidsBySourcePidAndMatchResult(P theSourcePid, MdmMatchResultEnum theMdmMatchResultEnum) -
expandPidsByGoldenResourcePidAndMatchResult
List<MdmPidTuple<P>> expandPidsByGoldenResourcePidAndMatchResult(P theSourcePid, MdmMatchResultEnum theMdmMatchResultEnum) -
findLinksAssociatedWithGoldenResourceOfSourceResourceExcludingNoMatch
default List<M> findLinksAssociatedWithGoldenResourceOfSourceResourceExcludingNoMatch(P theSourcePid) -
findPidByResourceNameAndThreshold
List<P> findPidByResourceNameAndThreshold(String theResourceName, Date theHighThreshold, org.springframework.data.domain.Pageable thePageable) -
findPidByResourceNameAndThresholdAndPartitionId
-
findAllById
-
findById
-
deleteAll
-
findAll
-
findAll
-
count
-
deleteAll
void deleteAll() -
save
-
findOne
-
delete
-
validateMdmLink
M 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. -
search
org.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. -
getHistoryForIds
default List<MdmLinkWithRevision<M>> getHistoryForIds(MdmHistorySearchParameters theMdmHistorySearchParameters)
-