Package ca.uhn.fhir.jpa.dao
Class BaseTransactionProcessor.TransactionSorter
java.lang.Object
ca.uhn.fhir.jpa.dao.BaseTransactionProcessor.TransactionSorter
- All Implemented Interfaces:
Comparator<org.hl7.fhir.instance.model.api.IBase>
- Enclosing class:
BaseTransactionProcessor
public class BaseTransactionProcessor.TransactionSorter
extends Object
implements Comparator<org.hl7.fhir.instance.model.api.IBase>
Transaction Order, per the spec:
Process any DELETE interactions Process any POST interactions Process any PUT interactions Process any PATCH interactions Process any GET interactions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.hl7.fhir.instance.model.api.IBase theO1, org.hl7.fhir.instance.model.api.IBase theO2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
TransactionSorter
-
-
Method Details
-
compare
public int compare(org.hl7.fhir.instance.model.api.IBase theO1, org.hl7.fhir.instance.model.api.IBase theO2) - Specified by:
compare
in interfaceComparator<org.hl7.fhir.instance.model.api.IBase>
-