mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user