ALF-9933 RSOLR 042: Add query support for new CMIS object ids

- added test suite for opencmis query
- fixed object ids with appropriate unit test for folders, unversioned and versioned docs.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2011-08-25 10:35:05 +00:00
parent c72a19b637
commit 0ba194c1d9
6 changed files with 6049 additions and 21 deletions

View File

@@ -18,7 +18,7 @@
*/
package org.alfresco.opencmis.search;
import org.alfresco.opencmis.dictionary.PropertyDefintionWrapper;
import org.alfresco.opencmis.dictionary.PropertyDefinitionWrapper;
import org.alfresco.service.cmr.search.ResultSetColumn;
import org.alfresco.service.namespace.QName;
import org.apache.chemistry.opencmis.commons.enums.PropertyType;
@@ -32,7 +32,7 @@ public class CMISResultSetColumn implements ResultSetColumn
private String name;
private PropertyDefintionWrapper propertyDefinition;
private PropertyDefinitionWrapper propertyDefinition;
private PropertyType dataType;
@@ -40,7 +40,7 @@ public class CMISResultSetColumn implements ResultSetColumn
private QName alfrescoDataTypeQName;
CMISResultSetColumn(String name, PropertyDefintionWrapper propertyDefinition, PropertyType dataType,
CMISResultSetColumn(String name, PropertyDefinitionWrapper propertyDefinition, PropertyType dataType,
QName alfrescoPropertyQName, QName alfrescoDataTypeQName)
{
this.name = name;
@@ -55,7 +55,7 @@ public class CMISResultSetColumn implements ResultSetColumn
return name;
}
public PropertyDefintionWrapper getCMISPropertyDefinition()
public PropertyDefinitionWrapper getCMISPropertyDefinition()
{
return propertyDefinition;
}