From 6f308d2ea231b7122293e909cbeea77598167307 Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Thu, 24 Aug 2023 10:03:43 +0200 Subject: [PATCH] add copy method from AEM 6.5.18 API --- .../java/io/wcm/testing/mock/aem/MockPageManager.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/io/wcm/testing/mock/aem/MockPageManager.java b/core/src/main/java/io/wcm/testing/mock/aem/MockPageManager.java index cd9bb46c..6739e527 100644 --- a/core/src/main/java/io/wcm/testing/mock/aem/MockPageManager.java +++ b/core/src/main/java/io/wcm/testing/mock/aem/MockPageManager.java @@ -430,13 +430,19 @@ public Resource move(Resource resource, String destination, String beforeName, b throw new UnsupportedOperationException(); } + // AEM 6.5.18 + @SuppressWarnings("unused") + public Resource move(Resource resource, String destination, String beforeName, boolean shallow, + boolean resolveConflict, String[] adjustRefs, String[] publishRefs, String arg7) throws WCMException { + throw new UnsupportedOperationException(); + } + @Override public Resource copy(CopyOptions options) throws WCMException { throw new UnsupportedOperationException(); } - // AEM Cloud - @SuppressWarnings("unused") + @Override public void delete(Resource arg0, boolean arg1, boolean arg2, boolean arg3) throws WCMException { throw new UnsupportedOperationException(); }