Class FhirResourceDaoSubscriptionDstu2

java.lang.Object
ca.uhn.fhir.jpa.dao.BaseStorageDao
ca.uhn.fhir.jpa.dao.BaseHapiFhirDao<T>
ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Subscription>
ca.uhn.fhir.jpa.dao.FhirResourceDaoSubscriptionDstu2
All Implemented Interfaces:
ca.uhn.fhir.jpa.api.dao.IDao, ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Subscription>, ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoSubscription<ca.uhn.fhir.model.dstu2.resource.Subscription>, ca.uhn.fhir.jpa.api.dao.IJpaDao<ca.uhn.fhir.model.dstu2.resource.Subscription>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class FhirResourceDaoSubscriptionDstu2 extends BaseHapiFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Subscription> implements ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoSubscription<ca.uhn.fhir.model.dstu2.resource.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 ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoSubscription<ca.uhn.fhir.model.dstu2.resource.Subscription>
    • postPersist

      protected void postPersist(ResourceTable theEntity, ca.uhn.fhir.model.dstu2.resource.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<ca.uhn.fhir.model.dstu2.resource.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<ca.uhn.fhir.model.dstu2.resource.Subscription>
      Overrides:
      updateEntity in class BaseHapiFhirDao<ca.uhn.fhir.model.dstu2.resource.Subscription>