mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -201,13 +201,10 @@ public class CMISDictionaryService
|
||||
Collection<CMISTypeId> types = new HashSet<CMISTypeId>(alfrescoTypeQNames.size());
|
||||
for (QName typeQName : alfrescoTypeQNames)
|
||||
{
|
||||
if (cmisMapping.isValidCmisDocument(typeQName))
|
||||
CMISTypeId subTypeId = cmisMapping.getCmisTypeId(typeQName);
|
||||
if (typeId != null)
|
||||
{
|
||||
types.add(cmisMapping.getCmisTypeId(CMISScope.DOCUMENT, typeQName));
|
||||
}
|
||||
else if (cmisMapping.isValidCmisFolder(typeQName))
|
||||
{
|
||||
types.add(cmisMapping.getCmisTypeId(CMISScope.FOLDER, typeQName));
|
||||
types.add(subTypeId);
|
||||
}
|
||||
}
|
||||
return types;
|
||||
|
Reference in New Issue
Block a user