- UIArtifacts aspect is now added when content is created via CIFS

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2041 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2005-12-16 11:57:23 +00:00
parent 366873440c
commit e6987f6c49

View File

@@ -265,6 +265,10 @@ public class CifsHelper
try
{
NodeRef nodeRef = fileFolderService.create(parentFolderNodeRef, name, typeQName).getNodeRef();
// the title and description will be set automatically
nodeService.addAspect(nodeRef, ContentModel.ASPECT_UIFACETS, null);
// done
if (logger.isDebugEnabled())
{