Resolve ALF-5163CMIS Web Services: Property definitions lack query names

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23016 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2010-10-11 11:13:13 +00:00
parent d4efda5ea9
commit 798b711aff

View File

@@ -150,7 +150,9 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re
{ {
CmisPropertyDefinitionType wsPropertyDef = createPropertyDefinitionType(propertyDefinition.getDataType()); CmisPropertyDefinitionType wsPropertyDef = createPropertyDefinitionType(propertyDefinition.getDataType());
wsPropertyDef.setLocalName(propertyDefinition.getPropertyId().getLocalName()); wsPropertyDef.setLocalName(propertyDefinition.getPropertyId().getLocalName());
wsPropertyDef.setLocalNamespace(propertyDefinition.getPropertyId().getLocalNamespace());
wsPropertyDef.setId(propertyDefinition.getPropertyId().getId()); wsPropertyDef.setId(propertyDefinition.getPropertyId().getId());
wsPropertyDef.setQueryName(propertyDefinition.getQueryName());
wsPropertyDef.setDisplayName(propertyDefinition.getDisplayName()); wsPropertyDef.setDisplayName(propertyDefinition.getDisplayName());
wsPropertyDef.setDescription(propertyDefinition.getDescription()); wsPropertyDef.setDescription(propertyDefinition.getDescription());
wsPropertyDef.setPropertyType(PROPERTY_TYPE_ENUM_MAPPING.get(propertyDefinition.getDataType())); wsPropertyDef.setPropertyType(PROPERTY_TYPE_ENUM_MAPPING.get(propertyDefinition.getDataType()));