[
https://issues.apache.org/jira/browse/CMIS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731904#action_12731904
]
Ugo Cei commented on CMIS-40:
-----------------------------
I see your point. Not sure I agree completely, but I can concede it. The actual
reason why I want to specify the extra parameters is not for paging, but just
for limiting the number of results to a manageable size.
Anyway, if I have to use the SPI, how can I convert the returned ObjectEntry's
into CMISObject's?
> 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.