Class MdmLinkSvcImpl

java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.MdmLinkSvcImpl
All Implemented Interfaces:
ca.uhn.fhir.mdm.api.IMdmLinkSvc

@Service public class MdmLinkSvcImpl extends Object implements ca.uhn.fhir.mdm.api.IMdmLinkSvc
This class is in charge of managing MdmLinks between Golden Resources and source resources
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteLink(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, org.hl7.fhir.instance.model.api.IAnyResource theSourceResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
     
    void
    deleteLinksWithAnyReferenceTo(List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theGoldenResourceIds)
     
    void
    updateLink(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, org.hl7.fhir.instance.model.api.IAnyResource theSourceResource, ca.uhn.fhir.mdm.api.MdmMatchOutcome theMatchOutcome, ca.uhn.fhir.mdm.api.MdmLinkSourceEnum theLinkSource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • updateLink

      @Transactional public void updateLink(@Nonnull org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, @Nonnull org.hl7.fhir.instance.model.api.IAnyResource theSourceResource, ca.uhn.fhir.mdm.api.MdmMatchOutcome theMatchOutcome, ca.uhn.fhir.mdm.api.MdmLinkSourceEnum theLinkSource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Specified by:
      updateLink in interface ca.uhn.fhir.mdm.api.IMdmLinkSvc
    • deleteLink

      public void deleteLink(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, org.hl7.fhir.instance.model.api.IAnyResource theSourceResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Specified by:
      deleteLink in interface ca.uhn.fhir.mdm.api.IMdmLinkSvc
    • deleteLinksWithAnyReferenceTo

      @Transactional public void deleteLinksWithAnyReferenceTo(List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theGoldenResourceIds)
      Specified by:
      deleteLinksWithAnyReferenceTo in interface ca.uhn.fhir.mdm.api.IMdmLinkSvc