
Package ca.uhn.fhir.jpa.dao
Class JpaResourceDaoValueSet<T extends org.hl7.fhir.instance.model.api.IBaseResource>
java.lang.Object
ca.uhn.fhir.jpa.dao.BaseStorageDao
ca.uhn.fhir.jpa.dao.BaseStorageResourceDao<T>
ca.uhn.fhir.jpa.dao.BaseHapiFhirDao<T>
ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao<T>
ca.uhn.fhir.jpa.dao.JpaResourceDaoValueSet<T>
- All Implemented Interfaces:
IDao,IFhirResourceDao<T>,IFhirResourceDaoValueSet<T>,IJpaDao<T>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class JpaResourceDaoValueSet<T extends org.hl7.fhir.instance.model.api.IBaseResource>
extends BaseHapiFhirResourceDao<T>
implements IFhirResourceDaoValueSet<T>
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao
BASE_RESOURCE_NAME, myInterceptorBroadcaster, myPlatformTransactionManager, mySearchDao, myTransactionServiceFields inherited from class ca.uhn.fhir.jpa.dao.BaseHapiFhirDao
cacheTagDefinitionDao, myCodingSpy, myDeleteConflictService, myEntityManager, myIdHelperService, myInMemoryResourceMatcher, myJpaStorageResourceParser, myPartitionSettings, myResourceHistoryCalculator, myResourceHistoryTableDao, myResourceLinkDao, myResourceTableDao, myResourceTagDao, myResourceTypeCacheSvc, mySearchCoordinatorSvc, myTerminologySvc, NS_JPA_PROFILEFields inherited from class ca.uhn.fhir.jpa.dao.BaseStorageResourceDao
STRICT_ERROR_HANDLERFields inherited from class ca.uhn.fhir.jpa.dao.BaseStorageDao
MESSAGE_KEY_DELETE_RESOURCE_ALREADY_DELETED, MESSAGE_KEY_DELETE_RESOURCE_NOT_EXISTING, myFhirContext, myMetaTagSorter, myResourceVersionSvc, mySearchParamRegistry, myStorageSettings, OO_ISSUE_CODE_INFORMATIONAL, OO_SEVERITY_ERROR, OO_SEVERITY_INFO, OO_SEVERITY_WARNFields inherited from interface ca.uhn.fhir.jpa.api.dao.IDao
CURRENTLY_REINDEXING, RESOURCE_PID, RESOURCE_PID_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpand(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) expand(org.hl7.fhir.instance.model.api.IIdType theId, T theValueSet, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theUrl, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theValueSetVersion, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theFilter, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theContext, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theContextDirection, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theOffset, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theCount, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplayLanguage, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theIncludeHierarchy, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) expandByIdentifier(String theUri, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions) updateEntity(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, 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) ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResultvalidateCode(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theValueSetIdentifier, org.hl7.fhir.instance.model.api.IIdType theValueSetId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplay, org.hl7.fhir.instance.model.api.IBaseCoding theCoding, org.hl7.fhir.instance.model.api.IBaseDatatype theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Methods inherited from class ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao
create, create, create, create, create, delete, delete, delete, deleteByUrl, deleteByUrl, deletePidList, doCreateForPost, doMetaAddOperation, doMetaDeleteOperation, doUpdateForUpdateOrPatch, expunge, expunge, expunge, fetchAllVersionsOfResources, forceExpungeInExistingTransaction, getDeleteExpungeJobSubmitter, getMatchResourceUrlService, getMatchUrlService, getMessageSanitized, getRequestPartitionHelperService, getResourceName, getResourceType, getStorageResourceParser, getTransactionService, history, history, history, invokeStoragePreAccessResources, invokeStoragePreShowResources, isPagingProviderDatabaseBacked, isResourceIdServerAssigned, metaAddOperation, metaDeleteOperation, metaGetOperation, metaGetOperation, postUpdateTransaction, preDelete, read, read, read, readByPid, readByPid, readEntity, readEntityLatestVersion, readEntityLatestVersion, reindex, reindex, removeTag, removeTag, requestReindexForRelatedResources, search, search, search, searchForIds, searchForIdStream, searchForResourceIds, searchForResources, setIdHelperSvcForUnitTest, setOffsetAndCount, setRequestPartitionHelperService, setResourceType, setTransactionService, shouldSkipReindex, start, toMetaDt, update, update, update, update, update, update, updateEntityForDelete, validate, validateCriteriaAndReturnResourceDefinition, validatePartitionIdMatchMethods inherited from class ca.uhn.fhir.jpa.dao.BaseHapiFhirDao
addPidToResource, decodeResource, getApplicationContext, getContext, getInterceptorBroadcaster, getStorageSettings, isLogicalReference, parseContentTextIntoWords, populateResourceIntoEntity, postDelete, postPersist, postUpdate, setApplicationContext, setContext, setDaoSearchParamSynchronizer, setDisableIncrementOnUpdateForUnitTest, setEntityManager, setExternallyStoredResourceServiceRegistryForUnitTest, setInterceptorBroadcasterForUnitTest, setJpaStorageResourceParserForUnitTest, setPartitionSettingsForUnitTest, setResourceHistoryCalculator, setResourceHistoryTableDao, setResourceTypeCacheSvc, setSearchParamPresenceSvc, setSearchParamWithInlineReferencesExtractor, setStorageSettingsForUnitTest, setValidationDisabledForUnitTest, shouldDroppedTagBeRemovedOnUpdate, updateHistoryEntity, updateInternal, updateTags, validateMetaCount, validateResourceForStorageMethods inherited from class ca.uhn.fhir.jpa.dao.BaseStorageResourceDao
deleteExpunge, patch, patchInTransaction, validateResourceTypeMethods inherited from class ca.uhn.fhir.jpa.dao.BaseStorageDao
addIssueToOperationOutcomeForAutoCreatedPlaceholder, clearRequestAsProcessingSubRequest, createErrorOperationOutcome, createInfoOperationOutcome, createInfoOperationOutcome, createMethodOutcomeForResourceId, createResourceGoneException, createWarnOperationOutcome, doCallHooks, extractReferencesToAutoVersion, extractReferencesToAvoidReplacement, markRequestAsProcessingSubRequest, populateOperationOutcomeForUpdate, preProcessResourceForStorage, preProcessResourceForStorage, setMyMetaTagSorter, setSearchParamRegistry, toMethodOutcome, toMethodOutcomeLazy, translateRawParameters, verifyResourceIdIsValidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.jpa.api.dao.IDao
getContextMethods inherited from interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDao
create, create, create, create, create, delete, delete, delete, deleteByUrl, deleteByUrl, deletePidList, deletePidList, expunge, expunge, expunge, fetchAllVersionsOfResources, forceExpungeInExistingTransaction, getCurrentVersionId, getReindexJobStatus, getResourceType, history, history, history, metaAddOperation, metaDeleteOperation, metaGetOperation, metaGetOperation, patch, patchInTransaction, read, read, read, readByPid, readByPid, readEntity, reindex, reindex, removeTag, removeTag, search, search, search, searchForIds, searchForIds, searchForIdStream, searchForResourceIds, searchForResources, translateRawParameters, update, update, update, update, update, update, validate, validateCriteriaAndReturnResourceDefinition
-
Constructor Details
-
JpaResourceDaoValueSet
public JpaResourceDaoValueSet()
-
-
Method Details
-
expand
public T expand(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
expandin interfaceIFhirResourceDaoValueSet<T extends org.hl7.fhir.instance.model.api.IBaseResource>
-
expandByIdentifier
public T expandByIdentifier(String theUri, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions) - Specified by:
expandByIdentifierin interfaceIFhirResourceDaoValueSet<T extends org.hl7.fhir.instance.model.api.IBaseResource>
-
expand
- Specified by:
expandin interfaceIFhirResourceDaoValueSet<T extends org.hl7.fhir.instance.model.api.IBaseResource>
-
expand
public T expand(org.hl7.fhir.instance.model.api.IIdType theId, T theValueSet, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theUrl, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theValueSetVersion, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theFilter, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theContext, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theContextDirection, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theOffset, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theCount, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplayLanguage, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theIncludeHierarchy, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
expandin interfaceIFhirResourceDaoValueSet<T extends org.hl7.fhir.instance.model.api.IBaseResource>
-
validateCode
public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theValueSetIdentifier, org.hl7.fhir.instance.model.api.IIdType theValueSetId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplay, org.hl7.fhir.instance.model.api.IBaseCoding theCoding, org.hl7.fhir.instance.model.api.IBaseDatatype theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
validateCodein interfaceIFhirResourceDaoValueSet<T extends org.hl7.fhir.instance.model.api.IBaseResource>
-
updateEntity
public ResourceTable updateEntity(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, 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:
updateEntityin interfaceIJpaDao<T extends org.hl7.fhir.instance.model.api.IBaseResource>- Overrides:
updateEntityin classBaseHapiFhirDao<T extends org.hl7.fhir.instance.model.api.IBaseResource>
-