[ 
https://issues.apache.org/jira/browse/CMIS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731887#action_12731887
 ] 

Florent Guillaume commented on CMIS-40:
---------------------------------------

You mean, not declared for the Connection interface? Yes, it's part of SPI. You 
can do conn.getSPI().query(....).
There are two query methods:
- one on SPI, which has all the arguments and returns a collection of 
ObjectEntry,
- one on Connection, which is simpler and returns a collection of CMISObject.

Do you need more?

> query method with full parameters should be exposed as part of the Connection 
> interface
> ---------------------------------------------------------------------------------------
>
>                 Key: CMIS-40
>                 URL: https://issues.apache.org/jira/browse/CMIS-40
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: atompub, client
>            Reporter: Ugo Cei
>
> The following method of APPConnection:
> {code}
> public Collection<ObjectEntry> query(String statement,
>     boolean searchAllVersions,
>     boolean includeAllowableActions,
>     boolean includeRelationships,
>     int maxItems, int skipCount,
>     boolean[] hasMoreItems)
> {code}
> is not declared for the Collection interface, therefore it's not possible to 
> specify parameters for a query without downcasting to APPCollection.
> Also, the method should return a Collection<CMISObject> for conformance with 
> the existing query method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to