chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r953090 - /incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java
Date Wed, 09 Jun 2010 17:35:51 GMT
Author: fmui
Date: Wed Jun  9 17:35:50 2010
New Revision: 953090

URL: http://svn.apache.org/viewvc?rev=953090&view=rev
Log:
added missing down link in type entry

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java?rev=953090&r1=953089&r2=953090&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java
Wed Jun  9 17:35:50 2010
@@ -438,6 +438,9 @@ public final class AtomPubUtils {
         UrlBuilder downLink = compileUrlBuilder(baseUrl, RESOURCE_TYPES, null);
         downLink.addParameter(Constants.PARAM_TYPE_ID, type.getId());
         entry.writeDownLink(downLink.toString(), Constants.MEDIATYPE_CHILDREN);
+        UrlBuilder downLink2 = compileUrlBuilder(baseUrl, RESOURCE_TYPESDESC, null);
+        downLink2.addParameter(Constants.PARAM_TYPE_ID, type.getId());
+        entry.writeDownLink(downLink2.toString(), Constants.MEDIATYPE_DESCENDANTS);
         entry.writeDescribedByLink(compileUrl(baseUrl, RESOURCE_TYPE, type.getBaseTypeId().value()));
 
         // write children



Mime
View raw message