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/12 00:24:20 UTC

[jira] [Created] (CMIS-757) Extend ObjectInfo to allow arbitrary AtomPub links to be defined

Alan Gairey created CMIS-757:
--------------------------------

             Summary: Extend ObjectInfo to allow arbitrary AtomPub links to be defined
                 Key: CMIS-757
                 URL: https://issues.apache.org/jira/browse/CMIS-757
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-commons, opencmis-server
    Affects Versions: OpenCMIS 1.0.0
            Reporter: Alan Gairey


It would be good if the ObjectInfo interface were extended to allow arbitrary links to be defined. The AbstractAtomPubServiceCall.writeObjectEntry method could then output them as additional AtomPub links (i.e. custom values for rel, href, type and id attributes).

I've attached a simple svn patch file that implements this change. (I've added a new LinkInfo interface and LinkInfoImpl implementation, plus updates to ObjectInfo, ObjectInfoImpl and AbstractAtomPubServiceCall.)



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