mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixes for supporting full repository export/import.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2625 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -228,7 +228,7 @@ public class RoutingContentService implements ContentService
|
||||
// Fire the content update policy
|
||||
Set<QName> types = new HashSet<QName>(this.nodeService.getAspects(nodeRef));
|
||||
types.add(this.nodeService.getType(nodeRef));
|
||||
OnContentUpdatePolicy policy = this.onContentUpdateDelegate.get(types);
|
||||
OnContentUpdatePolicy policy = this.onContentUpdateDelegate.get(nodeRef, types);
|
||||
policy.onContentUpdate(nodeRef, newContent);
|
||||
}
|
||||
}
|
||||
@@ -294,7 +294,7 @@ public class RoutingContentService implements ContentService
|
||||
// Fire the content update policy
|
||||
Set<QName> types = new HashSet<QName>(this.nodeService.getAspects(nodeRef));
|
||||
types.add(this.nodeService.getType(nodeRef));
|
||||
OnContentReadPolicy policy = this.onContentReadDelegate.get(types);
|
||||
OnContentReadPolicy policy = this.onContentReadDelegate.get(nodeRef, types);
|
||||
policy.onContentRead(nodeRef);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user