From c934b2f09d7ed40d6570f5d8964d06c1f5b2b1e7 Mon Sep 17 00:00:00 2001 From: David Mackessy Date: Fri, 17 Jan 2025 15:34:19 +0000 Subject: [PATCH] add javadoc --- .../java/org/hisp/dhis/expression/ExpressionStore.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dhis-2/dhis-api/src/main/java/org/hisp/dhis/expression/ExpressionStore.java b/dhis-2/dhis-api/src/main/java/org/hisp/dhis/expression/ExpressionStore.java index 05ba4709ab0..93d67f17124 100644 --- a/dhis-2/dhis-api/src/main/java/org/hisp/dhis/expression/ExpressionStore.java +++ b/dhis-2/dhis-api/src/main/java/org/hisp/dhis/expression/ExpressionStore.java @@ -34,5 +34,13 @@ */ public interface ExpressionStore extends GenericStore { + /** + * Update all expressions whose expression property contains the 'find' value. When updating, it + * replaces all occurrences of 'find' with 'replace'. + * + * @param find text to search for + * @param replace text used to replace 'find' + * @return number of entities updated + */ int updateExpressionContaining(String find, String replace); }