Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-480

Create an alternative version of Query that returns ItemIterable<CmisObject>

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenCMIS 0.6.0
    • Fix Version/s: OpenCMIS 0.6.0
    • Component/s: opencmis-client
    • Labels:
      None
    • Environment:

      n/a

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              fmui Florian Müller
              Reporter:
              jay.brown jay brown
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: