Interface IFhirSystemDao<T,​MT>

Type Parameters:
T - The bundle type
MT - The Meta datatype type
All Superinterfaces:
IDao

public interface IFhirSystemDao<T,​MT> extends IDao
Note that this interface is not considered a stable interface. While it is possible to build applications that use it directly, please be aware that we may modify methods, add methods, or even remove methods from time to time, even within minor point releases.
  • Field Summary

    Fields inherited from interface ca.uhn.fhir.jpa.api.dao.IDao

    CURRENTLY_REINDEXING, RESOURCE_PID, RESOURCE_PID_KEY
  • Method Summary

    Modifier and Type
    Method
    Description
    expunge​(ExpungeOptions theExpungeOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
     
     
    Returns a cached count of resources using a cache that regularly refreshes in the background.
    ca.uhn.fhir.rest.api.server.IBundleProvider
    history​(Date theDate, Date theUntil, Integer theOffset, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
     
    metaGetOperation​(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Not supported for DSTU1
    org.hl7.fhir.instance.model.api.IBaseBundle
    processMessage​(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseBundle theMessage)
    Implementations may implement this method to implement the $process-message operation
    transaction​(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, T theResources)
    Executes a FHIR transaction using a new database transaction.
    default T
    transactionNested​(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, T theResources)
    Executes a FHIR transaction nested inside the current database transaction.

    Methods inherited from interface ca.uhn.fhir.jpa.api.dao.IDao

    getContext, toResource, toResource
  • Method Details

    • expunge

      ExpungeOutcome expunge(ExpungeOptions theExpungeOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    • getResourceCounts

    • getResourceCountsFromCache

      Returns a cached count of resources using a cache that regularly refreshes in the background. This method will never block, and may return null if nothing is in the cache.
    • history

      ca.uhn.fhir.rest.api.server.IBundleProvider history(Date theDate, Date theUntil, Integer theOffset, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    • metaGetOperation

      MT metaGetOperation(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Not supported for DSTU1
      Parameters:
      theRequestDetails - TODO
    • processMessage

      org.hl7.fhir.instance.model.api.IBaseBundle processMessage(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseBundle theMessage)
      Implementations may implement this method to implement the $process-message operation
    • transaction

      T transaction(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, T theResources)
      Executes a FHIR transaction using a new database transaction. This method must not be called from within a DB transaction.
    • transactionNested

      default T transactionNested(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, T theResources)
      Executes a FHIR transaction nested inside the current database transaction. This form of the transaction processor can handle write operations only (no reads)