Package ca.uhn.fhir.jpa.dao
Class MatchResourceUrlService<T extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId>
java.lang.Object
ca.uhn.fhir.jpa.dao.MatchResourceUrlService<T>
@Service
public class MatchResourceUrlService<T extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId>
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
matchUrlResolved
(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, String theResourceType, String theMatchUrl, T theResourcePersistentId) processMatchUrl
(String theMatchUrl, Class<R> theResourceType, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) Note that this will only return a maximum of 2 results!!processMatchUrl
(String theMatchUrl, Class<R> theResourceType, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theConditionalOperationTargetOrNull) Note that this will only return a maximum of 2 results!!processMatchUrlUsingCacheOnly
(String theResourceType, String theMatchUrl) search
(SearchParameterMap theParamMap, Class<R> theResourceType, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theConditionalOperationTargetOrNull) void
unresolveMatchUrl
(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, String theResourceType, String theMatchUrl)
-
Constructor Details
-
MatchResourceUrlService
public MatchResourceUrlService()
-
-
Method Details
-
processMatchUrl
public <R extends org.hl7.fhir.instance.model.api.IBaseResource> Set<T> processMatchUrl(String theMatchUrl, Class<R> theResourceType, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) Note that this will only return a maximum of 2 results!! -
processMatchUrl
public <R extends org.hl7.fhir.instance.model.api.IBaseResource> Set<T> processMatchUrl(String theMatchUrl, Class<R> theResourceType, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theConditionalOperationTargetOrNull) Note that this will only return a maximum of 2 results!! -
processMatchUrlUsingCacheOnly
-
search
public <R extends org.hl7.fhir.instance.model.api.IBaseResource> Set<T> search(SearchParameterMap theParamMap, Class<R> theResourceType, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, @Nullable org.hl7.fhir.instance.model.api.IBaseResource theConditionalOperationTargetOrNull) -
matchUrlResolved
public void matchUrlResolved(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, String theResourceType, String theMatchUrl, T theResourcePersistentId) -
unresolveMatchUrl
public void unresolveMatchUrl(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, String theResourceType, String theMatchUrl)
-