Package ca.uhn.fhir.jpa.mdm.svc
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IAnyResourcecreateLink(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) org.hl7.fhir.instance.model.api.IAnyResourcemergeGoldenResources(String theFromGoldenResourceId, String theToGoldenResourceId, org.hl7.fhir.instance.model.api.IAnyResource theManuallyMergedGoldenResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext) voidnotDuplicateGoldenResource(String theGoldenResourceId, String theTargetGoldenResourceId, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext) 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) 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) 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) org.hl7.fhir.instance.model.api.IBaseParameterssubmitMdmClearJob(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.IBaseParameterssubmitMdmSubmitJob(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.IAnyResourceupdateLink(String theGoldenResourceId, String theSourceResourceId, String theMatchResult, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
-
Constructor Details
-
MdmControllerSvcImpl
public MdmControllerSvcImpl()
-
-
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:
mergeGoldenResourcesin interfaceca.uhn.fhir.mdm.api.IMdmControllerSvc
-
queryLinks
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) - Specified by:
queryLinksin interfaceca.uhn.fhir.mdm.api.IMdmControllerSvc
-
queryLinks
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) - Specified by:
queryLinksin interfaceca.uhn.fhir.mdm.api.IMdmControllerSvc
-
queryLinksFromPartitionList
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) - Specified by:
queryLinksFromPartitionListin interfaceca.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:
getDuplicateGoldenResourcesin interfaceca.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) - Specified by:
getDuplicateGoldenResourcesin interfaceca.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:
updateLinkin interfaceca.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:
createLinkin interfaceca.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:
submitMdmClearJobin interfaceca.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:
submitMdmSubmitJobin interfaceca.uhn.fhir.mdm.api.IMdmControllerSvc
-
notDuplicateGoldenResource
public void notDuplicateGoldenResource(String theGoldenResourceId, String theTargetGoldenResourceId, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext) - Specified by:
notDuplicateGoldenResourcein interfaceca.uhn.fhir.mdm.api.IMdmControllerSvc
-