Class FhirResourceDaoSubscriptionR4

  • All Implemented Interfaces:
    ca.uhn.fhir.jpa.api.dao.IDao, ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<org.hl7.fhir.r4.model.Subscription>, ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoSubscription<org.hl7.fhir.r4.model.Subscription>, ca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.r4.model.Subscription>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class FhirResourceDaoSubscriptionR4
    extends BaseHapiFhirResourceDao<org.hl7.fhir.r4.model.Subscription>
    implements ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoSubscription<org.hl7.fhir.r4.model.Subscription>
    • Method Detail

      • getSubscriptionTablePidForSubscriptionResource

        public Long getSubscriptionTablePidForSubscriptionResource​(org.hl7.fhir.instance.model.api.IIdType theId,
                                                                   ca.uhn.fhir.rest.api.server.RequestDetails theRequest,
                                                                   ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails)
        Specified by:
        getSubscriptionTablePidForSubscriptionResource in interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoSubscription<org.hl7.fhir.r4.model.Subscription>
      • postPersist

        protected void postPersist​(ResourceTable theEntity,
                                   org.hl7.fhir.r4.model.Subscription theSubscription)
        Description copied from class: BaseHapiFhirDao
        Subclasses may override to provide behaviour. Called when a resource has been inserted into the database for the first time.
        Overrides:
        postPersist in class BaseHapiFhirDao<org.hl7.fhir.r4.model.Subscription>
        Parameters:
        theEntity - The entity being updated (Do not modify the entity! Undefined behaviour will occur!)
        theSubscription - The resource being persisted
      • updateEntity

        public ResourceTable updateEntity​(ca.uhn.fhir.rest.api.server.RequestDetails theRequest,
                                          org.hl7.fhir.instance.model.api.IBaseResource theResource,
                                          IBasePersistedResource theEntity,
                                          Date theDeletedTimestampOrNull,
                                          boolean thePerformIndexing,
                                          boolean theUpdateVersion,
                                          ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails,
                                          boolean theForceUpdate,
                                          boolean theCreateNewHistoryEntry)
        Specified by:
        updateEntity in interface ca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.r4.model.Subscription>
        Overrides:
        updateEntity in class BaseHapiFhirDao<org.hl7.fhir.r4.model.Subscription>