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/07/29 19:05:19 UTC

svn commit: r980509 [1/2] - in /incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons: chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/op...

Author: fguillaume
Date: Thu Jul 29 17:05:18 2010
New Revision: 980509

URL: http://svn.apache.org/viewvc?rev=980509&view=rev
Log:
CMIS-225: proper svn eol-style on text files (native except for *.bat)

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/package.html   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/package.html   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BindingType.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/package.html   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/package.html   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CallContext.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CmisService.java   (props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CmisServiceFactory.java   (props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/ObjectInfo.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/ObjectInfoHandler.java   (props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/RenditionInfo.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/package.html   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/BindingsObjectFactory.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/CmisBinding.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/package.html   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java   (props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractServiceFactory.java   (props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/ObjectInfoImpl.java   (contents, props changed)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/RenditionInfoImpl.java   (contents, props changed)

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/package.html
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/package.html?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/package.html (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/package.html Thu Jul 29 17:05:18 2010
@@ -1,29 +1,29 @@
-<!-- 
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
- -->
-<html>
-<head>
-</head>
-<body>
-OpenCMIS data interfaces.
-<p>This package contains the interfaces for classes that transport
-data.</p>
-</body>
+<!-- 
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+ -->
+<html>
+<head>
+</head>
+<body>
+OpenCMIS data interfaces.
+<p>This package contains the interfaces for classes that transport
+data.</p>
+</body>
 </html>
\ No newline at end of file

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.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/definitions/Choice.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.java Thu Jul 29 17:05:18 2010
@@ -1,30 +1,30 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.definitions;
-
-import java.util.List;
-
-public interface Choice<T> {
-
-    String getDisplayName();
-
-    List<T> getValue();
-
-    List<Choice<T>> getChoice();
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.definitions;
+
+import java.util.List;
+
+public interface Choice<T> {
+
+    String getDisplayName();
+
+    List<T> getValue();
+
+    List<Choice<T>> getChoice();
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/package.html
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/definitions/package.html?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/package.html (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/package.html Thu Jul 29 17:05:18 2010
@@ -1,29 +1,29 @@
-<!-- 
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
- -->
-<html>
-<head>
-</head>
-<body>
-OpenCMIS type and property definition interfaces.
-<p>This package contains the interfaces for type and property
-definitions.</p>
-</body>
+<!-- 
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+ -->
+<html>
+<head>
+</head>
+<body>
+OpenCMIS type and property definition interfaces.
+<p>This package contains the interfaces for type and property
+definitions.</p>
+</body>
 </html>
\ No newline at end of file

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BindingType.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/enums/BindingType.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BindingType.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BindingType.java Thu Jul 29 17:05:18 2010
@@ -1,47 +1,47 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.enums;
-
-/**
- * Binding Type Enum.
- */
-public enum BindingType {
-
-    WEBSERVICES("webservices"), ATOMPUB("atompub"), CUSTOM("custom");
-
-    private final String value;
-
-    BindingType(String v) {
-        value = v;
-    }
-
-    public String value() {
-        return value;
-    }
-
-    public static BindingType fromValue(String v) {
-        for (BindingType c : BindingType.values()) {
-            if (c.value.equals(v)) {
-                return c;
-            }
-        }
-        throw new IllegalArgumentException(v);
-    }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.enums;
+
+/**
+ * Binding Type Enum.
+ */
+public enum BindingType {
+
+    WEBSERVICES("webservices"), ATOMPUB("atompub"), CUSTOM("custom");
+
+    private final String value;
+
+    BindingType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static BindingType fromValue(String v) {
+        for (BindingType c : BindingType.values()) {
+            if (c.value.equals(v)) {
+                return c;
+            }
+        }
+        throw new IllegalArgumentException(v);
+    }
+
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BindingType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/package.html
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/enums/package.html?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/package.html (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/package.html Thu Jul 29 17:05:18 2010
@@ -1,28 +1,28 @@
-<!-- 
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
- -->
-<html>
-<head>
-</head>
-<body>
-OpenCMIS enums.
-<p>This package contains all enums used by OpenCMIS.</p>
-</body>
+<!-- 
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+ -->
+<html>
+<head>
+</head>
+<body>
+OpenCMIS enums.
+<p>This package contains all enums used by OpenCMIS.</p>
+</body>
 </html>
\ No newline at end of file

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/package.html
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/exceptions/package.html?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/package.html (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/package.html Thu Jul 29 17:05:18 2010
@@ -1,28 +1,28 @@
-<!-- 
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
- -->
-<html>
-<head>
-</head>
-<body>
-OpenCMIS exceptions.
-<p>This package contains all exceptions used by OpenCMIS.</p>
-</body>
+<!-- 
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+ -->
+<html>
+<head>
+</head>
+<body>
+OpenCMIS exceptions.
+<p>This package contains all exceptions used by OpenCMIS.</p>
+</body>
 </html>
\ No newline at end of file

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CallContext.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/server/CallContext.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CallContext.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CallContext.java Thu Jul 29 17:05:18 2010
@@ -1,77 +1,77 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.server;
-
-/**
- * An object implementing this interface holds context data of the current call.
- */
-public interface CallContext {
-
-    String BINDING_ATOMPUB = "atompub";
-    String BINDING_WEBSERVICES = "webservices";
-    String BINDING_LOCAL = "local";
-
-    String REPOSITORY_ID = "repositoryId";
-    String USERNAME = "useranme";
-    String PASSWORD = "password";
-    String LOCALE = "locale";
-    String OFFSET = "offset";
-    String LENGTH = "length";
-
-    /**
-     * Returns the binding. Usually it returns
-     * {@link CallContext#BINDING_ATOMPUB} or
-     * {@link CallContext#BINDING_WEBSERVICES}.
-     */
-    String getBinding();
-
-    /**
-     * Returns if <code>true</code> object infos can improve the performance.
-     */
-    boolean isObjectInfoRequired();
-
-    /**
-     * Returns context data by key.
-     * 
-     * @param key
-     *            the key
-     * @return the data if the key is valid, <code>null</code> otherwise
-     */
-    String get(String key);
-
-    /**
-     * Returns the repository id.
-     */
-    String getRepositoryId();
-
-    /**
-     * Returns the user name.
-     */
-    String getUsername();
-
-    /**
-     * Returns the password.
-     */
-    String getPassword();
-
-    /**
-     * Returns the locale.
-     */
-    String getLocale();
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.server;
+
+/**
+ * An object implementing this interface holds context data of the current call.
+ */
+public interface CallContext {
+
+    String BINDING_ATOMPUB = "atompub";
+    String BINDING_WEBSERVICES = "webservices";
+    String BINDING_LOCAL = "local";
+
+    String REPOSITORY_ID = "repositoryId";
+    String USERNAME = "useranme";
+    String PASSWORD = "password";
+    String LOCALE = "locale";
+    String OFFSET = "offset";
+    String LENGTH = "length";
+
+    /**
+     * Returns the binding. Usually it returns
+     * {@link CallContext#BINDING_ATOMPUB} or
+     * {@link CallContext#BINDING_WEBSERVICES}.
+     */
+    String getBinding();
+
+    /**
+     * Returns if <code>true</code> object infos can improve the performance.
+     */
+    boolean isObjectInfoRequired();
+
+    /**
+     * Returns context data by key.
+     * 
+     * @param key
+     *            the key
+     * @return the data if the key is valid, <code>null</code> otherwise
+     */
+    String get(String key);
+
+    /**
+     * Returns the repository id.
+     */
+    String getRepositoryId();
+
+    /**
+     * Returns the user name.
+     */
+    String getUsername();
+
+    /**
+     * Returns the password.
+     */
+    String getPassword();
+
+    /**
+     * Returns the locale.
+     */
+    String getLocale();
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CallContext.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CmisService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CmisServiceFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/ObjectInfo.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/server/ObjectInfo.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/ObjectInfo.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/ObjectInfo.java Thu Jul 29 17:05:18 2010
@@ -1,168 +1,168 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.server;
-
-import java.util.GregorianCalendar;
-import java.util.List;
-
-import org.apache.chemistry.opencmis.commons.data.ObjectData;
-import org.apache.chemistry.opencmis.commons.enums.BaseTypeId;
-
-/**
- * This class contains information about an object. This data is used to
- * generate the appropriate links in AtomPub entries and feeds.
- */
-public interface ObjectInfo {
-
-    /**
-     * Returns the object id.
-     */
-    String getId();
-
-    /**
-     * Returns the object name.
-     */
-    String getName();
-
-    /**
-     * Returns the creator.
-     */
-    String getCreatedBy();
-
-    /**
-     * Returns the creation date.
-     */
-    GregorianCalendar getCreationDate();
-
-    /**
-     * Returns the last modification date.
-     */
-    GregorianCalendar getLastModificationDate();
-
-    /**
-     * Returns the type id.
-     */
-    String getTypeId();
-
-    /**
-     * Returns the base type.
-     */
-    BaseTypeId getBaseType();
-
-    /**
-     * Returns <code>true</code> if the object is a document and if it is the
-     * current version or it is not versionable, <code>false</code> otherwise.
-     */
-    boolean isCurrentVersion();
-
-    /**
-     * Returns the version series id if the object is a document and it is
-     * versionable, <code>null</code> otherwise.
-     */
-    String getVersionSeriesId();
-
-    /**
-     * Returns the working copy id if the object is a document and a working
-     * copy exists, <code>null</code> otherwise.
-     */
-    String getWorkingCopyId();
-
-    /**
-     * Returns the original id of the working copy if the object is a document
-     * and a working copy, <code>null</code> otherwise.
-     */
-    String getWorkingCopyOriginalId();
-
-    /**
-     * Returns <code>true</code> if the object is a document and has content,
-     * <code>false</code> otherwise.
-     */
-    boolean hasContent();
-
-    /**
-     * Returns the content type of the content if the object is a document and
-     * has content, <code>null</code> otherwise.
-     */
-    String getContentType();
-
-    /**
-     * Returns the file name of the content if the object is a document and has
-     * content, <code>null</code> otherwise.
-     */
-    String getFileName();
-
-    /**
-     * Returns rendition information if the object has renditions,
-     * <code>null</code> otherwise.
-     */
-    List<RenditionInfo> getRenditionInfos();
-
-    /**
-     * Returns <code>true</code> if the object supports relationships even if no
-     * relationships exist, <code>false</code> otherwise.
-     */
-    boolean supportsRelationships();
-
-    /**
-     * Returns <code>true</code> if the object supports policies even if no
-     * policies are applied, <code>false</code> otherwise.
-     */
-    boolean supportsPolicies();
-
-    /**
-     * Returns <code>true</code> if the object has an ACL, <code>false</code>
-     * otherwise.
-     */
-    boolean hasAcl();
-
-    /**
-     * Returns <code>true</code> if the object has at least one parent,
-     * <code>false</code> otherwise.
-     */
-    boolean hasParent();
-
-    /**
-     * Returns <code>true</code> if the object is a folder and supports
-     * <code>getDescendants</code>, <code>false</code> otherwise.
-     */
-    boolean supportsDescendants();
-
-    /**
-     * Returns <code>true</code> if the object is a folder and supports
-     * <code>getFolderTree</code>, <code>false</code> otherwise.
-     */
-    boolean supportsFolderTree();
-
-    /**
-     * Returns the list of ids of the relationships that originate from this
-     * object, <code>null</code> is no such relationships exist.
-     */
-    List<String> getRelationshipSourceIds();
-
-    /**
-     * Returns the list of ids of the relationships that point to this object,
-     * <code>null</code> is no such relationships exist.
-     */
-    List<String> getRelationshipTargetIds();
-
-    /**
-     * Returns the full object.
-     */
-    ObjectData getObject();
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.server;
+
+import java.util.GregorianCalendar;
+import java.util.List;
+
+import org.apache.chemistry.opencmis.commons.data.ObjectData;
+import org.apache.chemistry.opencmis.commons.enums.BaseTypeId;
+
+/**
+ * This class contains information about an object. This data is used to
+ * generate the appropriate links in AtomPub entries and feeds.
+ */
+public interface ObjectInfo {
+
+    /**
+     * Returns the object id.
+     */
+    String getId();
+
+    /**
+     * Returns the object name.
+     */
+    String getName();
+
+    /**
+     * Returns the creator.
+     */
+    String getCreatedBy();
+
+    /**
+     * Returns the creation date.
+     */
+    GregorianCalendar getCreationDate();
+
+    /**
+     * Returns the last modification date.
+     */
+    GregorianCalendar getLastModificationDate();
+
+    /**
+     * Returns the type id.
+     */
+    String getTypeId();
+
+    /**
+     * Returns the base type.
+     */
+    BaseTypeId getBaseType();
+
+    /**
+     * Returns <code>true</code> if the object is a document and if it is the
+     * current version or it is not versionable, <code>false</code> otherwise.
+     */
+    boolean isCurrentVersion();
+
+    /**
+     * Returns the version series id if the object is a document and it is
+     * versionable, <code>null</code> otherwise.
+     */
+    String getVersionSeriesId();
+
+    /**
+     * Returns the working copy id if the object is a document and a working
+     * copy exists, <code>null</code> otherwise.
+     */
+    String getWorkingCopyId();
+
+    /**
+     * Returns the original id of the working copy if the object is a document
+     * and a working copy, <code>null</code> otherwise.
+     */
+    String getWorkingCopyOriginalId();
+
+    /**
+     * Returns <code>true</code> if the object is a document and has content,
+     * <code>false</code> otherwise.
+     */
+    boolean hasContent();
+
+    /**
+     * Returns the content type of the content if the object is a document and
+     * has content, <code>null</code> otherwise.
+     */
+    String getContentType();
+
+    /**
+     * Returns the file name of the content if the object is a document and has
+     * content, <code>null</code> otherwise.
+     */
+    String getFileName();
+
+    /**
+     * Returns rendition information if the object has renditions,
+     * <code>null</code> otherwise.
+     */
+    List<RenditionInfo> getRenditionInfos();
+
+    /**
+     * Returns <code>true</code> if the object supports relationships even if no
+     * relationships exist, <code>false</code> otherwise.
+     */
+    boolean supportsRelationships();
+
+    /**
+     * Returns <code>true</code> if the object supports policies even if no
+     * policies are applied, <code>false</code> otherwise.
+     */
+    boolean supportsPolicies();
+
+    /**
+     * Returns <code>true</code> if the object has an ACL, <code>false</code>
+     * otherwise.
+     */
+    boolean hasAcl();
+
+    /**
+     * Returns <code>true</code> if the object has at least one parent,
+     * <code>false</code> otherwise.
+     */
+    boolean hasParent();
+
+    /**
+     * Returns <code>true</code> if the object is a folder and supports
+     * <code>getDescendants</code>, <code>false</code> otherwise.
+     */
+    boolean supportsDescendants();
+
+    /**
+     * Returns <code>true</code> if the object is a folder and supports
+     * <code>getFolderTree</code>, <code>false</code> otherwise.
+     */
+    boolean supportsFolderTree();
+
+    /**
+     * Returns the list of ids of the relationships that originate from this
+     * object, <code>null</code> is no such relationships exist.
+     */
+    List<String> getRelationshipSourceIds();
+
+    /**
+     * Returns the list of ids of the relationships that point to this object,
+     * <code>null</code> is no such relationships exist.
+     */
+    List<String> getRelationshipTargetIds();
+
+    /**
+     * Returns the full object.
+     */
+    ObjectData getObject();
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/ObjectInfo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/ObjectInfoHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/RenditionInfo.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/server/RenditionInfo.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/RenditionInfo.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/RenditionInfo.java Thu Jul 29 17:05:18 2010
@@ -1,53 +1,53 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.server;
-
-import java.math.BigInteger;
-
-/**
- * This class contains information about a rendition of an object. This data is
- * used to generate the appropriate links in AtomPub entries and feeds.
- */
-public interface RenditionInfo {
-
-    /**
-     * Return the id of the rendition.
-     */
-    String getId();
-
-    /**
-     * Return the content type of the rendition.
-     */
-    String getContenType();
-
-    /**
-     * Return the kind of the rendition.
-     */
-    String getKind();
-
-    /**
-     * Return the title of the rendition.
-     */
-    String getTitle();
-
-    /**
-     * Return the size of the rendition in bytes.
-     */
-    BigInteger getLength();
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.server;
+
+import java.math.BigInteger;
+
+/**
+ * This class contains information about a rendition of an object. This data is
+ * used to generate the appropriate links in AtomPub entries and feeds.
+ */
+public interface RenditionInfo {
+
+    /**
+     * Return the id of the rendition.
+     */
+    String getId();
+
+    /**
+     * Return the content type of the rendition.
+     */
+    String getContenType();
+
+    /**
+     * Return the kind of the rendition.
+     */
+    String getKind();
+
+    /**
+     * Return the title of the rendition.
+     */
+    String getTitle();
+
+    /**
+     * Return the size of the rendition in bytes.
+     */
+    BigInteger getLength();
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/RenditionInfo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/package.html
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/server/package.html?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/package.html (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/package.html Thu Jul 29 17:05:18 2010
@@ -1,28 +1,28 @@
-<!-- 
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
- -->
-<html>
-<head>
-</head>
-<body>
-OpenCMIS server interfaces.
-<p>This package contains the server interfaces.</p>
-</body>
+<!-- 
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+ -->
+<html>
+<head>
+</head>
+<body>
+OpenCMIS server interfaces.
+<p>This package contains the server interfaces.</p>
+</body>
 </html>
\ No newline at end of file

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/BindingsObjectFactory.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/BindingsObjectFactory.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/BindingsObjectFactory.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/BindingsObjectFactory.java Thu Jul 29 17:05:18 2010
@@ -1,88 +1,88 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.spi;
-
-import java.io.InputStream;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.GregorianCalendar;
-import java.util.List;
-
-import org.apache.chemistry.opencmis.commons.data.Ace;
-import org.apache.chemistry.opencmis.commons.data.Acl;
-import org.apache.chemistry.opencmis.commons.data.ContentStream;
-import org.apache.chemistry.opencmis.commons.data.Properties;
-import org.apache.chemistry.opencmis.commons.data.PropertyBoolean;
-import org.apache.chemistry.opencmis.commons.data.PropertyData;
-import org.apache.chemistry.opencmis.commons.data.PropertyDateTime;
-import org.apache.chemistry.opencmis.commons.data.PropertyDecimal;
-import org.apache.chemistry.opencmis.commons.data.PropertyHtml;
-import org.apache.chemistry.opencmis.commons.data.PropertyId;
-import org.apache.chemistry.opencmis.commons.data.PropertyInteger;
-import org.apache.chemistry.opencmis.commons.data.PropertyString;
-import org.apache.chemistry.opencmis.commons.data.PropertyUri;
-
-/**
- * Factory for CMIS binding objects.
- * 
- * @author <a href="mailto:fmueller@opentext.com">Florian M&uuml;ller</a>
- * 
- */
-public interface BindingsObjectFactory {
-
-    Ace createAccessControlEntry(String principal, List<String> permissions);
-
-    Acl createAccessControlList(List<Ace> aces);
-
-    PropertyBoolean createPropertyBooleanData(String id, List<Boolean> values);
-
-    PropertyBoolean createPropertyBooleanData(String id, Boolean value);
-
-    PropertyId createPropertyIdData(String id, List<String> values);
-
-    PropertyId createPropertyIdData(String id, String value);
-
-    PropertyInteger createPropertyIntegerData(String id, List<BigInteger> values);
-
-    PropertyInteger createPropertyIntegerData(String id, BigInteger value);
-
-    PropertyDateTime createPropertyDateTimeData(String id, List<GregorianCalendar> values);
-
-    PropertyDateTime createPropertyDateTimeData(String id, GregorianCalendar value);
-
-    PropertyDecimal createPropertyDecimalData(String id, List<BigDecimal> values);
-
-    PropertyDecimal createPropertyDecimalData(String id, BigDecimal value);
-
-    PropertyHtml createPropertyHtmlData(String id, List<String> values);
-
-    PropertyHtml createPropertyHtmlData(String id, String value);
-
-    PropertyString createPropertyStringData(String id, List<String> values);
-
-    PropertyString createPropertyStringData(String id, String value);
-
-    PropertyUri createPropertyUriData(String id, List<String> values);
-
-    PropertyUri createPropertyUriData(String id, String value);
-
-    Properties createPropertiesData(List<PropertyData<?>> properties);
-
-    ContentStream createContentStream(String filename, BigInteger length, String mimetype, InputStream stream);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.spi;
+
+import java.io.InputStream;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.GregorianCalendar;
+import java.util.List;
+
+import org.apache.chemistry.opencmis.commons.data.Ace;
+import org.apache.chemistry.opencmis.commons.data.Acl;
+import org.apache.chemistry.opencmis.commons.data.ContentStream;
+import org.apache.chemistry.opencmis.commons.data.Properties;
+import org.apache.chemistry.opencmis.commons.data.PropertyBoolean;
+import org.apache.chemistry.opencmis.commons.data.PropertyData;
+import org.apache.chemistry.opencmis.commons.data.PropertyDateTime;
+import org.apache.chemistry.opencmis.commons.data.PropertyDecimal;
+import org.apache.chemistry.opencmis.commons.data.PropertyHtml;
+import org.apache.chemistry.opencmis.commons.data.PropertyId;
+import org.apache.chemistry.opencmis.commons.data.PropertyInteger;
+import org.apache.chemistry.opencmis.commons.data.PropertyString;
+import org.apache.chemistry.opencmis.commons.data.PropertyUri;
+
+/**
+ * Factory for CMIS binding objects.
+ * 
+ * @author <a href="mailto:fmueller@opentext.com">Florian M&uuml;ller</a>
+ * 
+ */
+public interface BindingsObjectFactory {
+
+    Ace createAccessControlEntry(String principal, List<String> permissions);
+
+    Acl createAccessControlList(List<Ace> aces);
+
+    PropertyBoolean createPropertyBooleanData(String id, List<Boolean> values);
+
+    PropertyBoolean createPropertyBooleanData(String id, Boolean value);
+
+    PropertyId createPropertyIdData(String id, List<String> values);
+
+    PropertyId createPropertyIdData(String id, String value);
+
+    PropertyInteger createPropertyIntegerData(String id, List<BigInteger> values);
+
+    PropertyInteger createPropertyIntegerData(String id, BigInteger value);
+
+    PropertyDateTime createPropertyDateTimeData(String id, List<GregorianCalendar> values);
+
+    PropertyDateTime createPropertyDateTimeData(String id, GregorianCalendar value);
+
+    PropertyDecimal createPropertyDecimalData(String id, List<BigDecimal> values);
+
+    PropertyDecimal createPropertyDecimalData(String id, BigDecimal value);
+
+    PropertyHtml createPropertyHtmlData(String id, List<String> values);
+
+    PropertyHtml createPropertyHtmlData(String id, String value);
+
+    PropertyString createPropertyStringData(String id, List<String> values);
+
+    PropertyString createPropertyStringData(String id, String value);
+
+    PropertyUri createPropertyUriData(String id, List<String> values);
+
+    PropertyUri createPropertyUriData(String id, String value);
+
+    Properties createPropertiesData(List<PropertyData<?>> properties);
+
+    ContentStream createContentStream(String filename, BigInteger length, String mimetype, InputStream stream);
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/BindingsObjectFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

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=980509&r1=980508&r2=980509&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 Thu Jul 29 17:05:18 2010
@@ -1,107 +1,107 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-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
- * a set of caches. All repositories that are exposed by this CMIS endpoint are
- * accessible in this session. All CMIS operations and extension points are
- * provided if they are supported by the underlying binding.
- * </p>
- */
-public interface CmisBinding extends Serializable {
-
-    /**
-     * Gets a Repository Service interface object.
-     */
-    RepositoryService getRepositoryService();
-
-    /**
-     * Gets a Navigation Service interface object.
-     */
-    NavigationService getNavigationService();
-
-    /**
-     * Gets an Object Service interface object.
-     */
-    ObjectService getObjectService();
-
-    /**
-     * Gets a Versioning Service interface object.
-     */
-    VersioningService getVersioningService();
-
-    /**
-     * Gets a Relationship Service interface object.
-     */
-    RelationshipService getRelationshipService();
-
-    /**
-     * Gets a Discovery Service interface object.
-     */
-    DiscoveryService getDiscoveryService();
-
-    /**
-     * Gets a Multifiling Service interface object.
-     */
-    MultiFilingService getMultiFilingService();
-
-    /**
-     * Gets an ACL Service interface object.
-     */
-    AclService getAclService();
-
-    /**
-     * Gets a Policy Service interface object.
-     */
-    PolicyService getPolicyService();
-
-    /**
-     * Gets a factory for CMIS provider specific objects.
-     */
-    BindingsObjectFactory getObjectFactory();
-
-    /**
-     * Clears all caches of the current CMIS binding session.
-     */
-    void clearAllCaches();
-
-    /**
-     * Clears all caches of the current CMIS binding session that are related to
-     * the given repository.
-     * 
-     * @param repositoryId
-     *            the repository id
-     */
-    void clearRepositoryCache(String repositoryId);
-
-    /**
-     * Releases all resources assigned to this binding instance.
-     */
-    void close();
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+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
+ * a set of caches. All repositories that are exposed by this CMIS endpoint are
+ * accessible in this session. All CMIS operations and extension points are
+ * provided if they are supported by the underlying binding.
+ * </p>
+ */
+public interface CmisBinding extends Serializable {
+
+    /**
+     * Gets a Repository Service interface object.
+     */
+    RepositoryService getRepositoryService();
+
+    /**
+     * Gets a Navigation Service interface object.
+     */
+    NavigationService getNavigationService();
+
+    /**
+     * Gets an Object Service interface object.
+     */
+    ObjectService getObjectService();
+
+    /**
+     * Gets a Versioning Service interface object.
+     */
+    VersioningService getVersioningService();
+
+    /**
+     * Gets a Relationship Service interface object.
+     */
+    RelationshipService getRelationshipService();
+
+    /**
+     * Gets a Discovery Service interface object.
+     */
+    DiscoveryService getDiscoveryService();
+
+    /**
+     * Gets a Multifiling Service interface object.
+     */
+    MultiFilingService getMultiFilingService();
+
+    /**
+     * Gets an ACL Service interface object.
+     */
+    AclService getAclService();
+
+    /**
+     * Gets a Policy Service interface object.
+     */
+    PolicyService getPolicyService();
+
+    /**
+     * Gets a factory for CMIS provider specific objects.
+     */
+    BindingsObjectFactory getObjectFactory();
+
+    /**
+     * Clears all caches of the current CMIS binding session.
+     */
+    void clearAllCaches();
+
+    /**
+     * Clears all caches of the current CMIS binding session that are related to
+     * the given repository.
+     * 
+     * @param repositoryId
+     *            the repository id
+     */
+    void clearRepositoryCache(String repositoryId);
+
+    /**
+     * Releases all resources assigned to this binding instance.
+     */
+    void close();
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/CmisBinding.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/package.html
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/package.html?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/package.html (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/package.html Thu Jul 29 17:05:18 2010
@@ -1,29 +1,29 @@
-<!-- 
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
- -->
-<html>
-<head>
-</head>
-<body>
-OpenCMIS client and server binding services.
-<p>This package provides the CMIS service interfaces for low-level
-client and server implementations.</p>
-</body>
+<!-- 
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+ -->
+<html>
+<head>
+</head>
+<body>
+OpenCMIS client and server binding services.
+<p>This package provides the CMIS service interfaces for low-level
+client and server implementations.</p>
+</body>
 </html>
\ No newline at end of file

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/spi/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.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/BindingsObjectFactoryImpl.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.java Thu Jul 29 17:05:18 2010
@@ -1,135 +1,135 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.impl.dataobjects;
-
-import java.io.InputStream;
-import java.io.Serializable;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.GregorianCalendar;
-import java.util.List;
-
-import org.apache.chemistry.opencmis.commons.data.Ace;
-import org.apache.chemistry.opencmis.commons.data.Acl;
-import org.apache.chemistry.opencmis.commons.data.ContentStream;
-import org.apache.chemistry.opencmis.commons.data.Properties;
-import org.apache.chemistry.opencmis.commons.data.PropertyBoolean;
-import org.apache.chemistry.opencmis.commons.data.PropertyData;
-import org.apache.chemistry.opencmis.commons.data.PropertyDateTime;
-import org.apache.chemistry.opencmis.commons.data.PropertyDecimal;
-import org.apache.chemistry.opencmis.commons.data.PropertyHtml;
-import org.apache.chemistry.opencmis.commons.data.PropertyId;
-import org.apache.chemistry.opencmis.commons.data.PropertyInteger;
-import org.apache.chemistry.opencmis.commons.data.PropertyString;
-import org.apache.chemistry.opencmis.commons.data.PropertyUri;
-import org.apache.chemistry.opencmis.commons.spi.BindingsObjectFactory;
-
-/**
- * CMIS binding object factory implementation.
- * 
- * @author <a href="mailto:fmueller@opentext.com">Florian M&uuml;ller</a>
- * 
- */
-public class BindingsObjectFactoryImpl implements BindingsObjectFactory, Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    public BindingsObjectFactoryImpl() {
-    }
-
-    public Ace createAccessControlEntry(String principal, List<String> permissions) {
-        return new AccessControlEntryImpl(new AccessControlPrincipalDataImpl(principal), permissions);
-    }
-
-    public Acl createAccessControlList(List<Ace> aces) {
-        return new AccessControlListImpl(aces);
-    }
-
-    public ContentStream createContentStream(String filename, BigInteger length, String mimetype, InputStream stream) {
-        return new ContentStreamImpl(filename, length, mimetype, stream);
-    }
-
-    public Properties createPropertiesData(List<PropertyData<?>> properties) {
-        return new PropertiesImpl(properties);
-    }
-
-    public PropertyBoolean createPropertyBooleanData(String id, List<Boolean> values) {
-        return new PropertyBooleanImpl(id, values);
-    }
-
-    public PropertyBoolean createPropertyBooleanData(String id, Boolean value) {
-        return new PropertyBooleanImpl(id, value);
-    }
-
-    public PropertyDateTime createPropertyDateTimeData(String id, List<GregorianCalendar> values) {
-        return new PropertyDateTimeImpl(id, values);
-    }
-
-    public PropertyDateTime createPropertyDateTimeData(String id, GregorianCalendar value) {
-        return new PropertyDateTimeImpl(id, value);
-    }
-
-    public PropertyDecimal createPropertyDecimalData(String id, List<BigDecimal> values) {
-        return new PropertyDecimalImpl(id, values);
-    }
-
-    public PropertyDecimal createPropertyDecimalData(String id, BigDecimal value) {
-        return new PropertyDecimalImpl(id, value);
-    }
-
-    public PropertyHtml createPropertyHtmlData(String id, List<String> values) {
-        return new PropertyHtmlImpl(id, values);
-    }
-
-    public PropertyHtml createPropertyHtmlData(String id, String value) {
-        return new PropertyHtmlImpl(id, value);
-    }
-
-    public PropertyId createPropertyIdData(String id, List<String> values) {
-        return new PropertyIdImpl(id, values);
-    }
-
-    public PropertyId createPropertyIdData(String id, String value) {
-        return new PropertyIdImpl(id, value);
-    }
-
-    public PropertyInteger createPropertyIntegerData(String id, List<BigInteger> values) {
-        return new PropertyIntegerImpl(id, values);
-    }
-
-    public PropertyInteger createPropertyIntegerData(String id, BigInteger value) {
-        return new PropertyIntegerImpl(id, value);
-    }
-
-    public PropertyString createPropertyStringData(String id, List<String> values) {
-        return new PropertyStringImpl(id, values);
-    }
-
-    public PropertyString createPropertyStringData(String id, String value) {
-        return new PropertyStringImpl(id, value);
-    }
-
-    public PropertyUri createPropertyUriData(String id, List<String> values) {
-        return new PropertyUriImpl(id, values);
-    }
-
-    public PropertyUri createPropertyUriData(String id, String value) {
-        return new PropertyUriImpl(id, value);
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.impl.dataobjects;
+
+import java.io.InputStream;
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.GregorianCalendar;
+import java.util.List;
+
+import org.apache.chemistry.opencmis.commons.data.Ace;
+import org.apache.chemistry.opencmis.commons.data.Acl;
+import org.apache.chemistry.opencmis.commons.data.ContentStream;
+import org.apache.chemistry.opencmis.commons.data.Properties;
+import org.apache.chemistry.opencmis.commons.data.PropertyBoolean;
+import org.apache.chemistry.opencmis.commons.data.PropertyData;
+import org.apache.chemistry.opencmis.commons.data.PropertyDateTime;
+import org.apache.chemistry.opencmis.commons.data.PropertyDecimal;
+import org.apache.chemistry.opencmis.commons.data.PropertyHtml;
+import org.apache.chemistry.opencmis.commons.data.PropertyId;
+import org.apache.chemistry.opencmis.commons.data.PropertyInteger;
+import org.apache.chemistry.opencmis.commons.data.PropertyString;
+import org.apache.chemistry.opencmis.commons.data.PropertyUri;
+import org.apache.chemistry.opencmis.commons.spi.BindingsObjectFactory;
+
+/**
+ * CMIS binding object factory implementation.
+ * 
+ * @author <a href="mailto:fmueller@opentext.com">Florian M&uuml;ller</a>
+ * 
+ */
+public class BindingsObjectFactoryImpl implements BindingsObjectFactory, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    public BindingsObjectFactoryImpl() {
+    }
+
+    public Ace createAccessControlEntry(String principal, List<String> permissions) {
+        return new AccessControlEntryImpl(new AccessControlPrincipalDataImpl(principal), permissions);
+    }
+
+    public Acl createAccessControlList(List<Ace> aces) {
+        return new AccessControlListImpl(aces);
+    }
+
+    public ContentStream createContentStream(String filename, BigInteger length, String mimetype, InputStream stream) {
+        return new ContentStreamImpl(filename, length, mimetype, stream);
+    }
+
+    public Properties createPropertiesData(List<PropertyData<?>> properties) {
+        return new PropertiesImpl(properties);
+    }
+
+    public PropertyBoolean createPropertyBooleanData(String id, List<Boolean> values) {
+        return new PropertyBooleanImpl(id, values);
+    }
+
+    public PropertyBoolean createPropertyBooleanData(String id, Boolean value) {
+        return new PropertyBooleanImpl(id, value);
+    }
+
+    public PropertyDateTime createPropertyDateTimeData(String id, List<GregorianCalendar> values) {
+        return new PropertyDateTimeImpl(id, values);
+    }
+
+    public PropertyDateTime createPropertyDateTimeData(String id, GregorianCalendar value) {
+        return new PropertyDateTimeImpl(id, value);
+    }
+
+    public PropertyDecimal createPropertyDecimalData(String id, List<BigDecimal> values) {
+        return new PropertyDecimalImpl(id, values);
+    }
+
+    public PropertyDecimal createPropertyDecimalData(String id, BigDecimal value) {
+        return new PropertyDecimalImpl(id, value);
+    }
+
+    public PropertyHtml createPropertyHtmlData(String id, List<String> values) {
+        return new PropertyHtmlImpl(id, values);
+    }
+
+    public PropertyHtml createPropertyHtmlData(String id, String value) {
+        return new PropertyHtmlImpl(id, value);
+    }
+
+    public PropertyId createPropertyIdData(String id, List<String> values) {
+        return new PropertyIdImpl(id, values);
+    }
+
+    public PropertyId createPropertyIdData(String id, String value) {
+        return new PropertyIdImpl(id, value);
+    }
+
+    public PropertyInteger createPropertyIntegerData(String id, List<BigInteger> values) {
+        return new PropertyIntegerImpl(id, values);
+    }
+
+    public PropertyInteger createPropertyIntegerData(String id, BigInteger value) {
+        return new PropertyIntegerImpl(id, value);
+    }
+
+    public PropertyString createPropertyStringData(String id, List<String> values) {
+        return new PropertyStringImpl(id, values);
+    }
+
+    public PropertyString createPropertyStringData(String id, String value) {
+        return new PropertyStringImpl(id, value);
+    }
+
+    public PropertyUri createPropertyUriData(String id, List<String> values) {
+        return new PropertyUriImpl(id, values);
+    }
+
+    public PropertyUri createPropertyUriData(String id, String value) {
+        return new PropertyUriImpl(id, value);
+    }
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractServiceFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native