Class MdmControllerSvcImpl

java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.MdmControllerSvcImpl
All Implemented Interfaces:
ca.uhn.fhir.mdm.api.IMdmControllerSvc

@Service public class MdmControllerSvcImpl extends Object implements ca.uhn.fhir.mdm.api.IMdmControllerSvc
This class acts as a layer between MdmProviders and MDM services to support a REST API that's not a FHIR Operation API.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hl7.fhir.instance.model.api.IAnyResource
    createLink(String theGoldenResourceId, String theSourceResourceId, String theMatchResult, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
     
    org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson>
    getDuplicateGoldenResources(ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest)
     
    org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson>
    getDuplicateGoldenResources(ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, String theRequestResourceType)
     
    org.hl7.fhir.instance.model.api.IAnyResource
    mergeGoldenResources(String theFromGoldenResourceId, String theToGoldenResourceId, org.hl7.fhir.instance.model.api.IAnyResource theManuallyMergedGoldenResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
     
    void
    notDuplicateGoldenResource(String theGoldenResourceId, String theTargetGoldenResourceId, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
     
    List<ca.uhn.fhir.mdm.api.MdmLinkWithRevisionJson>
    queryLinkHistory(ca.uhn.fhir.mdm.api.MdmHistorySearchParameters theMdmHistorySearchParameters, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
     
    org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson>
    queryLinks(ca.uhn.fhir.mdm.api.MdmQuerySearchParameters theMdmQuerySearchParameters, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
     
    org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson>
    queryLinks(String theGoldenResourceId, String theSourceResourceId, String theMatchResult, String theLinkSource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest)
    Deprecated.
    org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson>
    queryLinks(String theGoldenResourceId, String theSourceResourceId, String theMatchResult, String theLinkSource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Deprecated.
    org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson>
    queryLinksFromPartitionList(ca.uhn.fhir.mdm.api.MdmQuerySearchParameters theMdmQuerySearchParameters, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
     
    org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson>
    queryLinksFromPartitionList(String theGoldenResourceId, String theSourceResourceId, String theMatchResult, String theLinkSource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest, List<Integer> thePartitionIds)
    Deprecated.
    org.hl7.fhir.instance.model.api.IBaseParameters
    submitMdmClearJob(List<String> theResourceNames, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
     
    org.hl7.fhir.instance.model.api.IBaseParameters
    submitMdmSubmitJob(List<String> theUrls, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
     
    org.hl7.fhir.instance.model.api.IAnyResource
    updateLink(String theGoldenResourceId, String theSourceResourceId, String theMatchResult, 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

    • mergeGoldenResources

      public org.hl7.fhir.instance.model.api.IAnyResource mergeGoldenResources(String theFromGoldenResourceId, String theToGoldenResourceId, org.hl7.fhir.instance.model.api.IAnyResource theManuallyMergedGoldenResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Specified by:
      mergeGoldenResources in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • queryLinks

      @Deprecated public org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson> queryLinks(@Nullable String theGoldenResourceId, @Nullable String theSourceResourceId, @Nullable String theMatchResult, @Nullable String theLinkSource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest)
      Deprecated.
      Specified by:
      queryLinks in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • queryLinks

      @Deprecated public org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson> queryLinks(@Nullable String theGoldenResourceId, @Nullable String theSourceResourceId, @Nullable String theMatchResult, @Nullable String theLinkSource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest, @Nullable ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Deprecated.
      Specified by:
      queryLinks in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • queryLinks

      public org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson> queryLinks(ca.uhn.fhir.mdm.api.MdmQuerySearchParameters theMdmQuerySearchParameters, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Specified by:
      queryLinks in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • queryLinkHistory

      public List<ca.uhn.fhir.mdm.api.MdmLinkWithRevisionJson> queryLinkHistory(ca.uhn.fhir.mdm.api.MdmHistorySearchParameters theMdmHistorySearchParameters, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Specified by:
      queryLinkHistory in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • queryLinksFromPartitionList

      @Deprecated public org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson> queryLinksFromPartitionList(@Nullable String theGoldenResourceId, @Nullable String theSourceResourceId, @Nullable String theMatchResult, @Nullable String theLinkSource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest, @Nullable List<Integer> thePartitionIds)
      Deprecated.
      Specified by:
      queryLinksFromPartitionList in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • queryLinksFromPartitionList

      public org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson> queryLinksFromPartitionList(ca.uhn.fhir.mdm.api.MdmQuerySearchParameters theMdmQuerySearchParameters, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Specified by:
      queryLinksFromPartitionList in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • getDuplicateGoldenResources

      public org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson> getDuplicateGoldenResources(ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest)
      Specified by:
      getDuplicateGoldenResources in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • getDuplicateGoldenResources

      public org.springframework.data.domain.Page<ca.uhn.fhir.mdm.api.MdmLinkJson> getDuplicateGoldenResources(ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext, ca.uhn.fhir.mdm.api.paging.MdmPageRequest thePageRequest, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, String theRequestResourceType)
      Specified by:
      getDuplicateGoldenResources in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • updateLink

      public org.hl7.fhir.instance.model.api.IAnyResource updateLink(String theGoldenResourceId, String theSourceResourceId, String theMatchResult, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Specified by:
      updateLink in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • createLink

      public org.hl7.fhir.instance.model.api.IAnyResource createLink(String theGoldenResourceId, String theSourceResourceId, @Nullable String theMatchResult, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Specified by:
      createLink in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • submitMdmClearJob

      public org.hl7.fhir.instance.model.api.IBaseParameters submitMdmClearJob(@Nonnull List<String> theResourceNames, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
      Specified by:
      submitMdmClearJob in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • submitMdmSubmitJob

      public org.hl7.fhir.instance.model.api.IBaseParameters submitMdmSubmitJob(List<String> theUrls, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
      Specified by:
      submitMdmSubmitJob in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc
    • notDuplicateGoldenResource

      public void notDuplicateGoldenResource(String theGoldenResourceId, String theTargetGoldenResourceId, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Specified by:
      notDuplicateGoldenResource in interface ca.uhn.fhir.mdm.api.IMdmControllerSvc