-
Type: Improvement
-
Status: New
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: Proposals for 2.0
-
Fix Version/s: None
-
Component/s: Domain Model
-
Labels:None
-
Proposal:
This follows on from CMIS-758 where some discussion took place related to query and over lap with bulk get.
There are 3 main issues with CMIS query that I see:
1) Now that we have secondary types, joining to all the secondary types you may wish to use is cumbersome
You also have to left outer join to any specific sub-types for which you may want properties.
2) To batch fetch all properties as part of a query requires that you know before hand what secondary types are applied to build the complex query above
While it may be possible to get the ids and use the new batch operations it would be good to get all you want in one shot.
3) To get heterogeneous objects may require several calls for folders, documents, items
(I am not sure if we have considered selecting a secondary type and then outer joining to the base types - I would like to make that easy too)
An example use case for both would be to generate a dynamic folder/view of documents and folders defined by a query.
To support this the query would have similar requirements to listing children of a folder.