You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Alan Gairey (JIRA)" <ji...@apache.org> on 2014/02/25 11:55:20 UTC

[jira] [Commented] (CMIS-761) Ability to add extension elements to Atom feed returned by query

    [ https://issues.apache.org/jira/browse/CMIS-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911458#comment-13911458 ] 

Alan Gairey commented on CMIS-761:
----------------------------------

Fantastic! Many thanks for including this.

> Ability to add extension elements to Atom feed returned by query
> ----------------------------------------------------------------
>
>                 Key: CMIS-761
>                 URL: https://issues.apache.org/jira/browse/CMIS-761
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.10.0
>            Reporter: Alan Gairey
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.11.0
>
>         Attachments: atom-feed-extensions-for-query.diff
>
>
> It would be useful to be able to add extension elements to the end of the Atom feed that's returned by a query (when using the AtomPub bindings). This would allow extra query-specific metadata to be returned in the response.
> For example: Alfresco uses Solr "under the hood" - by including extension elements in the Atom feed, extra information, such as faceting results, could be included in the feed.
> The class {{DiscoveryService.Query}} for the AtomPub binding currently passes a {{null}} as the final argument to the call to {{CmisService.query}}. If it passed an instance of {{ExtensionDataImpl}}, the implementer of the {{CmisService}} interface could populate the object with the extension elements. These could then be written out at the end of the feed.
> This update requires just a few changes to the {{DiscoveryService.Query}} and {{AtomFeed}} classes; I've attached an svn diff file with the changes.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)