Class FHIRHistoryContextImpl
- java.lang.Object
 - 
- com.ibm.fhir.core.context.impl.FHIRPagingContextImpl
 - 
- com.ibm.fhir.persistence.context.impl.FHIRHistoryContextImpl
 
 
 
- 
- All Implemented Interfaces:
 FHIRPagingContext,FHIRHistoryContext
public class FHIRHistoryContextImpl extends FHIRPagingContextImpl implements FHIRHistoryContext
 
- 
- 
Field Summary
- 
Fields inherited from class com.ibm.fhir.core.context.impl.FHIRPagingContextImpl
DEFAULT_LAST_PAGE_NUMBER, lastPageNumber, lenient, matchCount, pageNumber, pageSize, totalCount 
 - 
 
- 
Constructor Summary
Constructors Constructor Description FHIRHistoryContextImpl() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<Integer>>getDeletedResources()Returns a Map indicating the deletion history of a resource.InstantgetSince()voidsetDeletedResources(Map<String,List<Integer>> deletedResources)Sets a Map indicating the deletion history of a resource.voidsetSince(Instant since)- 
Methods inherited from class com.ibm.fhir.core.context.impl.FHIRPagingContextImpl
getLastPageNumber, getMatchCount, getPageNumber, getPageSize, getTotalCount, isLenient, setLastPageNumber, setLenient, setMatchCount, setPageNumber, setPageSize, setTotalCount 
- 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.ibm.fhir.core.context.FHIRPagingContext
getLastPageNumber, getMatchCount, getPageNumber, getPageSize, getTotalCount, isLenient, setLastPageNumber, setLenient, setMatchCount, setPageNumber, setPageSize, setTotalCount 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getSince
public Instant getSince()
- Specified by:
 getSincein interfaceFHIRHistoryContext
 
- 
setSince
public void setSince(Instant since)
- Specified by:
 setSincein interfaceFHIRHistoryContext
 
- 
getDeletedResources
public Map<String,List<Integer>> getDeletedResources()
Description copied from interface:FHIRHistoryContextReturns 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.- Specified by:
 getDeletedResourcesin interfaceFHIRHistoryContext- Returns:
 - deleted resources Map
 
 
- 
setDeletedResources
public void setDeletedResources(Map<String,List<Integer>> deletedResources)
Description copied from interface:FHIRHistoryContextSets 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.- Specified by:
 setDeletedResourcesin interfaceFHIRHistoryContext
 
 - 
 
 -