From 50edc8427aade84ee6f73d7b74fa7a0d8be7756f Mon Sep 17 00:00:00 2001 From: Jon Cox Date: Mon, 18 Dec 2006 21:01:41 +0000 Subject: [PATCH] Updated API for webappUpdated and webappRemoved so that they now include an "isRecursive" flag. Modified code in AVMConstants to pass along the extra arg (hard-coding it to "true", for now, just as version "-1" is hardcoded). Later, when we expose the ability to make archived versions of repositories browsable via the virtualization server, the updateVServerWebapp and removeVServerWebapp APIs within AVMConstants.java will need to tunnel along the version number & recursion flag. For this to be useful, there will also need to be GUI support for bringing old versions on/off line. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4648 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/web/bean/wcm/AVMConstants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/web/bean/wcm/AVMConstants.java b/source/java/org/alfresco/web/bean/wcm/AVMConstants.java index b688c61e5b..0690b5c09b 100644 --- a/source/java/org/alfresco/web/bean/wcm/AVMConstants.java +++ b/source/java/org/alfresco/web/bean/wcm/AVMConstants.java @@ -294,7 +294,7 @@ public final class AVMConstants { path = path.substring(0, webappIndex); } - vServerRegistry.webappUpdated(-1, path); + vServerRegistry.webappUpdated(-1, path, true); } } @@ -315,7 +315,7 @@ public final class AVMConstants { path = path.substring(0, webappIndex); } - vServerRegistry.webappRemoved(-1, path); + vServerRegistry.webappRemoved(-1, path, true); } }