Added hook that can be used by an external application to refresh

his cache after transfer.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Philippe Dubois
2011-08-22 07:21:02 +00:00
parent 557980f0af
commit f61ca17cfe

View File

@@ -133,7 +133,7 @@ public class TransferManifestNodeFactoryImpl implements TransferManifestNodeFact
node.setProperties(getNodeProperties(nodeRef, definition == null ? null : definition.getExcludedAspects())); node.setProperties(getNodeProperties(nodeRef, definition == null ? null : definition.getExcludedAspects()));
node.setAspects(getNodeAspects(nodeRef, definition == null ? null : definition.getExcludedAspects())); node.setAspects(getNodeAspects(nodeRef, definition == null ? null : definition.getExcludedAspects()));
node.setType(nodeService.getType(nodeRef)); node.setType(nodeService.getType(nodeRef));
// For File Transfer Receiver, becaus FTS does not has access to the DictionaryService // For File Transfer Receiver, because FTS does not has access to the DictionaryService
if(dictionaryService.isSubClass(node.getType(),ContentModel.TYPE_CONTENT)) if(dictionaryService.isSubClass(node.getType(),ContentModel.TYPE_CONTENT))
{ {
node.setAncestorType(ContentModel.TYPE_CONTENT); node.setAncestorType(ContentModel.TYPE_CONTENT);