chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1404160 - /chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrRepository.java
Date Wed, 31 Oct 2012 14:20:39 GMT
Author: mduerig
Date: Wed Oct 31 14:20:37 2012
New Revision: 1404160

URL: http://svn.apache.org/viewvc?rev=1404160&view=rev
Log:
CMIS-585: Repository is read only  
Credits to Ivan Vasyliev for the patch

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrRepository.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrRepository.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrRepository.java?rev=1404160&r1=1404159&r2=1404160&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrRepository.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrRepository.java
Wed Oct 31 14:20:37 2012
@@ -964,13 +964,13 @@ public class JcrRepository {
         capabilities.setIsPwcSearchable(false);
         capabilities.setIsPwcUpdatable(true);
         capabilities.setCapabilityQuery(CapabilityQuery.BOTHCOMBINED);
-        capabilities.setCapabilityChanges(CapabilityChanges.NONE);
+        capabilities.setCapabilityChanges(CapabilityChanges.OBJECTIDSONLY);
         capabilities.setCapabilityContentStreamUpdates(CapabilityContentStreamUpdates.ANYTIME);
         capabilities.setSupportsGetDescendants(true);
         capabilities.setSupportsGetFolderTree(true);
         capabilities.setCapabilityRendition(CapabilityRenditions.NONE);
         fRepositoryInfo.setCapabilities(capabilities);
-
+        
         return fRepositoryInfo;
     }
 
@@ -1120,7 +1120,7 @@ public class JcrRepository {
 
         return result;
     }
-
+    
 
     public Repository getRepository() {
         return repository;



Mime
View raw message