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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.6.0
    • OpenCMIS 0.6.0
    • opencmis-client
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: