Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5ACB103FD for ; Tue, 11 Feb 2014 23:26:35 +0000 (UTC) Received: (qmail 7246 invoked by uid 500); 11 Feb 2014 23:26:23 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 7149 invoked by uid 500); 11 Feb 2014 23:26:21 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 7121 invoked by uid 99); 11 Feb 2014 23:26:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Feb 2014 23:26:21 +0000 Date: Tue, 11 Feb 2014 23:26:21 +0000 (UTC) From: "Alan Gairey (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CMIS-757) Extend ObjectInfo to allow arbitrary AtomPub links to be defined MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Gairey updated CMIS-757: ----------------------------- Attachment: additional-atom-pub-links.diff > 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 > Attachments: additional-atom-pub-links.diff > > > 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)