Uses of Class
ca.uhn.fhir.jpa.api.model.DaoMethodOutcome
Package
Description
-
Uses of DaoMethodOutcome in ca.uhn.fhir.jpa.api.dao
Modifier and TypeMethodDescriptionDeprecated.IFhirResourceDao.create
(T theResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Deprecated.IFhirResourceDao.create
(T theResource, String theIfNoneExist, boolean thePerformIndexing, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) IFhirResourceDao.create
(T theResource, String theIfNoneExist, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) IFhirResourceDao.delete
(org.hl7.fhir.instance.model.api.IIdType theResource) Deprecated.UseIFhirResourceDao.delete(IIdType, RequestDetails)
insteadIFhirResourceDao.delete
(org.hl7.fhir.instance.model.api.IIdType theResource, DeleteConflictList theDeleteConflictsListToPopulate, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) This method does not throw an exception if there are delete conflicts, but populates them in the provided listIFhirResourceDao.delete
(org.hl7.fhir.instance.model.api.IIdType theResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) This method throws an exception if there are delete conflictsIFhirResourceDao.patch
(org.hl7.fhir.instance.model.api.IIdType theId, String theConditionalUrl, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, String thePatchBody, org.hl7.fhir.instance.model.api.IBaseParameters theFhirPatchBody, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Opens a new transaction and performs a patch operationIFhirResourceDao.patchInTransaction
(org.hl7.fhir.instance.model.api.IIdType theId, String theConditionalUrl, boolean thePerformIndexing, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, String thePatchBody, org.hl7.fhir.instance.model.api.IBaseParameters theFhirPatchBody, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) Execute a patch operation within the existing database transactionDeprecated.UseIFhirResourceDao.update(T, RequestDetails)
insteadIFhirResourceDao.update
(T theResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Deprecated.IFhirResourceDao.update
(T theResource, String theMatchUrl, boolean thePerformIndexing, boolean theForceUpdateVersion, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) IFhirResourceDao.update
(T theResource, String theMatchUrl, boolean thePerformIndexing, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) IFhirResourceDao.update
(T theResource, String theMatchUrl, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) IJpaDao.updateInternal
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, T theResource, String theMatchUrl, boolean thePerformIndexing, boolean theForceUpdateVersion, IBasePersistedResource theEntity, org.hl7.fhir.instance.model.api.IIdType theResourceId, org.hl7.fhir.instance.model.api.IBaseResource theOldResource, ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperationType, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) -
Uses of DaoMethodOutcome in ca.uhn.fhir.jpa.api.model
Modifier and TypeMethodDescriptionDaoMethodOutcome.setCreated
(Boolean theCreated) DaoMethodOutcome.setEntity
(IBasePersistedResource theEntity) DaoMethodOutcome.setNop
(boolean theNop) Was this a NO-OP - Typically because of an update to a resource that already matched the contents providedDaoMethodOutcome.setPersistentId
(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theResourcePersistentId) -
Uses of DaoMethodOutcome in ca.uhn.fhir.jpa.dao
Modifier and TypeMethodDescriptionprotected DaoMethodOutcome
BaseStorageDao.createMethodOutcomeForResourceId
(String theResourceId, String theMessageKey, ca.uhn.fhir.model.api.StorageResponseCodeEnum theStorageResponseCode) Creates a base method outcome for a delete request for the provided ID.protected DaoMethodOutcome
BaseStorageResourceDao.doUpdateForUpdateOrPatch
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IIdType theResourceId, String theMatchUrl, boolean thePerformIndexing, boolean theForceUpdateVersion, T theResource, IBasePersistedResource theEntity, ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperationType, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) BaseStorageResourceDao.patch
(org.hl7.fhir.instance.model.api.IIdType theId, String theConditionalUrl, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, String thePatchBody, org.hl7.fhir.instance.model.api.IBaseParameters theFhirPatchBody, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) BaseStorageResourceDao.patchInTransaction
(org.hl7.fhir.instance.model.api.IIdType theId, String theConditionalUrl, boolean thePerformIndexing, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, String thePatchBody, org.hl7.fhir.instance.model.api.IBaseParameters theFhirPatchBody, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) protected DaoMethodOutcome
BaseStorageDao.toMethodOutcome
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, IBasePersistedResource theEntity, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theMatchUrl, ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperationType) protected DaoMethodOutcome
BaseStorageDao.toMethodOutcomeLazy
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theResourcePersistentId, Supplier<LazyDaoMethodOutcome.EntityAndResource> theEntity, Supplier<org.hl7.fhir.instance.model.api.IIdType> theIdSupplier) Modifier and TypeMethodDescriptionprotected void
BaseStorageDao.populateOperationOutcomeForUpdate
(ca.uhn.fhir.util.StopWatch theItemStopwatch, DaoMethodOutcome theMethodOutcome, String theMatchUrl, ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperationType) Modifier and TypeMethodDescriptionprotected EntriesToProcessMap
BaseTransactionProcessor.doTransactionWriteOperations
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theActionName, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, Set<org.hl7.fhir.instance.model.api.IIdType> theAllIds, IdSubstitutionMap theIdSubstitutions, Map<org.hl7.fhir.instance.model.api.IIdType, DaoMethodOutcome> theIdToPersistedOutcome, org.hl7.fhir.instance.model.api.IBaseBundle theResponse, IdentityHashMap<org.hl7.fhir.instance.model.api.IBase, Integer> theOriginalRequestOrder, List<org.hl7.fhir.instance.model.api.IBase> theEntries, ca.uhn.fhir.util.StopWatch theTransactionStopWatch) After pre-hooks have been calledprotected abstract void
BaseTransactionProcessor.flushSession
(Map<org.hl7.fhir.instance.model.api.IIdType, DaoMethodOutcome> theIdToPersistedOutcome) -
Uses of DaoMethodOutcome in ca.uhn.fhir.jpa.provider
Modifier and TypeMethodDescriptionBaseJpaResourceProvider.patch
(jakarta.servlet.http.HttpServletRequest theRequest, org.hl7.fhir.instance.model.api.IIdType theId, String theConditionalUrl, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, String theBody, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, org.hl7.fhir.instance.model.api.IBaseParameters theRequestBody)
IFhirResourceDao.create(IBaseResource, RequestDetails)
instead