Class FhirResourceDaoSubscriptionDstu3

java.lang.Object
ca.uhn.fhir.jpa.dao.BaseStorageDao
ca.uhn.fhir.jpa.dao.BaseStorageResourceDao<org.hl7.fhir.dstu3.model.Subscription>
ca.uhn.fhir.jpa.dao.BaseHapiFhirDao<org.hl7.fhir.dstu3.model.Subscription>
ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao<org.hl7.fhir.dstu3.model.Subscription>
ca.uhn.fhir.jpa.dao.dstu3.FhirResourceDaoSubscriptionDstu3
All Implemented Interfaces:
IDao, IFhirResourceDao<org.hl7.fhir.dstu3.model.Subscription>, IFhirResourceDaoSubscription<org.hl7.fhir.dstu3.model.Subscription>, IJpaDao<org.hl7.fhir.dstu3.model.Subscription>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class FhirResourceDaoSubscriptionDstu3 extends BaseHapiFhirResourceDao<org.hl7.fhir.dstu3.model.Subscription> implements IFhirResourceDaoSubscription<org.hl7.fhir.dstu3.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.dstu3.model.Subscription>
    • postPersist

      protected void postPersist(ResourceTable theEntity, org.hl7.fhir.dstu3.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.dstu3.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.dstu3.model.Subscription>
      Overrides:
      updateEntity in class BaseHapiFhirDao<org.hl7.fhir.dstu3.model.Subscription>