[OASIS Issue Tracker] Commented: (CMIS-655) Folder Children(restrict acceptable values for OrderBy)

From
OASIS Issues Tracker <>
Date
2010-05-12T13:14:24+00:00
ID
1848474524.5621273670064879.JavaMail.tomcat55@mw00
Thread
[OASIS Issue Tracker] Commented: (CMIS-655) Folder Children(restrict acceptable values for OrderBy)
[ http://tools.oasis-open.org/issues/browse/CMIS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19244#action_19244 ] 

Florent Guillaume commented on CMIS-655:
----------------------------------------

I think this should be repository-specific.

For instance in my repository it's quite useful to be able to do a getChildren and order by a non-system property like "position" or a custom date. In other words the third example in your proposal is precisely one I'd like to support.

One could add a repository capability to expose the allowed semantics for the getChildren filter.


> Folder Children (restrict acceptable values for OrderBy)
> --------------------------------------------------------
>
>                 Key: CMIS-655
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-655
>             Project: OASIS Content Management Interoperability Services (CMIS) TC
>          Issue Type: Improvement
>          Components: Domain Model
>    Affects Versions: Committee Draft 06
>         Environment: n/a
>            Reporter: Jay Brown
>            Assignee: Ethan Gur-esh
>            Priority: Minor
>
> Since folder getChildren is basically a specialized query against two different tables, supporting all orderBy values for all possible orderable properties becomes prohibitively difficult for some repositories.
> In some repositories, the underlying query against all documents (and sub classes of document) may not permit sorting by a field that only may be present on a subclass of document.     But the scope of this call implies all cmis:document subclasses and all cmis:folder subclasses. 
> An example of a case that may be difficult to correctly service is the following: 
> A subclass of cmis:document named invoicedoc exists that has a an orderable property value of 'foo'.
> A folder getchildren is then reqested for a folder with an orderBy parm set to "foo".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira