mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Resolve ALF4822, ALF4818
- ALF-4822 CMIS: Web service binding returning the wrong query name - ALF-4818 The inherited flag is set to "true" on all CMIS property definitions (Web Services binding only) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -156,7 +156,7 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re
|
|||||||
wsPropertyDef.setPropertyType(PROPERTY_TYPE_ENUM_MAPPING.get(propertyDefinition.getDataType()));
|
wsPropertyDef.setPropertyType(PROPERTY_TYPE_ENUM_MAPPING.get(propertyDefinition.getDataType()));
|
||||||
wsPropertyDef.setCardinality(CARDINALITY_ENUM_MAPPING.get(propertyDefinition.getCardinality()));
|
wsPropertyDef.setCardinality(CARDINALITY_ENUM_MAPPING.get(propertyDefinition.getCardinality()));
|
||||||
wsPropertyDef.setUpdatability(UPDATABILITY_ENUM_MAPPING.get(propertyDefinition.getUpdatability()));
|
wsPropertyDef.setUpdatability(UPDATABILITY_ENUM_MAPPING.get(propertyDefinition.getUpdatability()));
|
||||||
wsPropertyDef.setInherited(!typeDefinition.getOwnedPropertyDefinitions().containsKey(propertyDefinition.getPropertyId()));
|
wsPropertyDef.setInherited(!typeDefinition.getOwnedPropertyDefinitions().containsKey(propertyDefinition.getPropertyId().getId()));
|
||||||
wsPropertyDef.setRequired(propertyDefinition.isRequired());
|
wsPropertyDef.setRequired(propertyDefinition.isRequired());
|
||||||
wsPropertyDef.setQueryable(propertyDefinition.isQueryable());
|
wsPropertyDef.setQueryable(propertyDefinition.isQueryable());
|
||||||
wsPropertyDef.setOrderable(propertyDefinition.isOrderable());
|
wsPropertyDef.setOrderable(propertyDefinition.isOrderable());
|
||||||
@@ -344,7 +344,6 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re
|
|||||||
cmisTypeDefinition.setParentId(typeDefinition.getParentType().getTypeId().getId());
|
cmisTypeDefinition.setParentId(typeDefinition.getParentType().getTypeId().getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
cmisTypeDefinition.setQueryName(typeDefinition.getBaseType().getQueryName());
|
|
||||||
cmisTypeDefinition.setDescription(typeDefinition.getDescription());
|
cmisTypeDefinition.setDescription(typeDefinition.getDescription());
|
||||||
cmisTypeDefinition.setCreatable(typeDefinition.isCreatable());
|
cmisTypeDefinition.setCreatable(typeDefinition.isCreatable());
|
||||||
cmisTypeDefinition.setFileable(typeDefinition.isFileable());
|
cmisTypeDefinition.setFileable(typeDefinition.isFileable());
|
||||||
|
Reference in New Issue
Block a user