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/04/15 16:05:42 UTC
svn commit: r934417 [3/7] - 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-api/src/main/java/or...
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java?rev=934417&r1=934416&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java Thu Apr 15 14:05:36 2010
@@ -42,31 +42,29 @@ import org.apache.chemistry.opencmis.cli
import org.apache.chemistry.opencmis.client.api.QueryResult;
import org.apache.chemistry.opencmis.client.api.objecttype.ObjectType;
import org.apache.chemistry.opencmis.client.api.repository.ObjectFactory;
-import org.apache.chemistry.opencmis.client.api.repository.RepositoryInfo;
import org.apache.chemistry.opencmis.client.api.util.Container;
import org.apache.chemistry.opencmis.client.api.util.PagingList;
import org.apache.chemistry.opencmis.client.runtime.cache.Cache;
import org.apache.chemistry.opencmis.client.runtime.cache.CacheImpl;
import org.apache.chemistry.opencmis.client.runtime.repository.PersistentObjectFactoryImpl;
-import org.apache.chemistry.opencmis.client.runtime.repository.RepositoryInfoImpl;
import org.apache.chemistry.opencmis.client.runtime.util.AbstractPagingList;
import org.apache.chemistry.opencmis.client.runtime.util.ContainerImpl;
import org.apache.chemistry.opencmis.commons.SessionParameter;
import org.apache.chemistry.opencmis.commons.api.TypeDefinition;
import org.apache.chemistry.opencmis.commons.api.TypeDefinitionContainer;
import org.apache.chemistry.opencmis.commons.api.TypeDefinitionList;
+import org.apache.chemistry.opencmis.commons.bindings.CmisBinding;
+import org.apache.chemistry.opencmis.commons.bindings.DiscoveryService;
+import org.apache.chemistry.opencmis.commons.bindings.NavigationService;
+import org.apache.chemistry.opencmis.commons.bindings.ObjectData;
+import org.apache.chemistry.opencmis.commons.bindings.ObjectList;
+import org.apache.chemistry.opencmis.commons.bindings.RepositoryInfo;
+import org.apache.chemistry.opencmis.commons.bindings.RepositoryService;
import org.apache.chemistry.opencmis.commons.enums.BaseObjectTypeIds;
import org.apache.chemistry.opencmis.commons.enums.IncludeRelationships;
import org.apache.chemistry.opencmis.commons.enums.Updatability;
import org.apache.chemistry.opencmis.commons.enums.VersioningState;
import org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException;
-import org.apache.chemistry.opencmis.commons.provider.CmisBinding;
-import org.apache.chemistry.opencmis.commons.provider.DiscoveryService;
-import org.apache.chemistry.opencmis.commons.provider.NavigationService;
-import org.apache.chemistry.opencmis.commons.provider.ObjectData;
-import org.apache.chemistry.opencmis.commons.provider.ObjectList;
-import org.apache.chemistry.opencmis.commons.provider.RepositoryInfoData;
-import org.apache.chemistry.opencmis.commons.provider.RepositoryService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -117,7 +115,7 @@ public class PersistentSessionImpl imple
* Lazy loaded repository info. Will be invalid after clear(). Access by getter always.
* (serializable)
*/
- private RepositoryInfoImpl repositoryInfo;
+ private RepositoryInfo repositoryInfo;
/*
* helper factory (non serializable)
@@ -194,7 +192,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#clear()
*/
public void clear() {
@@ -221,7 +219,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getObjectFactory()
*/
public ObjectFactory getObjectFactory() {
@@ -230,7 +228,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getCheckedOutDocs(int)
*/
public PagingList<Document> getCheckedOutDocs(int itemsPerPage) {
@@ -239,7 +237,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @seeorg.apache.opencmis.client.api.Session#getCheckedOutDocs(org.apache.opencmis.client.api.
* OperationContext, int)
*/
@@ -290,7 +288,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getContentChanges(java.lang.String, int)
*/
public PagingList<ChangeEvent> getContentChanges(String changeLogToken, int itemsPerPage) {
@@ -299,7 +297,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getDefaultContext()
*/
public OperationContext getDefaultContext() {
@@ -314,7 +312,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @seeorg.apache.opencmis.client.api.Session#setDefaultContext(org.apache.opencmis.client.api.
* OperationContext)
*/
@@ -330,7 +328,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#createOperationContext(java.util.Set, boolean,
* boolean, boolean, org.apache.opencmis.commons.enums.IncludeRelationships, java.util.Set,
* boolean, java.lang.String, boolean)
@@ -345,7 +343,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#createObjectId(java.lang.String)
*/
public ObjectId createObjectId(String id) {
@@ -358,7 +356,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getObject(java.lang.String)
*/
public CmisObject getObject(ObjectId objectId) {
@@ -367,7 +365,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getObject(java.lang.String,
* org.apache.opencmis.client.api.OperationContext)
*/
@@ -407,7 +405,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getObjectByPath(java.lang.String)
*/
public CmisObject getObjectByPath(String path) {
@@ -416,7 +414,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getObjectByPath(java.lang.String,
* org.apache.opencmis.client.api.OperationContext)
*/
@@ -456,7 +454,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getRepositoryInfo()
*/
public RepositoryInfo getRepositoryInfo() {
@@ -471,7 +469,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getRootFolder()
*/
public Folder getRootFolder() {
@@ -480,7 +478,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @seeorg.apache.opencmis.client.api.Session#getRootFolder(org.apache.opencmis.client.api.
* OperationContext)
*/
@@ -497,7 +495,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getTypeChildren(java.lang.String, boolean, int)
*/
public PagingList<ObjectType> getTypeChildren(final String typeId,
@@ -539,7 +537,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getTypeDefinition(java.lang.String)
*/
public ObjectType getTypeDefinition(String typeId) {
@@ -550,7 +548,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getTypeDescendants(java.lang.String, int, boolean)
*/
public List<Container<ObjectType>> getTypeDescendants(String typeId, int depth,
@@ -581,7 +579,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#query(java.lang.String, boolean, int)
*/
public PagingList<QueryResult> query(final String statement, final boolean searchAllVersions,
@@ -591,7 +589,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#query(java.lang.String, boolean,
* org.apache.opencmis.client.api.OperationContext, int)
*/
@@ -662,10 +660,8 @@ public class PersistentSessionImpl imple
throw new IllegalStateException("Repository Id is not set!");
}
- RepositoryInfoData data = getBinding().getRepositoryService().getRepositoryInfo(
+ repositoryInfo = getBinding().getRepositoryService().getRepositoryInfo(
repositoryId, null);
-
- this.repositoryInfo = new RepositoryInfoImpl(data);
}
finally {
fLock.writeLock().unlock();
@@ -674,7 +670,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#getBinding()
*/
public CmisBinding getBinding() {
@@ -708,7 +704,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#createDocument(java.util.Map,
* org.apache.opencmis.client.api.ObjectId, org.apache.opencmis.client.api.ContentStream,
* org.apache.opencmis.commons.enums.VersioningState, java.util.List, java.util.List,
@@ -737,7 +733,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.opencmis.client.api.Session#createDocumentFromSource(org.apache.opencmis.client.
* api.ObjectId, java.util.Map, org.apache.opencmis.client.api.ObjectId,
@@ -780,7 +776,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#createFolder(java.util.Map,
* org.apache.opencmis.client.api.ObjectId, java.util.List, java.util.List, java.util.List)
*/
@@ -804,7 +800,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#createPolicy(java.util.Map,
* org.apache.opencmis.client.api.ObjectId, java.util.List, java.util.List, java.util.List)
*/
@@ -828,7 +824,7 @@ public class PersistentSessionImpl imple
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.Session#createRelationship(java.util.Map, java.util.List,
* java.util.List, java.util.List)
*/
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/QueryResultImpl.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/QueryResultImpl.java?rev=934417&r1=934416&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/QueryResultImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/QueryResultImpl.java Thu Apr 15 14:05:36 2010
@@ -32,8 +32,8 @@ import org.apache.chemistry.opencmis.cli
import org.apache.chemistry.opencmis.client.api.Rendition;
import org.apache.chemistry.opencmis.client.api.Session;
import org.apache.chemistry.opencmis.client.api.repository.ObjectFactory;
-import org.apache.chemistry.opencmis.commons.provider.ObjectData;
-import org.apache.chemistry.opencmis.commons.provider.RenditionData;
+import org.apache.chemistry.opencmis.commons.bindings.ObjectData;
+import org.apache.chemistry.opencmis.commons.bindings.RenditionData;
/**
* Implementation of <code>QueryResult</code>.
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/RenditionImpl.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/RenditionImpl.java?rev=934417&r1=934416&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/RenditionImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/RenditionImpl.java Thu Apr 15 14:05:36 2010
@@ -26,7 +26,7 @@ import org.apache.chemistry.opencmis.cli
import org.apache.chemistry.opencmis.client.api.OperationContext;
import org.apache.chemistry.opencmis.client.api.Rendition;
import org.apache.chemistry.opencmis.client.api.Session;
-import org.apache.chemistry.opencmis.commons.provider.ContentStreamData;
+import org.apache.chemistry.opencmis.commons.bindings.ContentStreamData;
/**
* Implementation of <code>Rendition</code>.
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/SessionFactoryImpl.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/SessionFactoryImpl.java?rev=934417&r1=934416&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/SessionFactoryImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/SessionFactoryImpl.java Thu Apr 15 14:05:36 2010
@@ -27,11 +27,11 @@ import org.apache.chemistry.opencmis.cli
import org.apache.chemistry.opencmis.client.api.repository.Repository;
import org.apache.chemistry.opencmis.client.runtime.repository.RepositoryImpl;
import org.apache.chemistry.opencmis.commons.SessionParameter;
+import org.apache.chemistry.opencmis.commons.bindings.CmisBinding;
+import org.apache.chemistry.opencmis.commons.bindings.RepositoryInfo;
import org.apache.chemistry.opencmis.commons.enums.SessionType;
import org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException;
import org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException;
-import org.apache.chemistry.opencmis.commons.provider.CmisBinding;
-import org.apache.chemistry.opencmis.commons.provider.RepositoryInfoData;
/**
* Default implementation of a session factory. Used by unit tests or applications that depend
@@ -102,11 +102,11 @@ public class SessionFactoryImpl implemen
public List<Repository> getRepositories(Map<String, String> parameters) {
CmisBinding binding = CmisBindingHelper.createProvider(parameters);
- List<RepositoryInfoData> repositoryInfos = binding.getRepositoryService().getRepositoryInfos(
+ List<RepositoryInfo> repositoryInfos = binding.getRepositoryService().getRepositoryInfos(
null);
List<Repository> result = new ArrayList<Repository>();
- for (RepositoryInfoData data : repositoryInfos) {
+ for (RepositoryInfo data : repositoryInfos) {
result.add(new RepositoryImpl(data, parameters, this));
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/PersistentObjectFactoryImpl.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/repository/PersistentObjectFactoryImpl.java?rev=934417&r1=934416&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/PersistentObjectFactoryImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/PersistentObjectFactoryImpl.java Thu Apr 15 14:05:36 2010
@@ -75,19 +75,19 @@ import org.apache.chemistry.opencmis.com
import org.apache.chemistry.opencmis.commons.api.PropertyUriDefinition;
import org.apache.chemistry.opencmis.commons.api.RelationshipTypeDefinition;
import org.apache.chemistry.opencmis.commons.api.TypeDefinition;
+import org.apache.chemistry.opencmis.commons.bindings.AccessControlEntry;
+import org.apache.chemistry.opencmis.commons.bindings.AccessControlList;
+import org.apache.chemistry.opencmis.commons.bindings.AllowableActionsData;
+import org.apache.chemistry.opencmis.commons.bindings.BindingsObjectFactory;
+import org.apache.chemistry.opencmis.commons.bindings.ContentStreamData;
+import org.apache.chemistry.opencmis.commons.bindings.ObjectData;
+import org.apache.chemistry.opencmis.commons.bindings.PropertiesData;
+import org.apache.chemistry.opencmis.commons.bindings.PropertyData;
+import org.apache.chemistry.opencmis.commons.bindings.PropertyIdData;
+import org.apache.chemistry.opencmis.commons.bindings.RenditionData;
import org.apache.chemistry.opencmis.commons.enums.Cardinality;
import org.apache.chemistry.opencmis.commons.enums.Updatability;
import org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException;
-import org.apache.chemistry.opencmis.commons.provider.AccessControlEntry;
-import org.apache.chemistry.opencmis.commons.provider.AccessControlList;
-import org.apache.chemistry.opencmis.commons.provider.AllowableActionsData;
-import org.apache.chemistry.opencmis.commons.provider.BindingsObjectFactory;
-import org.apache.chemistry.opencmis.commons.provider.ContentStreamData;
-import org.apache.chemistry.opencmis.commons.provider.ObjectData;
-import org.apache.chemistry.opencmis.commons.provider.PropertiesData;
-import org.apache.chemistry.opencmis.commons.provider.PropertyData;
-import org.apache.chemistry.opencmis.commons.provider.PropertyIdData;
-import org.apache.chemistry.opencmis.commons.provider.RenditionData;
/**
* Persistent model object factory.
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/RepositoryImpl.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/repository/RepositoryImpl.java?rev=934417&r1=934416&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/RepositoryImpl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/RepositoryImpl.java Thu Apr 15 14:05:36 2010
@@ -25,7 +25,8 @@ import org.apache.chemistry.opencmis.cli
import org.apache.chemistry.opencmis.client.api.SessionFactory;
import org.apache.chemistry.opencmis.client.api.repository.Repository;
import org.apache.chemistry.opencmis.commons.SessionParameter;
-import org.apache.chemistry.opencmis.commons.provider.RepositoryInfoData;
+import org.apache.chemistry.opencmis.commons.bindings.RepositoryInfo;
+import org.apache.chemistry.opencmis.commons.impl.dataobjects.RepositoryInfoImpl;
public class RepositoryImpl extends RepositoryInfoImpl implements Repository {
@@ -37,7 +38,7 @@ public class RepositoryImpl extends Repo
/**
* Constructor.
*/
- public RepositoryImpl(RepositoryInfoData data, Map<String, String> parameters,
+ public RepositoryImpl(RepositoryInfo data, Map<String, String> parameters,
SessionFactory sessionFactory) {
super(data);
@@ -49,7 +50,7 @@ public class RepositoryImpl extends Repo
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.opencmis.client.api.repository.Repository#createSession()
*/
@SuppressWarnings("unchecked")
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlEntry.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/bindings/AccessControlEntry.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlEntry.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlEntry.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlList.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/bindings/AccessControlList.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlList.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlList.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlPrincipalData.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/bindings/AccessControlPrincipalData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlPrincipalData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AccessControlPrincipalData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AclCapabilities.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/bindings/AclCapabilities.java?rev=934417&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AclCapabilities.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AclCapabilities.java Thu Apr 15 14:05:36 2010
@@ -0,0 +1,39 @@
+/*
+ * 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.bindings;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
+import org.apache.chemistry.opencmis.commons.enums.AclPropagation;
+import org.apache.chemistry.opencmis.commons.enums.SupportedPermissions;
+
+public interface AclCapabilities extends Serializable, ExtensionsData {
+
+ SupportedPermissions getSupportedPermissions();
+
+ AclPropagation getAclPropagation();
+
+ List<PermissionDefinition> getPermissions();
+
+ Map<String, PermissionMapping> getPermissionMapping();
+
+}
Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AclCapabilities.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/bindings/AclService.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/bindings/AclService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AclService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AclService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
import org.apache.chemistry.opencmis.commons.enums.AclPropagation;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AllowableActionsData.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/bindings/AllowableActionsData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AllowableActionsData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/AllowableActionsData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.Map;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/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/bindings/BindingsObjectFactory.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/BindingsObjectFactory.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/BindingsObjectFactory.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.io.InputStream;
import java.math.BigDecimal;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ChangeEventInfoData.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/bindings/ChangeEventInfoData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ChangeEventInfoData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ChangeEventInfoData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.GregorianCalendar;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/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/bindings/CmisBinding.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/CmisBinding.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/CmisBinding.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.io.Serializable;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ContentStreamData.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/bindings/ContentStreamData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ContentStreamData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ContentStreamData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.io.InputStream;
import java.math.BigInteger;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/DiscoveryService.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/bindings/DiscoveryService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/DiscoveryService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/DiscoveryService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/FailedToDeleteData.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/bindings/FailedToDeleteData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/FailedToDeleteData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/FailedToDeleteData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/Holder.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/bindings/Holder.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/Holder.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/Holder.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
public final class Holder<T> {
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/MultiFilingService.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/bindings/MultiFilingService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/MultiFilingService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/MultiFilingService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/NavigationService.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/bindings/NavigationService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/NavigationService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/NavigationService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectData.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/bindings/ObjectData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderContainer.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/bindings/ObjectInFolderContainer.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderContainer.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderContainer.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderData.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/bindings/ObjectInFolderData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderList.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/bindings/ObjectInFolderList.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderList.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectInFolderList.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectList.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/bindings/ObjectList.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectList.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectList.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectParentData.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/bindings/ObjectParentData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectParentData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectParentData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectService.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/bindings/ObjectService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/ObjectService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
import java.util.List;
Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PermissionDefinition.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/bindings/PermissionDefinition.java?rev=934417&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PermissionDefinition.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PermissionDefinition.java Thu Apr 15 14:05:36 2010
@@ -0,0 +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.bindings;
+
+import java.io.Serializable;
+
+import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
+
+public interface PermissionDefinition extends Serializable, ExtensionsData {
+
+ String getId();
+
+ String getDescription();
+}
Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PermissionDefinition.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PermissionMapping.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/bindings/PermissionMapping.java?rev=934417&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PermissionMapping.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PermissionMapping.java Thu Apr 15 14:05:36 2010
@@ -0,0 +1,66 @@
+/*
+ * 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.bindings;
+
+import java.io.Serializable;
+import java.util.List;
+
+import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
+
+public interface PermissionMapping extends Serializable, ExtensionsData {
+ String CAN_GET_DESCENDENTS_FOLDER = "canGetDescendents.Folder";
+ String CAN_GET_CHILDREN_FOLDER = "canGetChildren.Folder";
+ String CAN_GET_PARENTS_FOLDER = "canGetParents.Folder";
+ String CAN_GET_FOLDER_PARENT_OBJECT = "canGetFolderParent.Object";
+ String CAN_CREATE_DOCUMENT_FOLDER = "canCreateDocument.Folder";
+ String CAN_CREATE_FOLDER_FOLDER = "canCreateFolder.Folder";
+ String CAN_CREATE_RELATIONSHIP_SOURCE = "canCreateRelationship.Source";
+ String CAN_CREATE_RELATIONSHIP_TARGET = "canCreateRelationship.Target";
+ String CAN_GET_PROPERTIES_OBJECT = "canGetProperties.Object";
+ String CAN_VIEW_CONTENT_OBJECT = "canViewContent.Object";
+ String CAN_UPDATE_PROPERTIES_OBJECT = "canUpdateProperties.Object";
+ String CAN_MOVE_OBJECT = "canMove.Object";
+ String CAN_MOVE_TARGET = "canMove.Target";
+ String CAN_MOVE_SOURCE = "canMove.Source";
+ String CAN_DELETE_OBJECT = "canDelete.Object";
+ String CAN_DELETE_TREE_FOLDER = "canDeleteTree.Folder";
+ String CAN_SET_CONTENT_DOCUMENT = "canSetContent.Document";
+ String CAN_DELETE_CONTENT_DOCUMENT = "canDeleteContent.Document";
+ String CAN_ADD_TO_FOLDER_OBJECT = "canAddToFolder.Object";
+ String CAN_ADD_TO_FOLDER_FOLDER = "canAddToFolder.Folder";
+ String CAN_REMOVE_FROM_FOLDER_OBJECT = "canRemoveFromFolder.Object";
+ String CAN_REMOVE_FROM_FOLDER_FOLDER = "canRemoveFromFolder.Folder";
+ String CAN_CHECKOUT_DOCUMENT = "canCheckout.Document";
+ String CAN_CANCEL_CHECKOUT_DOCUMENT = "canCancelCheckout.Document";
+ String CAN_CHECKIN_DOCUMENT = "canCheckin.Document";
+ String CAN_GET_ALL_VERSIONS_VERSION_SERIES = "canGetAllVersions.VersionSeries";
+ String CAN_GET_OBJECT_RELATIONSHIPS_OBJECT = "canGetObjectRelationships.Object";
+ String CAN_ADD_POLICY_OBJECT = "canAddPolicy.Object";
+ String CAN_ADD_POLICY_POLICY = "canAddPolicy.Policy";
+ String CAN_REMOVE_POLICY_OBJECT = "canRemovePolicy.Object";
+ String CAN_REMOVE_POLICY_POLICY = "canRemovePolicy.Policy";
+ String CAN_GET_APPLIED_POLICIES_OBJECT = "canGetAppliedPolicies.Object";
+ String CAN_GET_ACL_OBJECT = "canGetACL.Object";
+ String CAN_APPLY_ACL_OBJECT = "canApplyACL.Object";
+
+ String getKey();
+
+ List<String> getPermissions();
+
+}
Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PermissionMapping.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/bindings/PolicyIdListData.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/bindings/PolicyIdListData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PolicyIdListData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PolicyIdListData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PolicyService.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/bindings/PolicyService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PolicyService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PolicyService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertiesData.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/bindings/PropertiesData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertiesData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertiesData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.Map;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyBooleanData.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/bindings/PropertyBooleanData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyBooleanData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyBooleanData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
public interface PropertyBooleanData extends PropertyData<Boolean> {
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyData.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/bindings/PropertyData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyDateTimeData.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/bindings/PropertyDateTimeData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyDateTimeData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyDateTimeData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.GregorianCalendar;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyDecimalData.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/bindings/PropertyDecimalData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyDecimalData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyDecimalData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigDecimal;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyHtmlData.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/bindings/PropertyHtmlData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyHtmlData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyHtmlData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
public interface PropertyHtmlData extends PropertyData<String> {
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyIdData.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/bindings/PropertyIdData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyIdData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyIdData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
public interface PropertyIdData extends PropertyData<String> {
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyIntegerData.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/bindings/PropertyIntegerData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyIntegerData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyIntegerData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyStringData.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/bindings/PropertyStringData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyStringData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyStringData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
public interface PropertyStringData extends PropertyData<String> {
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyUriData.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/bindings/PropertyUriData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyUriData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/PropertyUriData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
public interface PropertyUriData extends PropertyData<String> {
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RelationshipService.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/bindings/RelationshipService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RelationshipService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RelationshipService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RenditionData.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/bindings/RenditionData.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RenditionData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RenditionData.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryCapabilities.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/bindings/RepositoryCapabilities.java?rev=934417&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryCapabilities.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryCapabilities.java Thu Apr 15 14:05:36 2010
@@ -0,0 +1,73 @@
+/*
+ * 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.bindings;
+
+import java.io.Serializable;
+
+import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
+import org.apache.chemistry.opencmis.commons.enums.CapabilityAcl;
+import org.apache.chemistry.opencmis.commons.enums.CapabilityChanges;
+import org.apache.chemistry.opencmis.commons.enums.CapabilityContentStreamUpdates;
+import org.apache.chemistry.opencmis.commons.enums.CapabilityJoin;
+import org.apache.chemistry.opencmis.commons.enums.CapabilityQuery;
+import org.apache.chemistry.opencmis.commons.enums.CapabilityRenditions;
+
+public interface RepositoryCapabilities extends Serializable, ExtensionsData {
+
+ // Object
+
+ CapabilityContentStreamUpdates getContentStreamUpdatesCapability();
+
+ CapabilityChanges getChangesCapability();
+
+ CapabilityRenditions getRenditionsCapability();
+
+ // Navigation
+
+ Boolean isGetDescendantsSupported();
+
+ Boolean isGetFolderTreeSupported();
+
+ // Filing
+
+ Boolean isMultifilingSupported();
+
+ Boolean isUnfilingSupported();
+
+ Boolean isVersionSpecificFilingSupported();
+
+ // Versioning
+
+ Boolean isPwcSearchableSupported();
+
+ Boolean isPwcUpdatableSupported();
+
+ Boolean isAllVersionsSearchableSupported();
+
+ // Query
+
+ CapabilityQuery getQueryCapability();
+
+ CapabilityJoin getJoinCapability();
+
+ // ACLs
+
+ CapabilityAcl getAclCapability();
+
+}
Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryCapabilities.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryInfo.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/bindings/RepositoryInfo.java?rev=934417&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryInfo.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryInfo.java Thu Apr 15 14:05:36 2010
@@ -0,0 +1,60 @@
+/*
+ * 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.bindings;
+
+import java.io.Serializable;
+import java.util.List;
+
+import org.apache.chemistry.opencmis.commons.api.ExtensionsData;
+import org.apache.chemistry.opencmis.commons.enums.BaseObjectTypeIds;
+
+public interface RepositoryInfo extends Serializable, ExtensionsData {
+
+ String getId();
+
+ String getName();
+
+ String getDescription();
+
+ String getVendorName();
+
+ String getProductName();
+
+ String getProductVersion();
+
+ String getRootFolderId();
+
+ RepositoryCapabilities getCapabilities();
+
+ AclCapabilities getAclCapabilities();
+
+ String getLatestChangeLogToken();
+
+ String getCmisVersionSupported();
+
+ String getThinClientUri();
+
+ Boolean getChangesIncomplete();
+
+ List<BaseObjectTypeIds> getChangesOnType();
+
+ String getPrincipalIdAnonymous();
+
+ String getPrincipalIdAnyone();
+}
Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryInfo.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/bindings/RepositoryService.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/bindings/RepositoryService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/RepositoryService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.math.BigInteger;
import java.util.List;
@@ -36,9 +36,9 @@ import org.apache.chemistry.opencmis.com
*/
public interface RepositoryService {
- List<RepositoryInfoData> getRepositoryInfos(ExtensionsData extension);
+ List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension);
- RepositoryInfoData getRepositoryInfo(String repositoryId, ExtensionsData extension);
+ RepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension);
TypeDefinitionList getTypeChildren(String repositoryId, String typeId,
Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount,
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/VersioningService.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/bindings/VersioningService.java?rev=934417&r1=934373&r2=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/VersioningService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/bindings/VersioningService.java Thu Apr 15 14:05:36 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.chemistry.opencmis.commons.provider;
+package org.apache.chemistry.opencmis.commons.bindings;
import java.util.List;
Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRenditions.java (from r934373, incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRendition.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/CapabilityRenditions.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRenditions.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRendition.java&r1=934373&r2=934417&rev=934417&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRendition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRenditions.java Thu Apr 15 14:05:36 2010
@@ -24,12 +24,12 @@ package org.apache.chemistry.opencmis.co
* @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
*
*/
-public enum CapabilityRendition {
+public enum CapabilityRenditions {
NONE("none"), READ("read");
private final String value;
- CapabilityRendition(String v) {
+ CapabilityRenditions(String v) {
value = v;
}
@@ -37,8 +37,8 @@ public enum CapabilityRendition {
return value;
}
- public static CapabilityRendition fromValue(String v) {
- for (CapabilityRendition c : CapabilityRendition.values()) {
+ public static CapabilityRenditions fromValue(String v) {
+ for (CapabilityRenditions c : CapabilityRenditions.values()) {
if (c.value.equals(v)) {
return c;
}
Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRenditions.java
------------------------------------------------------------------------------
svn:eol-style = native