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
This commit is contained in:
Jon Cox
2006-12-18 21:01:41 +00:00
parent 6266b8657d
commit 50edc8427a

View File

@@ -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);
}
}