Create an alternative version of Query that returns ItemIterable<CmisObject>
----------------------------------------------------------------------------
Key: CMIS-480
URL: https://issues.apache.org/jira/browse/CMIS-480
Project: Chemistry
Issue Type: New Feature
Components: opencmis-client
Affects Versions: OpenCMIS 0.6.0
Environment: n/a
Reporter: jay brown
Add one alternative Query method that returns ItemIterable<CmisObject> to
augment the current version that returns an iterator of QueryResult. Perhaps
we could call it QueryObjects(...)
This would allow creation of complex queries where the objects contained in the
result set would not then have to be individually retrieved before they are
used in other Chemistry methods that require native CmisObject to operate.
I understand this would be giving some folks a lot of rope, since they could
create queries that would not naturally map to CmisObjects. If they did that
then the resulting objects would just be incomplete and might not work as
normal. That is just a normal constraint on the function. I would expect
that this function might actually get as much use (or more) than the legacy
query - eventually.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira