Class FhirResourceDaoSearchParameterDstu3

java.lang.Object
ca.uhn.fhir.jpa.dao.BaseStorageDao
ca.uhn.fhir.jpa.dao.BaseHapiFhirDao<T>
ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao<org.hl7.fhir.dstu3.model.SearchParameter>
ca.uhn.fhir.jpa.dao.dstu3.FhirResourceDaoSearchParameterDstu3
All Implemented Interfaces:
ca.uhn.fhir.jpa.api.dao.IDao, ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<org.hl7.fhir.dstu3.model.SearchParameter>, ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoSearchParameter<org.hl7.fhir.dstu3.model.SearchParameter>, ca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.dstu3.model.SearchParameter>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class FhirResourceDaoSearchParameterDstu3 extends BaseHapiFhirResourceDao<org.hl7.fhir.dstu3.model.SearchParameter> implements ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoSearchParameter<org.hl7.fhir.dstu3.model.SearchParameter>
  • Constructor Details

  • Method Details

    • markAffectedResources

      protected void markAffectedResources(org.hl7.fhir.dstu3.model.SearchParameter theResource)
    • postPersist

      protected void postPersist(ResourceTable theEntity, org.hl7.fhir.dstu3.model.SearchParameter theResource)
      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.SearchParameter>
      Parameters:
      theEntity - The entity being updated (Do not modify the entity! Undefined behaviour will occur!)
      theResource - The resource being persisted
    • postUpdate

      protected void postUpdate(ResourceTable theEntity, org.hl7.fhir.dstu3.model.SearchParameter theResource)
      Description copied from class: BaseHapiFhirDao
      Subclasses may override to provide behaviour. Called when a pre-existing resource has been updated in the database
      Overrides:
      postUpdate in class BaseHapiFhirDao<org.hl7.fhir.dstu3.model.SearchParameter>
      Parameters:
      theEntity - The resource
      theResource - The resource being persisted
    • preDelete

      protected void preDelete(org.hl7.fhir.dstu3.model.SearchParameter theResourceToDelete, ResourceTable theEntityToDelete)
      Description copied from class: BaseHapiFhirResourceDao
      Subclasses may override to provide behaviour. Invoked within a delete transaction with the resource that is about to be deleted.
      Overrides:
      preDelete in class BaseHapiFhirResourceDao<org.hl7.fhir.dstu3.model.SearchParameter>
    • validateResourceForStorage

      protected void validateResourceForStorage(org.hl7.fhir.dstu3.model.SearchParameter theResource, ResourceTable theEntityToSave)
      Description copied from class: BaseHapiFhirDao
      This method is invoked immediately before storing a new resource, or an update to an existing resource to allow the DAO to ensure that it is valid for persistence. By default, checks for the "subsetted" tag and rejects resources which have it. Subclasses should call the superclass implementation to preserve this check.
      Overrides:
      validateResourceForStorage in class BaseHapiFhirDao<org.hl7.fhir.dstu3.model.SearchParameter>
      Parameters:
      theResource - The resource that is about to be persisted
      theEntityToSave - TODO