Class UpdateUtils
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.UpdateUtils
-
public class UpdateUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UpdateUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidapplyChanges(@NotNull Document doc, @NotNull UpdateOp update)Apply the changes to the in-memory document.static voidassertUnconditional(@NotNull UpdateOp up)Ensures that the givenUpdateOpis unconditionalstatic booleancheckConditions(@NotNull Document doc, @NotNull java.util.Map<UpdateOp.Key,UpdateOp.Condition> conditions)
-
-
-
Method Detail
-
applyChanges
public static void applyChanges(@NotNull @NotNull Document doc, @NotNull @NotNull UpdateOp update)Apply the changes to the in-memory document.- Parameters:
doc- the target document.update- the changes to apply.
-
checkConditions
public static boolean checkConditions(@NotNull @NotNull Document doc, @NotNull @NotNull java.util.Map<UpdateOp.Key,UpdateOp.Condition> conditions)
-
-