Merged BRANCHES/DEV/CLOUD1-BUG-FIX to HEAD:

42884: ALF-1059 / CLOUD-469: Post activities for folder(s) add + delete


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2012-10-19 17:38:37 +00:00
parent a87483d1d4
commit 4393f3007b
6 changed files with 100 additions and 32 deletions

View File

@@ -363,12 +363,14 @@ public class PutMethod extends WebDAVMethod implements ActivityPostProducer
if (!getNodeService().hasAspect(nodeRef, ContentModel.ASPECT_HIDDEN))
{
if (isCreated())
{
activityPoster.postFileAdded(siteId, tenantDomain, contentNodeInfo);
{
// file added
activityPoster.postFileFolderAdded(siteId, tenantDomain, null, contentNodeInfo);
}
else
{
activityPoster.postFileUpdated(siteId, tenantDomain, contentNodeInfo);
{
// file updated
activityPoster.postFileFolderUpdated(siteId, tenantDomain, contentNodeInfo);
}
}
}