chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gairey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-761) Ability to add extension elements to Atom feed returned by query
Date Tue, 25 Feb 2014 10:55:20 GMT

    [ 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)

Mime
View raw message