Package com.ibm.fhir.persistence.context
Interface FHIRHistoryContext
-
- All Superinterfaces:
FHIRPagingContext
- All Known Implementing Classes:
FHIRHistoryContextImpl
public interface FHIRHistoryContext extends FHIRPagingContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,List<Integer>>
getDeletedResources()
Returns a Map indicating the deletion history of a resource.Instant
getSince()
void
setDeletedResources(Map<String,List<Integer>> deletedResources)
Sets a Map indicating the deletion history of a resource.void
setSince(Instant since)
-
Methods inherited from interface com.ibm.fhir.core.context.FHIRPagingContext
getLastPageNumber, getMatchCount, getMaxPageIncludeCount, getMaxPageSize, getPageNumber, getPageSize, getTotalCount, isLenient, setLastPageNumber, setLenient, setMatchCount, setMaxPageIncludeCount, setMaxPageSize, setPageNumber, setPageSize, setTotalCount
-
-
-
-
Method Detail
-
getSince
Instant getSince()
-
setSince
void setSince(Instant since)
-
getDeletedResources
Map<String,List<Integer>> getDeletedResources()
Returns a Map indicating the deletion history of a resource. The map key is the logical resource id. The value is a List of deleted versions of the resource. Note there can be more than one deleted version, since a deleted resource can be brought back to life by a subsequent update.- Returns:
- deleted resources Map
-
setDeletedResources
void setDeletedResources(Map<String,List<Integer>> deletedResources)
Sets a Map indicating the deletion history of a resource. The map key is the logical resource id. The value is a List of deleted versions of the resource. Note there can be more than one deleted version, since a deleted resource can be brought back to life by a subsequent update.- Parameters:
deletedResources
-
-
-