Package com.ibm.fhir.persistence.context
Interface FHIRPersistenceContext
- 
- All Known Implementing Classes:
 FHIRPersistenceContextImpl
public interface FHIRPersistenceContextThis interface is used to provide request context-related information to the FHIR Server persistence layer. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FHIRHistoryContextgetHistoryContext()Returns the FHIRHistoryContext instance associated with the current request.FHIRPersistenceEventgetPersistenceEvent()Returns the FHIRPersistenceEvent instance for the current request.FHIRSearchContextgetSearchContext()Returns the FHIRSearchContext instance associated with the current request.booleanincludeDeleted()Indicates whether the persistence layer should include "deleted" resources in the operation response. 
 - 
 
- 
- 
Method Detail
- 
getPersistenceEvent
FHIRPersistenceEvent getPersistenceEvent()
Returns the FHIRPersistenceEvent instance for the current request. This contains information about the security context, HTTP headers, request URI information, etc. 
- 
getHistoryContext
FHIRHistoryContext getHistoryContext()
Returns the FHIRHistoryContext instance associated with the current request. This will be null if the current request is not a 'history' operation. 
- 
getSearchContext
FHIRSearchContext getSearchContext()
Returns the FHIRSearchContext instance associated with the current request. This will be null if the current request is not a 'search' operation. 
- 
includeDeleted
boolean includeDeleted()
Indicates whether the persistence layer should include "deleted" resources in the operation response. 
 - 
 
 -