Uses of Class
com.ibm.fhir.persistence.context.FHIRPersistenceEvent
-
-
Uses of FHIRPersistenceEvent in com.ibm.fhir.persistence.context
Methods in com.ibm.fhir.persistence.context that return FHIRPersistenceEvent Modifier and Type Method Description FHIRPersistenceEvent
FHIRPersistenceContext. getPersistenceEvent()
Returns the FHIRPersistenceEvent instance for the current request.Methods in com.ibm.fhir.persistence.context with parameters of type FHIRPersistenceEvent Modifier and Type Method Description static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, boolean includeDeleted)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, boolean includeDeleted, FHIRSearchContext searchContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, FHIRHistoryContext historyContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent and a FHIRHistoryContext.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, FHIRSearchContext searchContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent and a FHIRSearchContext.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, java.lang.Integer ifNoneMatch)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance. -
Uses of FHIRPersistenceEvent in com.ibm.fhir.persistence.context.impl
Methods in com.ibm.fhir.persistence.context.impl that return FHIRPersistenceEvent Modifier and Type Method Description FHIRPersistenceEvent
FHIRPersistenceContextImpl. getPersistenceEvent()
Methods in com.ibm.fhir.persistence.context.impl with parameters of type FHIRPersistenceEvent Modifier and Type Method Description static FHIRPersistenceContextImpl.Builder
FHIRPersistenceContextImpl. builder(FHIRPersistenceEvent event)
Factory function to create a FHIRPersistenceContext builderConstructors in com.ibm.fhir.persistence.context.impl with parameters of type FHIRPersistenceEvent Constructor Description Builder(FHIRPersistenceEvent event)
Protected constructor -
Uses of FHIRPersistenceEvent in com.ibm.fhir.persistence.interceptor
Methods in com.ibm.fhir.persistence.interceptor with parameters of type FHIRPersistenceEvent Modifier and Type Method Description default void
FHIRPersistenceInterceptor. afterCreate(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'create' REST API invocation, immediately after the new resource has been stored by the persistence layer.default void
FHIRPersistenceInterceptor. afterDelete(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'delete' REST API invocation, immediately after the resource has been deleted by the persistence layer.default void
FHIRPersistenceInterceptor. afterHistory(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'history' REST API invocation, immediately after the resource's history has been read by the persistence layer.default void
FHIRPersistenceInterceptor. afterPatch(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of an 'patch' REST API invocation, immediately after the updated resource has been stored by the persistence layer.default void
FHIRPersistenceInterceptor. afterRead(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'read' REST API invocation, immediately after the resource has been read by the persistence layer.default void
FHIRPersistenceInterceptor. afterSearch(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'search' REST API invocation, immediately after the search has been performed by the persistence layer.default void
FHIRPersistenceInterceptor. afterUpdate(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of an 'update' REST API invocation, immediately after the updated resource has been stored by the persistence layer.default void
FHIRPersistenceInterceptor. afterVread(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'vread' REST API invocation, immediately after the resource has been read by the persistence layer.default void
FHIRPersistenceInterceptor. beforeCreate(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'create' REST API invocation, immediately before the new resource is stored by the persistence layer.default void
FHIRPersistenceInterceptor. beforeDelete(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'delete' REST API invocation, immediately before the resource is deleted by the persistence layer.default void
FHIRPersistenceInterceptor. beforeHistory(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'history' REST API invocation, immediately before the resource's history is read by the persistence layer.default void
FHIRPersistenceInterceptor. beforePatch(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of an 'patch' REST API invocation, immediately before the updated resource is stored by the persistence layer.default void
FHIRPersistenceInterceptor. beforeRead(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'read' REST API invocation, immediately before the resource is read by the persistence layer.default void
FHIRPersistenceInterceptor. beforeSearch(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'search' REST API invocation, immediately before the search is performed by the persistence layer.default void
FHIRPersistenceInterceptor. beforeUpdate(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of an 'update' REST API invocation, immediately before the updated resource is stored by the persistence layer.default void
FHIRPersistenceInterceptor. beforeVread(FHIRPersistenceEvent event)
Deprecated.This method is called during the processing of a 'vread' (versioned read) REST API invocation, immediately before the resource is read by the persistence layer. -
Uses of FHIRPersistenceEvent in com.ibm.fhir.persistence.interceptor.impl
Methods in com.ibm.fhir.persistence.interceptor.impl with parameters of type FHIRPersistenceEvent Modifier and Type Method Description void
FHIRPersistenceInterceptorMgr. fireAfterCreateEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireAfterDeleteEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireAfterHistoryEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireAfterPatchEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireAfterReadEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireAfterSearchEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireAfterUpdateEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireAfterVreadEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireBeforeCreateEvent(FHIRPersistenceEvent event)
Deprecated.The following methods will invoke the respective interceptor methods on each registered interceptor.void
FHIRPersistenceInterceptorMgr. fireBeforeDeleteEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireBeforeHistoryEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireBeforePatchEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireBeforeReadEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireBeforeSearchEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireBeforeUpdateEvent(FHIRPersistenceEvent event)
Deprecated.void
FHIRPersistenceInterceptorMgr. fireBeforeVreadEvent(FHIRPersistenceEvent event)
Deprecated. -
Uses of FHIRPersistenceEvent in com.ibm.fhir.server.interceptor
Methods in com.ibm.fhir.server.interceptor with parameters of type FHIRPersistenceEvent Modifier and Type Method Description void
FHIRPersistenceInterceptorMgr. fireAfterCreateEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireAfterDeleteEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireAfterHistoryEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireAfterPatchEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireAfterReadEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireAfterSearchEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireAfterUpdateEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireAfterVreadEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireBeforeCreateEvent(FHIRPersistenceEvent event)
The following methods will invoke the respective interceptor methods on each registered interceptor.void
FHIRPersistenceInterceptorMgr. fireBeforeDeleteEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireBeforeHistoryEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireBeforePatchEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireBeforeReadEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireBeforeSearchEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireBeforeUpdateEvent(FHIRPersistenceEvent event)
void
FHIRPersistenceInterceptorMgr. fireBeforeVreadEvent(FHIRPersistenceEvent event)
-
Uses of FHIRPersistenceEvent in com.ibm.fhir.server.notification
Methods in com.ibm.fhir.server.notification with parameters of type FHIRPersistenceEvent Modifier and Type Method Description void
FHIRNotificationService. afterCreate(FHIRPersistenceEvent pEvent)
void
FHIRNotificationService. afterDelete(FHIRPersistenceEvent pEvent)
void
FHIRNotificationService. afterPatch(FHIRPersistenceEvent pEvent)
void
FHIRNotificationService. afterUpdate(FHIRPersistenceEvent pEvent)
-
Uses of FHIRPersistenceEvent in com.ibm.fhir.server.rest
Methods in com.ibm.fhir.server.rest that return FHIRPersistenceEvent Modifier and Type Method Description FHIRPersistenceEvent
FHIRRestInteractionResource. getEvent()
Methods in com.ibm.fhir.server.rest with parameters of type FHIRPersistenceEvent Modifier and Type Method Description FHIRRestOperationResponse
FHIRRestInteractionVisitor. doCreate(int entryIndex, FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, Resource resource, java.lang.String ifNoneExist, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
Performs the heavy lifting associated with a 'create' interaction.FHIRRestOperationResponse
FHIRRestInteractionVisitorMeta. doCreate(int entryIndex, FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, Resource resource, java.lang.String ifNoneExist, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorOffload. doCreate(int entryIndex, FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, Resource resource, java.lang.String ifNoneExist, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorPersist. doCreate(int entryIndex, FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, Resource resource, java.lang.String ifNoneExist, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorReferenceMapping. doCreate(int entryIndex, FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, Resource resource, java.lang.String ifNoneExist, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitor. doPatch(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource newResource, Resource prevResource, FHIRPatch patch, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.util.List<OperationOutcome.Issue> warnings, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
Performs a patch operation (a new version of the Resource will be stored).FHIRRestOperationResponse
FHIRRestInteractionVisitorMeta. doPatch(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource newResource, Resource prevResource, FHIRPatch patch, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.util.List<OperationOutcome.Issue> warnings, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorOffload. doPatch(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource resource, Resource prevResource, FHIRPatch patch, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.util.List<OperationOutcome.Issue> warnings, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorPersist. doPatch(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource newResource, Resource prevResource, FHIRPatch patch, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.util.List<OperationOutcome.Issue> warnings, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorReferenceMapping. doPatch(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource resource, Resource prevResource, FHIRPatch patch, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.util.List<OperationOutcome.Issue> warnings, java.lang.String localIdentifier, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitor. doUpdate(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource newResource, Resource prevResource, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.lang.String localIdentifier, java.util.List<OperationOutcome.Issue> warnings, boolean isDeleted, java.lang.Integer ifNoneMatch, PayloadPersistenceResponse offloadResponse)
Performs an update operation (a new version of the Resource will be stored).FHIRRestOperationResponse
FHIRRestInteractionVisitorMeta. doUpdate(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource resource, Resource prevResource, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.lang.String localIdentifier, java.util.List<OperationOutcome.Issue> warnings, boolean isDeleted, java.lang.Integer ifNoneMatch, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorOffload. doUpdate(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource resource, Resource prevResource, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.lang.String localIdentifier, java.util.List<OperationOutcome.Issue> warnings, boolean isDeleted, java.lang.Integer ifNoneMatch, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorPersist. doUpdate(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource newResource, Resource prevResource, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.lang.String localIdentifier, java.util.List<OperationOutcome.Issue> warnings, boolean isDeleted, java.lang.Integer ifNoneMatch, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestInteractionVisitorReferenceMapping. doUpdate(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, long accumulatedTime, java.lang.String type, java.lang.String id, Resource resource, Resource prevResource, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.lang.String localIdentifier, java.util.List<OperationOutcome.Issue> warnings, boolean isDeleted, java.lang.Integer ifNoneMatch, PayloadPersistenceResponse offloadResponse)
Constructors in com.ibm.fhir.server.rest with parameters of type FHIRPersistenceEvent Constructor Description FHIRRestInteractionCreate(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, java.lang.String type, Resource resource, java.lang.String ifNoneExist, java.lang.String localIdentifier)
Public constructorFHIRRestInteractionPatch(int entryIndex, FHIRPersistenceEvent event, java.lang.String requestDescription, FHIRUrlParser requestURL, java.lang.String type, java.lang.String id, FHIRPatch patch, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.lang.String localIdentifier)
Public constructorFHIRRestInteractionResource(int entryIndex, FHIRPersistenceEvent event, Resource newResource, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL)
Protected constructorFHIRRestInteractionUpdate(int entryIndex, FHIRPersistenceEvent event, Bundle.Entry validationResponseEntry, java.lang.String requestDescription, FHIRUrlParser requestURL, java.lang.String type, java.lang.String id, Resource newResource, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, java.lang.String localIdentifier, java.lang.Integer ifNoneMatch)
Public constructor -
Uses of FHIRPersistenceEvent in com.ibm.fhir.server.spi.interceptor
Methods in com.ibm.fhir.server.spi.interceptor with parameters of type FHIRPersistenceEvent Modifier and Type Method Description default void
FHIRPersistenceInterceptor. afterCreate(FHIRPersistenceEvent event)
This method is called during the processing of a 'create' REST API invocation, immediately after the new resource has been stored by the persistence layer.default void
FHIRPersistenceInterceptor. afterDelete(FHIRPersistenceEvent event)
This method is called during the processing of a 'delete' REST API invocation, immediately after the resource has been deleted by the persistence layer.default void
FHIRPersistenceInterceptor. afterHistory(FHIRPersistenceEvent event)
This method is called during the processing of a 'history' REST API invocation, immediately after the resource's history has been read by the persistence layer.default void
FHIRPersistenceInterceptor. afterPatch(FHIRPersistenceEvent event)
This method is called during the processing of an 'patch' REST API invocation, immediately after the updated resource has been stored by the persistence layer.default void
FHIRPersistenceInterceptor. afterRead(FHIRPersistenceEvent event)
This method is called during the processing of a 'read' REST API invocation, immediately after the resource has been read by the persistence layer.default void
FHIRPersistenceInterceptor. afterSearch(FHIRPersistenceEvent event)
This method is called during the processing of a 'search' REST API invocation, immediately after the search has been performed by the persistence layer.default void
FHIRPersistenceInterceptor. afterUpdate(FHIRPersistenceEvent event)
This method is called during the processing of an 'update' REST API invocation, immediately after the updated resource has been stored by the persistence layer.default void
FHIRPersistenceInterceptor. afterVread(FHIRPersistenceEvent event)
This method is called during the processing of a 'vread' REST API invocation, immediately after the resource has been read by the persistence layer.default void
FHIRPersistenceInterceptor. beforeCreate(FHIRPersistenceEvent event)
This method is called during the processing of a 'create' REST API invocation, immediately before the new resource is stored by the persistence layer.default void
FHIRPersistenceInterceptor. beforeDelete(FHIRPersistenceEvent event)
This method is called during the processing of a 'delete' REST API invocation, immediately before the resource is deleted by the persistence layer.default void
FHIRPersistenceInterceptor. beforeHistory(FHIRPersistenceEvent event)
This method is called during the processing of a 'history' REST API invocation, immediately before the resource's history is read by the persistence layer.default void
FHIRPersistenceInterceptor. beforePatch(FHIRPersistenceEvent event)
This method is called during the processing of an 'patch' REST API invocation, immediately before the updated resource is stored by the persistence layer.default void
FHIRPersistenceInterceptor. beforeRead(FHIRPersistenceEvent event)
This method is called during the processing of a 'read' REST API invocation, immediately before the resource is read by the persistence layer.default void
FHIRPersistenceInterceptor. beforeSearch(FHIRPersistenceEvent event)
This method is called during the processing of a 'search' REST API invocation, immediately before the search is performed by the persistence layer.default void
FHIRPersistenceInterceptor. beforeUpdate(FHIRPersistenceEvent event)
This method is called during the processing of an 'update' REST API invocation, immediately before the updated resource is stored by the persistence layer.default void
FHIRPersistenceInterceptor. beforeVread(FHIRPersistenceEvent event)
This method is called during the processing of a 'vread' (versioned read) REST API invocation, immediately before the resource is read by the persistence layer. -
Uses of FHIRPersistenceEvent in com.ibm.fhir.server.spi.operation
Methods in com.ibm.fhir.server.spi.operation with parameters of type FHIRPersistenceEvent Modifier and Type Method Description FHIRRestOperationResponse
FHIRResourceHelpers. doCreateMeta(FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, java.lang.String type, Resource resource, java.lang.String ifNoneExist)
1st phase of CREATE.FHIRRestOperationResponse
FHIRResourceHelpers. doCreatePersist(FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, Resource resource, PayloadPersistenceResponse offloadResponse)
3rd phase of resource create.FHIRRestOperationResponse
FHIRResourceHelpers. doPatchOrUpdatePersist(FHIRPersistenceEvent event, java.lang.String type, java.lang.String id, boolean isPatch, Resource newResource, Resource prevResource, java.util.List<OperationOutcome.Issue> warnings, boolean isDeleted, java.lang.Integer ifNoneMatch, PayloadPersistenceResponse offloadResponse)
Persist the newResource value for patch or update interactionsFHIRRestOperationResponse
FHIRResourceHelpers. doUpdateMeta(FHIRPersistenceEvent event, java.lang.String type, java.lang.String id, FHIRPatch patch, Resource newResource, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, boolean doValidation, java.util.List<OperationOutcome.Issue> warnings)
1st phase of update interaction. -
Uses of FHIRPersistenceEvent in com.ibm.fhir.server.test.persistence
Methods in com.ibm.fhir.server.test.persistence with parameters of type FHIRPersistenceEvent Modifier and Type Method Description void
TaggingInterceptor. beforeCreate(FHIRPersistenceEvent event)
void
TaggingInterceptor. beforePatch(FHIRPersistenceEvent event)
void
TaggingInterceptor. beforeUpdate(FHIRPersistenceEvent event)
-
Uses of FHIRPersistenceEvent in com.ibm.fhir.server.util
Methods in com.ibm.fhir.server.util with parameters of type FHIRPersistenceEvent Modifier and Type Method Description FHIRRestOperationResponse
FHIRRestHelper. doCreateMeta(FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, java.lang.String type, Resource resource, java.lang.String ifNoneExist)
FHIRRestOperationResponse
FHIRRestHelper. doCreatePersist(FHIRPersistenceEvent event, java.util.List<OperationOutcome.Issue> warnings, Resource resource, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestHelper. doPatchOrUpdatePersist(FHIRPersistenceEvent event, java.lang.String type, java.lang.String id, boolean isPatch, Resource newResource, Resource prevResource, java.util.List<OperationOutcome.Issue> warnings, boolean isDeleted, java.lang.Integer ifNoneMatch, PayloadPersistenceResponse offloadResponse)
FHIRRestOperationResponse
FHIRRestHelper. doUpdateMeta(FHIRPersistenceEvent event, java.lang.String type, java.lang.String id, FHIRPatch patch, Resource newResource, java.lang.String ifMatchValue, java.lang.String searchQueryString, boolean skippableUpdate, boolean doValidation, java.util.List<OperationOutcome.Issue> warnings)
-
Uses of FHIRPersistenceEvent in com.ibm.fhir.smart
Methods in com.ibm.fhir.smart with parameters of type FHIRPersistenceEvent Modifier and Type Method Description void
AuthzPolicyEnforcementPersistenceInterceptor. afterHistory(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. afterRead(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. afterSearch(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. afterVread(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. beforeCreate(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. beforeDelete(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. beforeHistory(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. beforeRead(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. beforeSearch(FHIRPersistenceEvent event)
This method ensures the search is either for a resource type that is not a member of the patient compartment, or is a valid patient-compartment resource search that is scoped to the patient context from the access token.void
AuthzPolicyEnforcementPersistenceInterceptor. beforeUpdate(FHIRPersistenceEvent event)
void
AuthzPolicyEnforcementPersistenceInterceptor. beforeVread(FHIRPersistenceEvent event)
-