Class FhirResourceDaoSubscriptionR4

All Implemented Interfaces:
IDao, IFhirResourceDao<org.hl7.fhir.r4.model.Subscription>, IFhirResourceDaoSubscription<org.hl7.fhir.r4.model.Subscription>, 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 IFhirResourceDaoSubscription<org.hl7.fhir.r4.model.Subscription>
  • Constructor Details

  • Method Details

    • 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 IFhirResourceDaoSubscription<org.hl7.fhir.r4.model.Subscription>
    • postPersist

      protected void postPersist(ResourceTable theEntity, org.hl7.fhir.r4.model.Subscription theSubscription, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      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
      theRequestDetails - The request details, needed for partition support
    • 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 IJpaDao<org.hl7.fhir.r4.model.Subscription>
      Overrides:
      updateEntity in class BaseHapiFhirDao<org.hl7.fhir.r4.model.Subscription>