mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Allow 'cmis-sql-strict' query language in Node Browser.
- fix up Search Service to CMIS query engine wrappers git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -204,14 +204,11 @@ public class CMISResultSetRowImpl implements CMISResultSetRow
|
||||
|
||||
public NodeRef getNodeRef()
|
||||
{
|
||||
if(getCMISResultSet().getMetaData().getColumns().length == 1)
|
||||
if (nodeRefs.size() == 1)
|
||||
{
|
||||
return getNodeRef(getCMISResultSet().getMetaData().getColumns()[0].getName());
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new UnsupportedOperationException("Ambiguous selector");
|
||||
return nodeRefs.values().iterator().next();
|
||||
}
|
||||
throw new UnsupportedOperationException("Ambiguous selector");
|
||||
}
|
||||
|
||||
public QName getQName()
|
||||
|
Reference in New Issue
Block a user