Package ca.uhn.fhir.jpa.cache
Class ResourceChangeEvent
java.lang.Object
ca.uhn.fhir.jpa.cache.ResourceChangeEvent
- All Implemented Interfaces:
IResourceChangeEvent
An immutable list of resource ids that have been changed, updated, or deleted.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceChangeEvent
fromCreatedUpdatedDeletedResourceIds
(List<org.hl7.fhir.instance.model.api.IIdType> theCreatedResourceIds, List<org.hl7.fhir.instance.model.api.IIdType> theUpdatedResourceIds, List<org.hl7.fhir.instance.model.api.IIdType> theDeletedResourceIds) List
<org.hl7.fhir.instance.model.api.IIdType> List
<org.hl7.fhir.instance.model.api.IIdType> List
<org.hl7.fhir.instance.model.api.IIdType> boolean
isEmpty()
toString()
-
Method Details
-
fromCreatedUpdatedDeletedResourceIds
public static ResourceChangeEvent fromCreatedUpdatedDeletedResourceIds(List<org.hl7.fhir.instance.model.api.IIdType> theCreatedResourceIds, List<org.hl7.fhir.instance.model.api.IIdType> theUpdatedResourceIds, List<org.hl7.fhir.instance.model.api.IIdType> theDeletedResourceIds) -
getCreatedResourceIds
- Specified by:
getCreatedResourceIds
in interfaceIResourceChangeEvent
-
getUpdatedResourceIds
- Specified by:
getUpdatedResourceIds
in interfaceIResourceChangeEvent
-
getDeletedResourceIds
- Specified by:
getDeletedResourceIds
in interfaceIResourceChangeEvent
-
isEmpty
- Specified by:
isEmpty
in interfaceIResourceChangeEvent
- Returns:
- true when all three lists are empty
-
toString
-