Class BaseHapiFhirSystemDao<T extends org.hl7.fhir.instance.model.api.IBaseBundle,​MT>

  • All Implemented Interfaces:
    ca.uhn.fhir.jpa.api.dao.IDao, ca.uhn.fhir.jpa.api.dao.IFhirSystemDao<T,​MT>, ca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.instance.model.api.IBaseResource>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
    Direct Known Subclasses:
    FhirSystemDaoDstu2, FhirSystemDaoDstu3, FhirSystemDaoR4, FhirSystemDaoR5

    public abstract class BaseHapiFhirSystemDao<T extends org.hl7.fhir.instance.model.api.IBaseBundle,​MT>
    extends BaseHapiFhirDao<org.hl7.fhir.instance.model.api.IBaseResource>
    implements ca.uhn.fhir.jpa.api.dao.IFhirSystemDao<T,​MT>
    • Method Detail

      • expunge

        @Transactional(propagation=NEVER)
        public ca.uhn.fhir.jpa.api.model.ExpungeOutcome expunge​(ca.uhn.fhir.jpa.api.model.ExpungeOptions theExpungeOptions,
                                                                ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
        Specified by:
        expunge in interface ca.uhn.fhir.jpa.api.dao.IFhirSystemDao<T extends org.hl7.fhir.instance.model.api.IBaseBundle,​MT>
      • getResourceCounts

        @Transactional(propagation=REQUIRED)
        public Map<String,​LonggetResourceCounts()
        Specified by:
        getResourceCounts in interface ca.uhn.fhir.jpa.api.dao.IFhirSystemDao<T extends org.hl7.fhir.instance.model.api.IBaseBundle,​MT>
      • getResourceCountsFromCache

        @Transactional(propagation=SUPPORTS)
        @Nullable
        public Map<String,​LonggetResourceCountsFromCache()
        Specified by:
        getResourceCountsFromCache in interface ca.uhn.fhir.jpa.api.dao.IFhirSystemDao<T extends org.hl7.fhir.instance.model.api.IBaseBundle,​MT>
      • history

        public ca.uhn.fhir.rest.api.server.IBundleProvider history​(Date theSince,
                                                                   Date theUntil,
                                                                   Integer theOffset,
                                                                   ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
        Specified by:
        history in interface ca.uhn.fhir.jpa.api.dao.IFhirSystemDao<T extends org.hl7.fhir.instance.model.api.IBaseBundle,​MT>
      • transaction

        @Transactional(propagation=NEVER)
        public T transaction​(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails,
                             T theRequest)
        Specified by:
        transaction in interface ca.uhn.fhir.jpa.api.dao.IFhirSystemDao<T extends org.hl7.fhir.instance.model.api.IBaseBundle,​MT>
      • transactionNested

        @Transactional(propagation=MANDATORY)
        public T transactionNested​(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails,
                                   T theRequest)
        Specified by:
        transactionNested in interface ca.uhn.fhir.jpa.api.dao.IFhirSystemDao<T extends org.hl7.fhir.instance.model.api.IBaseBundle,​MT>