You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/09/05 19:01:00 UTC

svn commit: r1165362 - in /chemistry/opencmis/trunk: ./ chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache...

Author: fmui
Date: Mon Sep  5 17:00:59 2011
New Revision: 1165362

URL: http://svn.apache.org/viewvc?rev=1165362&view=rev
Log:
JavaDoc corrections

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/CmisServiceWrapper.java
    chemistry/opencmis/trunk/pom.xml

Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java?rev=1165362&r1=1165361&r2=1165362&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java Mon Sep  5 17:00:59 2011
@@ -76,6 +76,14 @@ public interface Session extends Seriali
     /**
      * Returns the current default operation parameters for filtering, paging
      * and caching.
+     * 
+     * <p>
+     * <em>Please note:</em> The returned object is not thread-safe and should
+     * only be modified right after the session has been created and before the
+     * session object has been used. In order to change the default context in
+     * thread-safe manner, create a new {@link OperationContext} object and use
+     * {@link #setDefaultContext(OperationContext)} to apply it.
+     * </p>
      */
     OperationContext getDefaultContext();
 

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/CmisServiceWrapper.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/CmisServiceWrapper.java?rev=1165362&r1=1165361&r2=1165362&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/CmisServiceWrapper.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/CmisServiceWrapper.java Mon Sep  5 17:00:59 2011
@@ -258,7 +258,7 @@ public class CmisServiceWrapper<T extend
     }
 
     /**
-     * Returns <code>true<code> if <code>value</code> is <code>null</code>.
+     * Returns <code>true</code> if <code>value</code> is <code>null</code>.
      */
     protected Boolean getDefaultTrue(Boolean value) {
         if (value == null) {
@@ -269,7 +269,7 @@ public class CmisServiceWrapper<T extend
     }
 
     /**
-     * Returns <code>false<code> if <code>value</code> is <code>null</code>.
+     * Returns <code>false</code> if <code>value</code> is <code>null</code>.
      */
     protected Boolean getDefaultFalse(Boolean value) {
         if (value == null) {
@@ -280,7 +280,7 @@ public class CmisServiceWrapper<T extend
     }
 
     /**
-     * Returns the <code>IncludeRelationships.NONE<code> if <code>value</code>
+     * Returns the <code>IncludeRelationships.NONE</code> if <code>value</code>
      * is <code>null</code>.
      */
     protected IncludeRelationships getDefault(IncludeRelationships value) {
@@ -292,7 +292,7 @@ public class CmisServiceWrapper<T extend
     }
 
     /**
-     * Returns the <code>VersioningState.MAJOR<code> if <code>value</code> is
+     * Returns the <code>VersioningState.MAJOR</code> if <code>value</code> is
      * <code>null</code>.
      */
     protected VersioningState getDefault(VersioningState value) {
@@ -304,7 +304,7 @@ public class CmisServiceWrapper<T extend
     }
 
     /**
-     * Returns the <code>UnfileObjects.DELETE<code> if <code>value</code> is
+     * Returns the <code>UnfileObjects.DELETE</code> if <code>value</code> is
      * <code>null</code>.
      */
     protected UnfileObject getDefault(UnfileObject value) {
@@ -317,7 +317,7 @@ public class CmisServiceWrapper<T extend
 
     /**
      * Returns the
-     * <code>AclPropagation.REPOSITORYDETERMINED<code> if <code>value</code> is
+     * <code>AclPropagation.REPOSITORYDETERMINED</code> if <code>value</code> is
      * <code>null</code>.
      */
     protected AclPropagation getDefault(AclPropagation value) {
@@ -330,7 +330,7 @@ public class CmisServiceWrapper<T extend
 
     /**
      * Returns the
-     * <code>RelationshipDirection.SOURCE<code> if <code>value</code> is
+     * <code>RelationshipDirection.SOURCE</code> if <code>value</code> is
      * <code>null</code> .
      */
     protected RelationshipDirection getDefault(RelationshipDirection value) {

Modified: chemistry/opencmis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/pom.xml?rev=1165362&r1=1165361&r2=1165362&view=diff
==============================================================================
--- chemistry/opencmis/trunk/pom.xml (original)
+++ chemistry/opencmis/trunk/pom.xml Mon Sep  5 17:00:59 2011
@@ -487,7 +487,7 @@
                   <groups>
                       <group>
                           <title>OpenCMIS Client API</title>
-                          <packages>org.apache.chemistry.opencmis.client.api</packages>
+                          <packages>org.apache.chemistry.opencmis.client.api:org.apache.chemistry.opencmis.client.util</packages>
                       </group>
                       <group>
                           <title>OpenCMIS Commons API</title>
@@ -502,15 +502,11 @@
                           <packages>org.apache.chemistry.opencmis.commons.server:org.apache.chemistry.opencmis.commons.impl.server:org.apache.chemistry.opencmis.server.support:org.apache.chemistry.opencmis.server.support.query</packages>
                       </group>
                       <group>
-                          <title>OpenCMIS Workbench</title>
-                          <packages>&gt;org.apache.chemistry.opencmis.workbench</packages>
-                      </group>
-                      <group>
                           <title>OpenCMIS TCK</title>
-                          <packages>&gt;org.apache.chemistry.opencmis.tck</packages>
+                          <packages>org.apache.chemistry.opencmis.tck*</packages>
                       </group>
                     </groups>
-                    <excludePackageNames>org.apache.chemistry.opencmis.commons.impl:org.apache.chemistry.opencmis.commons.impl.dataobjects:org.apache.chemistry.opencmis.client.runtime:org.apache.chemistry.opencmis.client.runtime.*:org.apache.chemistry.opencmis.commons.impl.jaxb:org.apache.chemistry.opencmis.client.bindings.impl:org.apache.chemistry.opencmis.client.bindings.cache:org.apache.chemistry.opencmis.client.bindings.spi:org.apache.chemistry.opencmis.server.impl:org.apache.chemistry.opencmis.fit:org.apache.chemistry.opencmis.util.repository:org.apache.chemistry.opencmis.fileshare:org.apache.chemistry.opencmis.inmemory:org.apache.chemistry.opencmis.browser:org.apache.chemistry.opencmis.commander</excludePackageNames>
+                    <excludePackageNames>org.apache.chemistry.opencmis.commons.impl:org.apache.chemistry.opencmis.commons.impl.dataobjects:org.apache.chemistry.opencmis.client.runtime:org.apache.chemistry.opencmis.client.runtime.*:org.apache.chemistry.opencmis.commons.impl.jaxb:org.apache.chemistry.opencmis.client.bindings.impl:org.apache.chemistry.opencmis.client.bindings.cache:org.apache.chemistry.opencmis.client.bindings.spi:org.apache.chemistry.opencmis.server.impl:org.apache.chemistry.opencmis.fit:org.apache.chemistry.opencmis.util.repository:org.apache.chemistry.opencmis.fileshare:org.apache.chemistry.opencmis.fileshare:org.apache.chemistry.opencmis.inmemory:org.apache.chemistry.opencmis.fileshare:org.apache.chemistry.opencmis.jcr:org.apache.chemistry.opencmis.browser:org.apache.chemistry.opencmis.workbench:org.apache.chemistry.opencmis.commander:org.apache.chemistry.opencmis.client.osgi</excludePackageNames>
                 </configuration>
             </plugin>
         </plugins>