chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fguilla...@apache.org
Subject svn commit: r798871 - in /incubator/chemistry/trunk/chemistry: chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/QueryWriter.java chemistry-atompub/src/main/java/org/apache/chemistry/atompub/CMIS.java
Date Wed, 29 Jul 2009 12:16:33 GMT
Author: fguillaume
Date: Wed Jul 29 12:16:33 2009
New Revision: 798871

URL: http://svn.apache.org/viewvc?rev=798871&view=rev
Log:
CMIS-44: renamed CMIS#PAGE_SIZE to CMIS#MAX_ITEMS

Modified:
    incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/QueryWriter.java
    incubator/chemistry/trunk/chemistry/chemistry-atompub/src/main/java/org/apache/chemistry/atompub/CMIS.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/QueryWriter.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/QueryWriter.java?rev=798871&r1=798870&r2=798871&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/QueryWriter.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/QueryWriter.java
Wed Jul 29 12:16:33 2009
@@ -78,7 +78,7 @@
         xw.element(CMIS.STATEMENT).econtent(statement);
         xw.element(CMIS.SEARCH_ALL_VERSIONS).content(searchAllVersions);
         if (maxItems > -1) {
-            xw.element(CMIS.PAGE_SIZE).content(maxItems);
+            xw.element(CMIS.MAX_ITEMS).content(maxItems);
         }
         xw.element(CMIS.SKIP_COUNT).content(skipCount);
         xw.element(CMIS.INCLUDE_ALLOWABLE_ACTIONS).content(

Modified: incubator/chemistry/trunk/chemistry/chemistry-atompub/src/main/java/org/apache/chemistry/atompub/CMIS.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-atompub/src/main/java/org/apache/chemistry/atompub/CMIS.java?rev=798871&r1=798870&r2=798871&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-atompub/src/main/java/org/apache/chemistry/atompub/CMIS.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-atompub/src/main/java/org/apache/chemistry/atompub/CMIS.java
Wed Jul 29 12:16:33 2009
@@ -189,7 +189,7 @@
 
     public static final QName SEARCH_ALL_VERSIONS = CMISName("searchAllVersions");
 
-    public static final QName PAGE_SIZE = CMISName("pageSize"); // TODO rename to maxItems
+    public static final QName MAX_ITEMS = CMISName("maxItems");
 
     public static final QName SKIP_COUNT = CMISName("skipCount");
 



Mime
View raw message