You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fg...@apache.org on 2010/11/26 13:09:38 UTC
svn commit: r1039323 - in /incubator/chemistry/opencmis/trunk:
chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/
chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/or...
Author: fguillaume
Date: Fri Nov 26 12:09:37 2010
New Revision: 1039323
URL: http://svn.apache.org/viewvc?rev=1039323&view=rev
Log:
Don't require Serializable on basic object interfaces
Modified:
incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/CmisObject.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ObjectFactory.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ObjectId.java
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-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/impl/CmisBindingImpl.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/ObjectIdImpl.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/SessionImpl.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionsData.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/CmisBinding.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/AbstractExtensionData.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionDataImpl.java
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/CmisObject.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/CmisObject.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/CmisObject.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/CmisObject.java Fri Nov 26 12:09:37 2010
@@ -18,7 +18,6 @@
*/
package org.apache.chemistry.opencmis.client.api;
-import java.io.Serializable;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Map;
@@ -33,10 +32,10 @@ import org.apache.chemistry.opencmis.com
/**
* Base CMIS object.
- *
+ *
* See CMIS Domain Model - section 2.1.2.
*/
-public interface CmisObject extends ObjectId, Serializable {
+public interface CmisObject extends ObjectId {
// common properties
@@ -83,7 +82,7 @@ public interface CmisObject extends Obje
/**
* Get the type's base type id.
- *
+ *
* @return
*/
BaseTypeId getBaseTypeId();
@@ -105,10 +104,10 @@ public interface CmisObject extends Obje
/**
* Returns a property by id.
- *
+ *
* @param id
* the property id
- *
+ *
* @return the property or <code>null</code> if the property does not exist
* or is not available
*/
@@ -116,10 +115,10 @@ public interface CmisObject extends Obje
/**
* Returns a property value by id.
- *
+ *
* @param id
* the property id
- *
+ *
* @return the property value or <code>null</code> if the property does not
* exist or is not available
*/
@@ -144,7 +143,7 @@ public interface CmisObject extends Obje
/**
* Deletes this object.
- *
+ *
* @param allVersions
* if this object is a document this parameter defines if just
* this version or all versions should be deleted
@@ -153,25 +152,25 @@ public interface CmisObject extends Obje
/**
* Updates the properties that are provided.
- *
+ *
* @param properties
* the properties to update
- *
+ *
* @return the updated object (a repository might have created a new object)
*/
CmisObject updateProperties(Map<String, ?> properties);
/**
* Updates the properties that are provided.
- *
+ *
* @param properties
* the properties to update
* @param refresh
* indicates if the object should be refresh after the update
- *
+ *
* @return the object id of the updated object (a repository might have
* created a new object)
- *
+ *
*/
ObjectId updateProperties(Map<String, ?> properties, boolean refresh);
@@ -203,7 +202,7 @@ public interface CmisObject extends Obje
/**
* Adds and removes ACEs to the object.
- *
+ *
* @return the new ACL of this object
*/
Acl applyAcl(List<Ace> addAces, List<Ace> removeAces, AclPropagation aclPropagation);
@@ -234,7 +233,7 @@ public interface CmisObject extends Obje
/**
* Returns a transient object adapter.
- *
+ *
* @see TransientCmisObject
*/
TransientCmisObject getTransientObject();
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ObjectFactory.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/ObjectFactory.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ObjectFactory.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ObjectFactory.java Fri Nov 26 12:09:37 2010
@@ -19,7 +19,6 @@
package org.apache.chemistry.opencmis.client.api;
import java.io.InputStream;
-import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -38,10 +37,10 @@ import org.apache.chemistry.opencmis.com
/**
* A factory to create CMIS objects.
- *
+ *
* @see org.apache.chemistry.opencmis.client.api.Session#getObjectFactory()
*/
-public interface ObjectFactory extends Serializable {
+public interface ObjectFactory {
void initialize(Session session, Map<String, String> parameters);
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ObjectId.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/ObjectId.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ObjectId.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ObjectId.java Fri Nov 26 12:09:37 2010
@@ -18,12 +18,10 @@
*/
package org.apache.chemistry.opencmis.client.api;
-import java.io.Serializable;
-
/**
* Holds an object id.
*/
-public interface ObjectId extends Serializable {
+public interface ObjectId {
/**
* Returns the id.
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=1039323&r1=1039322&r2=1039323&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 Fri Nov 26 12:09:37 2010
@@ -18,7 +18,6 @@
*/
package org.apache.chemistry.opencmis.client.api;
-import java.io.Serializable;
import java.util.List;
import java.util.Locale;
import java.util.Map;
@@ -38,19 +37,19 @@ import org.apache.chemistry.opencmis.com
/**
* A session is a connection to a CMIS repository with a specific authenticated
* user.
- *
+ *
* <p>
* Not all operations are supported by the connected repository. Either OpenCMIS
* or the repository will throw an exception if an unsupported operation is
* called. The capabilities of the repository can be discover by evaluating the
* repository info (see {@link #getRepositoryInfo()}).
* </p>
- *
+ *
* <p>
* Almost all methods might throw exceptions derived from
* {@link CmisBaseException} which is a runtime exception!
* </p>
- *
+ *
* <p>
* (Please refer to the <a
* href="http://docs.oasis-open.org/cmis/CMIS/v1.0/os/">CMIS specification</a>
@@ -58,7 +57,7 @@ import org.apache.chemistry.opencmis.com
* ids and query names, query language, etc.)
* </p>
*/
-public interface Session extends Serializable {
+public interface Session {
/**
* Clears all cached data. This implies that all data will be reloaded from
@@ -82,7 +81,7 @@ public interface Session extends Seriali
/**
* Sets the current session parameters for filtering, paging and caching.
- *
+ *
* @param context
* the <code>OperationContext</code> to be used for the session;
* if <code>null</code>, a default context is used
@@ -96,7 +95,7 @@ public interface Session extends Seriali
/**
* Creates a new operation context object with the given properties.
- *
+ *
* @see OperationContext
*/
OperationContext createOperationContext(Set<String> filter, boolean includeAcls, boolean includeAllowableActions,
@@ -161,7 +160,7 @@ public interface Session extends Seriali
/**
* Returns all checked out documents.
- *
+ *
* @see Folder#getCheckedOutDocs()
*/
ItemIterable<Document> getCheckedOutDocs();
@@ -169,7 +168,7 @@ public interface Session extends Seriali
/**
* Returns all checked out documents with the given {@link OperationContext}
* .
- *
+ *
* @see Folder#getCheckedOutDocs(OperationContext)
*/
ItemIterable<Document> getCheckedOutDocs(OperationContext context);
@@ -178,7 +177,7 @@ public interface Session extends Seriali
* Returns a CMIS object from the session cache. If the object is not in the
* cache or the cache is turned off per default {@link OperationContext}, it
* will load the object from the repository and puts it into the cache.
- *
+ *
* @param objectId
* the object id
*/
@@ -188,7 +187,7 @@ public interface Session extends Seriali
* Returns a CMIS object from the session cache. If the object is not in the
* cache or the given {@link OperationContext} has caching turned off, it
* will load the object from the repository and puts it into the cache.
- *
+ *
* @param objectId
* the object id
* @param context
@@ -200,7 +199,7 @@ public interface Session extends Seriali
* Returns a CMIS object from the session cache. If the object is not in the
* cache or the cache is turned off per default {@link OperationContext}, it
* will load the object from the repository and puts it into the cache.
- *
+ *
* @param path
* the object path
*/
@@ -210,7 +209,7 @@ public interface Session extends Seriali
* Returns a CMIS object from the session cache. If the object is not in the
* cache or the given {@link OperationContext} has caching turned off, it
* will load the object from the repository and puts it into the cache.
- *
+ *
* @param path
* the object path
* @param context
@@ -222,7 +221,7 @@ public interface Session extends Seriali
/**
* Sends a query to the repository. (See CMIS spec "2.1.10 Query".)
- *
+ *
* @param statement
* the query statement (CMIS query language)
* @param searchAllVersions
@@ -234,7 +233,7 @@ public interface Session extends Seriali
/**
* Sends a query to the repository using the given {@link OperationContext}.
* (See CMIS spec "2.1.10 Query".)
- *
+ *
* @param statement
* the query statement (CMIS query language)
* @param searchAllVersions
@@ -247,7 +246,7 @@ public interface Session extends Seriali
/**
* Returns the content changes.
- *
+ *
* @param changeLogToken
* the change log token to start from or <code>null</code>
* @param includeProperties
@@ -260,7 +259,7 @@ public interface Session extends Seriali
/**
* Returns the content changes.
- *
+ *
* @param changeLogToken
* the change log token to start from or <code>null</code>
* @param includeProperties
@@ -278,9 +277,9 @@ public interface Session extends Seriali
/**
* Creates a new document.
- *
+ *
* @return the object id of the new document
- *
+ *
* @see Folder#createDocument(Map, ContentStream, VersioningState, List,
* List, List, OperationContext)
*/
@@ -289,9 +288,9 @@ public interface Session extends Seriali
/**
* Creates a new document.
- *
+ *
* @return the object id of the new document
- *
+ *
* @see Folder#createDocument(Map, ContentStream, VersioningState, List,
* List, List, OperationContext)
*/
@@ -300,9 +299,9 @@ public interface Session extends Seriali
/**
* Creates a new document from a source document.
- *
+ *
* @return the object id of the new document
- *
+ *
* @see Folder#createDocumentFromSource(ObjectId, Map, VersioningState,
* List, List, List, OperationContext)
*/
@@ -311,9 +310,9 @@ public interface Session extends Seriali
/**
* Creates a new document from a source document.
- *
+ *
* @return the object id of the new document
- *
+ *
* @see Folder#createDocumentFromSource(ObjectId, Map, VersioningState,
* List, List, List, OperationContext)
*/
@@ -322,9 +321,9 @@ public interface Session extends Seriali
/**
* Creates a new folder.
- *
+ *
* @return the object id of the new folder
- *
+ *
* @see Folder#createFolder(Map, List, List, List, OperationContext)
*/
ObjectId createFolder(Map<String, ?> properties, ObjectId folderId, List<Policy> policies, List<Ace> addAces,
@@ -332,18 +331,18 @@ public interface Session extends Seriali
/**
* Creates a new folder.
- *
+ *
* @return the object id of the new folder
- *
+ *
* @see Folder#createFolder(Map, List, List, List, OperationContext)
*/
ObjectId createFolder(Map<String, ?> properties, ObjectId folderId);
/**
* Creates a new policy.
- *
+ *
* @return the object id of the new policy
- *
+ *
* @see Folder#createPolicy(Map, List, List, List, OperationContext)
*/
ObjectId createPolicy(Map<String, ?> properties, ObjectId folderId, List<Policy> policies, List<Ace> addAces,
@@ -351,16 +350,16 @@ public interface Session extends Seriali
/**
* Creates a new policy.
- *
+ *
* @return the object id of the new policy
- *
+ *
* @see Folder#createPolicy(Map, List, List, List, OperationContext)
*/
ObjectId createPolicy(Map<String, ?> properties, ObjectId folderId);
/**
* Creates a new relationship.
- *
+ *
* @return the object id of the new relationship
*/
ObjectId createRelationship(Map<String, ?> properties, List<Policy> policies, List<Ace> addAces,
@@ -368,7 +367,7 @@ public interface Session extends Seriali
/**
* Creates a new relationship.
- *
+ *
* @return the object id of the new relationship
*/
ObjectId createRelationship(Map<String, ?> properties);
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/impl/CmisBindingImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/impl/CmisBindingImpl.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/impl/CmisBindingImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/impl/CmisBindingImpl.java Fri Nov 26 12:09:37 2010
@@ -18,6 +18,7 @@
*/
package org.apache.chemistry.opencmis.client.bindings.impl;
+import java.io.Serializable;
import java.util.Map;
import org.apache.chemistry.opencmis.client.bindings.spi.AbstractAuthenticationProvider;
@@ -40,7 +41,7 @@ import org.apache.chemistry.opencmis.com
/**
* CMIS binding implementation.
*/
-public class CmisBindingImpl implements CmisBinding {
+public class CmisBindingImpl implements CmisBinding, Serializable {
private static final long serialVersionUID = 1L;
@@ -50,7 +51,7 @@ public class CmisBindingImpl implements
/**
* Constructor.
- *
+ *
* @param sessionParameters
* the session parameters
*/
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.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/AbstractCmisObject.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.java Fri Nov 26 12:09:37 2010
@@ -18,6 +18,7 @@
*/
package org.apache.chemistry.opencmis.client.runtime;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.GregorianCalendar;
@@ -57,7 +58,7 @@ import org.apache.chemistry.opencmis.com
/**
* Base class for all persistent session object impl classes.
*/
-public abstract class AbstractCmisObject implements CmisObject {
+public abstract class AbstractCmisObject implements CmisObject, Serializable {
private static final long serialVersionUID = 1L;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/ObjectIdImpl.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/ObjectIdImpl.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/ObjectIdImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/ObjectIdImpl.java Fri Nov 26 12:09:37 2010
@@ -18,12 +18,14 @@
*/
package org.apache.chemistry.opencmis.client.runtime;
+import java.io.Serializable;
+
import org.apache.chemistry.opencmis.client.api.ObjectId;
/**
* Implementation of <code>ObjectId</code>.
*/
-public class ObjectIdImpl implements ObjectId {
+public class ObjectIdImpl implements ObjectId, Serializable {
private static final long serialVersionUID = 1L;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/SessionImpl.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/SessionImpl.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/SessionImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/SessionImpl.java Fri Nov 26 12:09:37 2010
@@ -18,6 +18,7 @@
*/
package org.apache.chemistry.opencmis.client.runtime;
+import java.io.Serializable;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.HashSet;
@@ -75,7 +76,7 @@ import org.apache.chemistry.opencmis.com
/**
* Persistent model session.
*/
-public class SessionImpl implements Session {
+public class SessionImpl implements Session, Serializable {
private static final OperationContext DEFAULT_CONTEXT = new OperationContextImpl(null, false, true, false,
IncludeRelationships.NONE, null, true, null, true, 100);
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionsData.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionsData.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionsData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionsData.java Fri Nov 26 12:09:37 2010
@@ -18,13 +18,12 @@
*/
package org.apache.chemistry.opencmis.commons.data;
-import java.io.Serializable;
import java.util.List;
/**
* Holds extension data either set by the CMIS repository or the client.
*/
-public interface ExtensionsData extends Serializable {
+public interface ExtensionsData {
List<CmisExtensionElement> getExtensions();
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/CmisBinding.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/CmisBinding.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/CmisBinding.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/CmisBinding.java Fri Nov 26 12:09:37 2010
@@ -18,14 +18,11 @@
*/
package org.apache.chemistry.opencmis.commons.spi;
-import java.io.Serializable;
-
-
/**
* Entry point for all CMIS binding related operations. It provides access to
* the service interface objects which are very similar to the CMIS 1.0 domain
* model.
- *
+ *
* <p>
* Each instance of this class represents a session. A session comprises of a
* connection to one CMIS endpoint over one binding for one particular user and
@@ -34,7 +31,7 @@ import java.io.Serializable;
* provided if they are supported by the underlying binding.
* </p>
*/
-public interface CmisBinding extends Serializable {
+public interface CmisBinding {
/**
* Gets a Repository Service interface object.
@@ -94,7 +91,7 @@ public interface CmisBinding extends Ser
/**
* Clears all caches of the current CMIS binding session that are related to
* the given repository.
- *
+ *
* @param repositoryId
* the repository id
*/
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/AbstractExtensionData.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/AbstractExtensionData.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/AbstractExtensionData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/AbstractExtensionData.java Fri Nov 26 12:09:37 2010
@@ -18,6 +18,7 @@
*/
package org.apache.chemistry.opencmis.commons.impl.dataobjects;
+import java.io.Serializable;
import java.util.List;
import org.apache.chemistry.opencmis.commons.data.CmisExtensionElement;
@@ -26,7 +27,8 @@ import org.apache.chemistry.opencmis.com
/**
* Abstract extension data implementation.
*/
-public abstract class AbstractExtensionData implements ExtensionsData {
+public abstract class AbstractExtensionData implements ExtensionsData,
+ Serializable {
private static final long serialVersionUID = 1L;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionDataImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionDataImpl.java?rev=1039323&r1=1039322&r2=1039323&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionDataImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionDataImpl.java Fri Nov 26 12:09:37 2010
@@ -18,11 +18,14 @@
*/
package org.apache.chemistry.opencmis.commons.impl.dataobjects;
+import java.io.Serializable;
+
import org.apache.chemistry.opencmis.commons.data.ExtensionsData;
/**
* ExtensionsData implementation.
*/
-public class ExtensionDataImpl extends AbstractExtensionData implements ExtensionsData {
+public class ExtensionDataImpl extends AbstractExtensionData implements
+ ExtensionsData, Serializable {
private static final long serialVersionUID = 1L;
}