chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dcaru...@apache.org
Subject svn commit: r942354 - in /incubator/chemistry/opencmis/trunk/chemistry-opencmis-client: chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/cli...
Date Sat, 08 May 2010 10:01:29 GMT
Author: dcaruana
Date: Sat May  8 10:01:29 2010
New Revision: 942354

URL: http://svn.apache.org/viewvc?rev=942354&view=rev
Log:
Add createOperationContext() method to Session which creates a default operation context.

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java

Modified: incubator/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/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java?rev=942354&r1=942353&r2=942354&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java
Sat May  8 10:01:29 2010
@@ -81,6 +81,11 @@ public interface Session {
     void setDefaultContext(OperationContext context);
 
     /**
+     * Creates a default operation context object.
+     */
+    OperationContext createOperationContext();
+    
+    /**
      * Creates an operation context object.
      */
     OperationContext createOperationContext(Set<String> filter, boolean includeAcls,
boolean includeAllowableActions,

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java?rev=942354&r1=942353&r2=942354&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java
Sat May  8 10:01:29 2010
@@ -340,6 +340,14 @@ public class PersistentSessionImpl imple
 
     /*
      * (non-Javadoc)
+     * @see org.apache.chemistry.opencmis.client.api.Session#createOperationContext()
+     */
+    public OperationContext createOperationContext() {
+        return new OperationContextImpl();
+    }
+
+    /*
+     * (non-Javadoc)
      * 
      * @see
      * org.apache.opencmis.client.api.Session#createObjectId(java.lang.String)



Mime
View raw message