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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isDuringMatchUrlQuerySpan(ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
    Are we currently processing a match URL query?
    void
    matchUrlResolved(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, String theResourceType, String theMatchUrl, T theResourcePersistentId)
     
    <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, RequestPartitionId thePartitionId)
    Note that this will only return a maximum of 2 results!!
    <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, RequestPartitionId thePartitionId)
    Note that this will only return a maximum of 2 results!!
    processMatchUrlUsingCacheOnly(String theResourceType, String theMatchUrl, RequestPartitionId thePartitionId)
     
    <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, org.hl7.fhir.instance.model.api.IBaseResource theConditionalOperationTargetOrNull)
     
    void
    unresolveMatchUrl(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, String theResourceType, String theMatchUrl)
     

    Methods inherited from class java.lang.Object

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

  • 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, RequestPartitionId thePartitionId)
      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, RequestPartitionId thePartitionId)
      Note that this will only return a maximum of 2 results!!
    • isDuringMatchUrlQuerySpan

      public static boolean isDuringMatchUrlQuerySpan(@Nonnull ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
      Are we currently processing a match URL query?
      Parameters:
      theRequest - holds our private flag
      Returns:
      true if we are currently processing a match URL query, false otherwise
    • processMatchUrlUsingCacheOnly

      @Nullable public T processMatchUrlUsingCacheOnly(String theResourceType, String theMatchUrl, RequestPartitionId thePartitionId)
    • 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)