Resolve ALF-4787: Type defintions lack a local name and a local namespace when retrieved through the Web Services binding

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2010-09-15 11:55:59 +00:00
parent 89207c5f0a
commit 673cc9c73f

View File

@@ -336,6 +336,8 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re
cmisTypeDefinition.setQueryName(typeDefinition.getQueryName());
cmisTypeDefinition.setDisplayName(typeDefinition.getDisplayName());
cmisTypeDefinition.setBaseId(EnumBaseObjectTypeIds.fromValue(typeDefinition.getBaseType().getTypeId().getId()));
cmisTypeDefinition.setLocalNamespace(typeDefinition.getTypeId().getLocalNamespace());
cmisTypeDefinition.setLocalName(typeDefinition.getTypeId().getLocalName());
if ((null != typeDefinition.getParentType()) && (null != typeDefinition.getParentType().getTypeId()))
{