chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1483889 [2/3] - in /chemistry/opencmis/trunk: ./ chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/ap...
Date Fri, 17 May 2013 16:05:19 GMT
Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java Fri May 17 16:05:18 2013
@@ -50,7 +50,7 @@ import org.apache.chemistry.opencmis.com
  * 
  * <p>
  * Almost all methods might throw exceptions derived from
- * {@link CmisBaseException} which is a runtime exception!
+ * {@link CmisBaseException} which is a runtime exception.
  * </p>
  * 
  * <p>
@@ -130,6 +130,8 @@ public interface Session extends Seriali
     /**
      * Returns the repository info of the repository associated with this
      * session.
+     * 
+     * @cmis 1.0
      */
     RepositoryInfo getRepositoryInfo();
 
@@ -143,31 +145,43 @@ public interface Session extends Seriali
 
     /**
      * Returns the type definition of the given type id.
+     * 
+     * @cmis 1.0
      */
     ObjectType getTypeDefinition(String typeId);
 
     /**
      * Returns the type children of the given type id.
+     * 
+     * @cmis 1.0
      */
     ItemIterable<ObjectType> getTypeChildren(String typeId, boolean includePropertyDefinitions);
 
     /**
      * Returns the type descendants of the given type id.
+     * 
+     * @cmis 1.0
      */
     List<Tree<ObjectType>> getTypeDescendants(String typeId, int depth, boolean includePropertyDefinitions);
 
     /**
      * Creates a new type.
+     * 
+     * @cmis 1.1
      */
     ObjectType createType(TypeDefinition type);
 
     /**
      * Updates an existing type.
+     * 
+     * @cmis 1.1
      */
     ObjectType updateType(TypeDefinition type);
 
     /**
      * Deletes a type.
+     * 
+     * @cmis 1.1
      */
     void deleteType(String typeId);
 
@@ -175,12 +189,16 @@ public interface Session extends Seriali
 
     /**
      * Gets the root folder of the repository.
+     * 
+     * @cmis 1.0
      */
     Folder getRootFolder();
 
     /**
      * Gets the root folder of the repository with the given
      * {@link OperationContext}.
+     * 
+     * @cmis 1.0
      */
     Folder getRootFolder(OperationContext context);
 
@@ -188,6 +206,8 @@ public interface Session extends Seriali
      * Returns all checked out documents.
      * 
      * @see Folder#getCheckedOutDocs()
+     * 
+     * @cmis 1.0
      */
     ItemIterable<Document> getCheckedOutDocs();
 
@@ -196,6 +216,8 @@ public interface Session extends Seriali
      * .
      * 
      * @see Folder#getCheckedOutDocs(OperationContext)
+     * 
+     * @cmis 1.0
      */
     ItemIterable<Document> getCheckedOutDocs(OperationContext context);
 
@@ -208,6 +230,8 @@ public interface Session extends Seriali
      *            the object id
      * 
      * @see #getObject(String)
+     * 
+     * @cmis 1.0
      */
     CmisObject getObject(ObjectId objectId);
 
@@ -222,6 +246,8 @@ public interface Session extends Seriali
      *            the {@link OperationContext} to use
      * 
      * @see #getObject(String, OperationContext)
+     * 
+     * @cmis 1.0
      */
     CmisObject getObject(ObjectId objectId, OperationContext context);
 
@@ -234,6 +260,8 @@ public interface Session extends Seriali
      *            the object id
      * 
      * @see #getObject(ObjectId)
+     * 
+     * @cmis 1.0
      */
     CmisObject getObject(String objectId);
 
@@ -248,6 +276,8 @@ public interface Session extends Seriali
      *            the {@link OperationContext} to use
      * 
      * @see #getObject(ObjectId, OperationContext)
+     * 
+     * @cmis 1.0
      */
     CmisObject getObject(String objectId, OperationContext context);
 
@@ -258,6 +288,8 @@ public interface Session extends Seriali
      * 
      * @param path
      *            the object path
+     * 
+     * @cmis 1.0
      */
     CmisObject getObjectByPath(String path);
 
@@ -270,6 +302,8 @@ public interface Session extends Seriali
      *            the object path
      * @param context
      *            the {@link OperationContext} to use
+     * 
+     * @cmis 1.0
      */
     CmisObject getObjectByPath(String path, OperationContext context);
 
@@ -299,6 +333,8 @@ public interface Session extends Seriali
      * @param searchAllVersions
      *            specifies if the latest and non-latest versions of document
      *            objects should be included
+     * 
+     * @cmis 1.0
      */
     ItemIterable<QueryResult> query(String statement, boolean searchAllVersions);
 
@@ -313,6 +349,8 @@ public interface Session extends Seriali
      *            objects should be included
      * @param context
      *            the OperationContext
+     * 
+     * @cmis 1.0
      */
     ItemIterable<QueryResult> query(String statement, boolean searchAllVersions, OperationContext context);
 
@@ -327,6 +365,8 @@ public interface Session extends Seriali
      *            objects should be included
      * @param context
      *            the OperationContext
+     * 
+     * @cmis 1.0
      */
     ItemIterable<CmisObject> queryObjects(String typeId, String where, boolean searchAllVersions,
             OperationContext context);
@@ -338,6 +378,8 @@ public interface Session extends Seriali
      *            the query statement with placeholders ('?').
      * 
      * @see QueryStatement
+     * 
+     * @cmis 1.0
      */
     QueryStatement createQueryStatement(String statement);
 
@@ -351,6 +393,8 @@ public interface Session extends Seriali
      *            result
      * @param maxNumItems
      *            maximum numbers of events
+     * 
+     * @cmis 1.0
      */
     ChangeEvents getContentChanges(String changeLogToken, boolean includeProperties, long maxNumItems);
 
@@ -366,6 +410,8 @@ public interface Session extends Seriali
      *            maximum numbers of events
      * @param context
      *            the OperationContext
+     * 
+     * @cmis 1.0
      */
     ChangeEvents getContentChanges(String changeLogToken, boolean includeProperties, long maxNumItems,
             OperationContext context);
@@ -382,6 +428,8 @@ public interface Session extends Seriali
      * 
      * @see Folder#createDocument(Map, ContentStream, VersioningState, List,
      *      List, List, OperationContext)
+     * 
+     * @cmis 1.0
      */
     ObjectId createDocument(Map<String, ?> properties, ObjectId folderId, ContentStream contentStream,
             VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces);
@@ -396,6 +444,8 @@ public interface Session extends Seriali
      * 
      * @see Folder#createDocument(Map, ContentStream, VersioningState, List,
      *      List, List, OperationContext)
+     * 
+     * @cmis 1.0
      */
     ObjectId createDocument(Map<String, ?> properties, ObjectId folderId, ContentStream contentStream,
             VersioningState versioningState);
@@ -407,6 +457,8 @@ public interface Session extends Seriali
      * 
      * @see Folder#createDocumentFromSource(ObjectId, Map, VersioningState,
      *      List, List, List, OperationContext)
+     * 
+     * @cmis 1.0
      */
     ObjectId createDocumentFromSource(ObjectId source, Map<String, ?> properties, ObjectId folderId,
             VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces);
@@ -418,6 +470,8 @@ public interface Session extends Seriali
      * 
      * @see Folder#createDocumentFromSource(ObjectId, Map, VersioningState,
      *      List, List, List, OperationContext)
+     * 
+     * @cmis 1.0
      */
     ObjectId createDocumentFromSource(ObjectId source, Map<String, ?> properties, ObjectId folderId,
             VersioningState versioningState);
@@ -428,6 +482,8 @@ public interface Session extends Seriali
      * @return the object id of the new folder
      * 
      * @see Folder#createFolder(Map, List, List, List, OperationContext)
+     * 
+     * @cmis 1.0
      */
     ObjectId createFolder(Map<String, ?> properties, ObjectId folderId, List<Policy> policies, List<Ace> addAces,
             List<Ace> removeAces);
@@ -438,6 +494,8 @@ public interface Session extends Seriali
      * @return the object id of the new folder
      * 
      * @see Folder#createFolder(Map, List, List, List, OperationContext)
+     * 
+     * @cmis 1.0
      */
     ObjectId createFolder(Map<String, ?> properties, ObjectId folderId);
 
@@ -447,6 +505,8 @@ public interface Session extends Seriali
      * @return the object id of the new policy
      * 
      * @see Folder#createPolicy(Map, List, List, List, OperationContext)
+     * 
+     * @cmis 1.0
      */
     ObjectId createPolicy(Map<String, ?> properties, ObjectId folderId, List<Policy> policies, List<Ace> addAces,
             List<Ace> removeAces);
@@ -457,6 +517,8 @@ public interface Session extends Seriali
      * @return the object id of the new policy
      * 
      * @see Folder#createPolicy(Map, List, List, List, OperationContext)
+     * 
+     * @cmis 1.0
      */
     ObjectId createPolicy(Map<String, ?> properties, ObjectId folderId);
 
@@ -466,6 +528,8 @@ public interface Session extends Seriali
      * @return the object id of the new policy
      * 
      * @see Folder#createItem(Map, List, List, List, OperationContext)
+     * 
+     * @cmis 1.1
      */
     ObjectId createItem(Map<String, ?> properties, ObjectId folderId, List<Policy> policies, List<Ace> addAces,
             List<Ace> removeAces);
@@ -476,6 +540,8 @@ public interface Session extends Seriali
      * @return the object id of the new item
      * 
      * @see Folder#createItem(Map, List, List, List, OperationContext)
+     * 
+     * @cmis 1.1
      */
     ObjectId createItem(Map<String, ?> properties, ObjectId folderId);
 
@@ -483,6 +549,8 @@ public interface Session extends Seriali
      * Creates a new relationship.
      * 
      * @return the object id of the new relationship
+     * 
+     * @cmis 1.0
      */
     ObjectId createRelationship(Map<String, ?> properties, List<Policy> policies, List<Ace> addAces,
             List<Ace> removeAces);
@@ -491,17 +559,23 @@ public interface Session extends Seriali
      * Creates a new relationship.
      * 
      * @return the object id of the new relationship
+     * 
+     * @cmis 1.0
      */
     ObjectId createRelationship(Map<String, ?> properties);
 
     /**
      * Fetches the relationships from or to an object from the repository.
+     * 
+     * @cmis 1.0
      */
     ItemIterable<Relationship> getRelationships(ObjectId objectId, boolean includeSubRelationshipTypes,
             RelationshipDirection relationshipDirection, ObjectType type, OperationContext context);
 
     /**
      * Updates multiple objects in one request.
+     * 
+     * @cmis 1.0
      */
     List<BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties(List<CmisObject> objects, Map<String, ?> properties,
             List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds);
@@ -512,6 +586,8 @@ public interface Session extends Seriali
      * 
      * @param objectId
      *            the id of the object
+     * 
+     * @cmis 1.0
      */
     void delete(ObjectId objectId);
 
@@ -523,6 +599,8 @@ public interface Session extends Seriali
      * @param allVersions
      *            if this object is a document this parameter defines if only
      *            this version or all versions should be deleted
+     * 
+     * @cmis 1.0
      */
     void delete(ObjectId objectId, boolean allVersions);
 
@@ -533,6 +611,8 @@ public interface Session extends Seriali
      *            the id of the document
      * @return the content stream or <code>null</code> if the document has no
      *         content stream
+     * 
+     * @cmis 1.0
      */
     ContentStream getContentStream(ObjectId docId);
 
@@ -552,6 +632,8 @@ public interface Session extends Seriali
      * 
      * @return the content stream or <code>null</code> if the document has no
      *         content stream
+     * 
+     * @cmis 1.0
      */
     ContentStream getContentStream(ObjectId docId, String streamId, BigInteger offset, BigInteger length);
 
@@ -567,6 +649,8 @@ public interface Session extends Seriali
      *            express the ACL with basic and repository specific permissions
      * 
      * @return the ACL of the object
+     * 
+     * @cmis 1.0
      */
     Acl getAcl(ObjectId objectId, boolean onlyBasicPermissions);
 
@@ -589,6 +673,8 @@ public interface Session extends Seriali
      *            {@link AclPropagation#REPOSITORYDETERMINED}
      * 
      * @return the new ACL of the object
+     * 
+     * @cmis 1.0
      */
     Acl applyAcl(ObjectId objectId, List<Ace> addAces, List<Ace> removeAces, AclPropagation aclPropagation);
 
@@ -604,6 +690,8 @@ public interface Session extends Seriali
      *            list of ACEs to be set
      * 
      * @return the new ACL of the object
+     * 
+     * @cmis 1.0
      */
     Acl setAcl(ObjectId objectId, List<Ace> aces);
 
@@ -617,6 +705,8 @@ public interface Session extends Seriali
      *            the id the object
      * @param policyIds
      *            the ids of the policies to be applied
+     * 
+     * @cmis 1.0
      */
     void applyPolicy(ObjectId objectId, ObjectId... policyIds);
 
@@ -630,6 +720,8 @@ public interface Session extends Seriali
      *            the id the object
      * @param policyIds
      *            the ids of the policies to be removed
+     * 
+     * @cmis 1.0
      */
     void removePolicy(ObjectId objectId, ObjectId... policyIds);
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/SessionFactory.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/SessionFactory.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/SessionFactory.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/SessionFactory.java Fri May 17 16:05:18 2013
@@ -29,10 +29,9 @@ import org.apache.chemistry.opencmis.com
  * class implementation needs to be retrieved by any runtime lookup call. This
  * can for instance be a J2EE JNDI lookup or an OSGi service lookup.
  * <p>
- * The entries of the parameter map are defined by <code>SessionParameter</code>
+ * The entries of the parameter map are defined by {@link SessionParameter}
  * class which is part of the commons package. Parameters specify connection
- * settings (user name, authentication, connection url, binding type (soap or
- * atom pub) ...).
+ * settings (user name, authentication, connection URL, binding type, etc.).
  * <p>
  * The <code>Session</code> class which is constructed is either the
  * <code>session</code> base class which is the default implementation or it can

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/PropertyIds.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/PropertyIds.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/PropertyIds.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/PropertyIds.java Fri May 17 16:05:18 2013
@@ -27,57 +27,87 @@ public final class PropertyIds {
     }
 
     // ---- base ----
+    /** @cmis 1.0 */
     public static final String NAME = "cmis:name";
+    /** @cmis 1.0 */
     public static final String OBJECT_ID = "cmis:objectId";
+    /** @cmis 1.0 */
     public static final String OBJECT_TYPE_ID = "cmis:objectTypeId";
+    /** @cmis 1.0 */
     public static final String BASE_TYPE_ID = "cmis:baseTypeId";
+    /** @cmis 1.0 */
     public static final String CREATED_BY = "cmis:createdBy";
+    /** @cmis 1.0 */
     public static final String CREATION_DATE = "cmis:creationDate";
+    /** @cmis 1.0 */
     public static final String LAST_MODIFIED_BY = "cmis:lastModifiedBy";
+    /** @cmis 1.0 */
     public static final String LAST_MODIFICATION_DATE = "cmis:lastModificationDate";
+    /** @cmis 1.0 */
     public static final String CHANGE_TOKEN = "cmis:changeToken";
-
-    // CMIS 1.1
+    /** @cmis 1.1 */
     public static final String DESCRIPTION = "cmis:description";
+    /** @cmis 1.1 */
     public static final String SECONDARY_OBJECT_TYPE_IDS = "cmis:secondaryObjectTypeIds";
 
     // ---- document ----
+    /** @cmis 1.0 */
     public static final String IS_IMMUTABLE = "cmis:isImmutable";
+    /** @cmis 1.0 */
     public static final String IS_LATEST_VERSION = "cmis:isLatestVersion";
+    /** @cmis 1.0 */
     public static final String IS_MAJOR_VERSION = "cmis:isMajorVersion";
+    /** @cmis 1.0 */
     public static final String IS_LATEST_MAJOR_VERSION = "cmis:isLatestMajorVersion";
+    /** @cmis 1.0 */
     public static final String VERSION_LABEL = "cmis:versionLabel";
+    /** @cmis 1.0 */
     public static final String VERSION_SERIES_ID = "cmis:versionSeriesId";
+    /** @cmis 1.0 */
     public static final String IS_VERSION_SERIES_CHECKED_OUT = "cmis:isVersionSeriesCheckedOut";
+    /** @cmis 1.0 */
     public static final String VERSION_SERIES_CHECKED_OUT_BY = "cmis:versionSeriesCheckedOutBy";
+    /** @cmis 1.0 */
     public static final String VERSION_SERIES_CHECKED_OUT_ID = "cmis:versionSeriesCheckedOutId";
+    /** @cmis 1.0 */
     public static final String CHECKIN_COMMENT = "cmis:checkinComment";
+    /** @cmis 1.0 */
     public static final String CONTENT_STREAM_LENGTH = "cmis:contentStreamLength";
+    /** @cmis 1.0 */
     public static final String CONTENT_STREAM_MIME_TYPE = "cmis:contentStreamMimeType";
+    /** @cmis 1.0 */
     public static final String CONTENT_STREAM_FILE_NAME = "cmis:contentStreamFileName";
+    /** @cmis 1.0 */
     public static final String CONTENT_STREAM_ID = "cmis:contentStreamId";
-
-    // CMIS 1.1
+    /** @cmis 1.1 */
     public static final String IS_PRIVATE_WORKING_COPY = "cmis:isPrivateWorkingCopy";
 
     // ---- folder ----
+    /** @cmis 1.0 */
     public static final String PARENT_ID = "cmis:parentId";
+    /** @cmis 1.0 */
     public static final String ALLOWED_CHILD_OBJECT_TYPE_IDS = "cmis:allowedChildObjectTypeIds";
+    /** @cmis 1.0 */
     public static final String PATH = "cmis:path";
 
     // ---- relationship ----
+    /** @cmis 1.0 */
     public static final String SOURCE_ID = "cmis:sourceId";
+    /** @cmis 1.0 */
     public static final String TARGET_ID = "cmis:targetId";
 
     // ---- policy ----
+    /** @cmis 1.0 */
     public static final String POLICY_TEXT = "cmis:policyText";
 
     // ---- retention ---
-    // CMIS 1.1
+    /** @cmis 1.1 */
     public static final String EXPIRATION_DATE = "cmis:rm_expirationDate";
+    /** @cmis 1.1 */
     public static final String START_OF_RETENTION = "cmis:rm_startOfRetention";
+    /** @cmis 1.1 */
     public static final String DESTRUCTION_DATE = "cmis:rm_destructionDate";
-
+    /** @cmis 1.1 */
     public static final String HOLD_IDS = "cmis:rm_holdIds";
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/AclCapabilities.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/AclCapabilities.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/AclCapabilities.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/AclCapabilities.java Fri May 17 16:05:18 2013
@@ -26,6 +26,11 @@ import org.apache.chemistry.opencmis.com
 import org.apache.chemistry.opencmis.commons.enums.AclPropagation;
 import org.apache.chemistry.opencmis.commons.enums.SupportedPermissions;
 
+/**
+ * Acl Capabilities.
+ * 
+ * @cmis 1.0
+ */
 public interface AclCapabilities extends Serializable, ExtensionsData {
 
     SupportedPermissions getSupportedPermissions();

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/AllowableActions.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/AllowableActions.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/AllowableActions.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/AllowableActions.java Fri May 17 16:05:18 2013
@@ -22,8 +22,18 @@ import java.util.Set;
 
 import org.apache.chemistry.opencmis.commons.enums.Action;
 
+/**
+ * Allowable Actions.
+ * 
+ * @cmis 1.0
+ */
 public interface AllowableActions extends ExtensionsData {
 
+    /**
+     * Returns the set of Allowable Actions.
+     * 
+     * @cmis 1.0
+     */
     Set<Action> getAllowableActions();
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/BulkUpdateObjectIdAndChangeToken.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/BulkUpdateObjectIdAndChangeToken.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/BulkUpdateObjectIdAndChangeToken.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/BulkUpdateObjectIdAndChangeToken.java Fri May 17 16:05:18 2013
@@ -18,6 +18,11 @@
  */
 package org.apache.chemistry.opencmis.commons.data;
 
+/**
+ * Holder for bulkUpdateObject data.
+ * 
+ * @cmis 1.1
+ */
 public interface BulkUpdateObjectIdAndChangeToken extends ExtensionsData {
 
     String getId();

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/CreatablePropertyTypes.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/CreatablePropertyTypes.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/CreatablePropertyTypes.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/CreatablePropertyTypes.java Fri May 17 16:05:18 2013
@@ -24,6 +24,8 @@ import org.apache.chemistry.opencmis.com
 
 /**
  * Holds the set of property data types for type creation and update.
+ * 
+ * @cmis 1.1
  */
 public interface CreatablePropertyTypes extends ExtensionsData {
 
@@ -32,6 +34,8 @@ public interface CreatablePropertyTypes 
      * a type definition.
      * 
      * @return the available set of property data types.
+     * 
+     * @cmis 1.1
      */
     Set<PropertyType> canCreate();
 

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionFeature.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionFeature.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionFeature.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ExtensionFeature.java Fri May 17 16:05:18 2013
@@ -23,7 +23,9 @@ import java.io.Serializable;
 import java.util.Map;
 
 /**
- * Representation of an extension feature;
+ * Representation of an extension feature.
+ * 
+ * @cmis 1.1
  */
 public interface ExtensionFeature extends Serializable, ExtensionsData {
 
@@ -31,6 +33,8 @@ public interface ExtensionFeature extend
      * Returns the unique feature id.
      * 
      * @return feature id
+     * 
+     * @cmis 1.1
      */
     String getId();
 
@@ -38,6 +42,8 @@ public interface ExtensionFeature extend
      * Returns a URL that provides more information about the feature.
      * 
      * @return feature URL
+     * 
+     * @cmis 1.1
      */
     String getUrl();
 
@@ -45,6 +51,8 @@ public interface ExtensionFeature extend
      * Returns a human-readable name for the feature.
      * 
      * @return feature name
+     * 
+     * @cmis 1.1
      */
     String getCommonName();
 
@@ -52,6 +60,8 @@ public interface ExtensionFeature extend
      * Returns a feature version label.
      * 
      * @return feature version label
+     * 
+     * @cmis 1.1
      */
     String getVersionLabel();
 
@@ -59,13 +69,17 @@ public interface ExtensionFeature extend
      * Returns a human-readable description of the feature.
      * 
      * @return feature description
+     * 
+     * @cmis 1.1
      */
     String getDescription();
 
     /**
      * Returns extra feature data.
      * 
-     * @return key-value pairs of extra data.
+     * @return key-value pairs of extra data
+     * 
+     * @cmis 1.1
      */
     Map<String, String> getFeatureData();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/FailedToDeleteData.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/FailedToDeleteData.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/FailedToDeleteData.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/FailedToDeleteData.java Fri May 17 16:05:18 2013
@@ -20,7 +20,19 @@ package org.apache.chemistry.opencmis.co
 
 import java.util.List;
 
+import org.apache.chemistry.opencmis.commons.spi.ObjectService;
+
+/**
+ * Holder for object ids of objects that could not be deleted.
+ * 
+ * @see ObjectService#deleteTree(String, String, Boolean,
+ *      org.apache.chemistry.opencmis.commons.enums.UnfileObject, Boolean,
+ *      ExtensionsData)
+ */
 public interface FailedToDeleteData extends ExtensionsData {
 
+    /**
+     * Returns the list of object ids of the objects that haven't been deleted.
+     */
     List<String> getIds();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/NewTypeSettableAttributes.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/NewTypeSettableAttributes.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/NewTypeSettableAttributes.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/NewTypeSettableAttributes.java Fri May 17 16:05:18 2013
@@ -21,6 +21,8 @@ package org.apache.chemistry.opencmis.co
 /**
  * A collection of flags that indicate which type attributes can be set at type
  * creation.
+ * 
+ * @cmis 1.1
  */
 public interface NewTypeSettableAttributes extends ExtensionsData {
 
@@ -29,6 +31,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "id" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetId();
 
@@ -37,6 +41,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "localName" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetLocalName();
 
@@ -45,6 +51,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "localNamespace" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetLocalNamespace();
 
@@ -53,6 +61,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "displayName" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetDisplayName();
 
@@ -61,6 +71,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "queryName" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetQueryName();
 
@@ -69,6 +81,7 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "description" attribute can be set,
      *         <code>false</code> otherwise
+     * @cmis 1.1
      */
     Boolean canSetDescription();
 
@@ -77,6 +90,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "creatable" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetCreatable();
 
@@ -85,6 +100,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "fileable" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetFileable();
 
@@ -93,6 +110,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "queryable" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetQueryable();
 
@@ -109,6 +128,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "includedInSupertypeQuery" attribute can
      *         be set, <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetIncludedInSupertypeQuery();
 
@@ -117,6 +138,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "controllablePolicy" attribute can be
      *         set, <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetControllablePolicy();
 
@@ -125,6 +148,8 @@ public interface NewTypeSettableAttribut
      * 
      * @return <code>true</code> if the "controllableACL" attribute can be set,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canSetControllableAcl();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ObjectData.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ObjectData.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ObjectData.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ObjectData.java Fri May 17 16:05:18 2013
@@ -23,7 +23,7 @@ import java.util.List;
 import org.apache.chemistry.opencmis.commons.enums.BaseTypeId;
 
 /**
- * Base object for CMIS documents, folders, relationships and policies.
+ * Base object for CMIS documents, folders, relationships, policies, and items.
  */
 public interface ObjectData extends ExtensionsData {
 

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/Properties.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/Properties.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/Properties.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/Properties.java Fri May 17 16:05:18 2013
@@ -21,6 +21,9 @@ package org.apache.chemistry.opencmis.co
 import java.util.List;
 import java.util.Map;
 
+/**
+ * Properties.
+ */
 public interface Properties extends ExtensionsData {
 
     /**

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyBoolean.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyBoolean.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyBoolean.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyBoolean.java Fri May 17 16:05:18 2013
@@ -18,6 +18,9 @@
  */
 package org.apache.chemistry.opencmis.commons.data;
 
+/**
+ * Boolean property.
+ */
 public interface PropertyBoolean extends PropertyData<Boolean> {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyDateTime.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyDateTime.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyDateTime.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyDateTime.java Fri May 17 16:05:18 2013
@@ -20,6 +20,9 @@ package org.apache.chemistry.opencmis.co
 
 import java.util.GregorianCalendar;
 
+/**
+ * DateTime property.
+ */
 public interface PropertyDateTime extends PropertyData<GregorianCalendar> {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyDecimal.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyDecimal.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyDecimal.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyDecimal.java Fri May 17 16:05:18 2013
@@ -20,6 +20,9 @@ package org.apache.chemistry.opencmis.co
 
 import java.math.BigDecimal;
 
+/**
+ * Decimal property.
+ */
 public interface PropertyDecimal extends PropertyData<BigDecimal> {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyHtml.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyHtml.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyHtml.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyHtml.java Fri May 17 16:05:18 2013
@@ -18,6 +18,9 @@
  */
 package org.apache.chemistry.opencmis.commons.data;
 
+/**
+ * HTML property.
+ */
 public interface PropertyHtml extends PropertyData<String> {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyId.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyId.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyId.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyId.java Fri May 17 16:05:18 2013
@@ -18,6 +18,9 @@
  */
 package org.apache.chemistry.opencmis.commons.data;
 
+/**
+ * Id property.
+ */
 public interface PropertyId extends PropertyData<String> {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyInteger.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyInteger.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyInteger.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyInteger.java Fri May 17 16:05:18 2013
@@ -20,6 +20,9 @@ package org.apache.chemistry.opencmis.co
 
 import java.math.BigInteger;
 
+/**
+ * Integer property.
+ */
 public interface PropertyInteger extends PropertyData<BigInteger> {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyString.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyString.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyString.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyString.java Fri May 17 16:05:18 2013
@@ -18,6 +18,9 @@
  */
 package org.apache.chemistry.opencmis.commons.data;
 
+/**
+ * String property.
+ */
 public interface PropertyString extends PropertyData<String> {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyUri.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyUri.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyUri.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/PropertyUri.java Fri May 17 16:05:18 2013
@@ -18,6 +18,9 @@
  */
 package org.apache.chemistry.opencmis.commons.data;
 
+/**
+ * URI property.
+ */
 public interface PropertyUri extends PropertyData<String> {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RenditionData.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RenditionData.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RenditionData.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RenditionData.java Fri May 17 16:05:18 2013
@@ -20,21 +20,54 @@ package org.apache.chemistry.opencmis.co
 
 import java.math.BigInteger;
 
+/**
+ * Rendition.
+ * 
+ * @cmis 1.0
+ */
 public interface RenditionData extends ExtensionsData {
 
+    /**
+     * Returns the stream id of the rendition.
+     */
     String getStreamId();
 
+    /**
+     * Returns the MIME type of the rendition.
+     */
     String getMimeType();
 
+    /**
+     * Returns the size of the rendition in byte if available.
+     */
     BigInteger getBigLength();
 
+    /**
+     * Returns the kind of the rendition.
+     * <p>
+     * The CMIS specification only defines the kind <code>cmis:thumbnail</code>,
+     * but a repository can provide other kinds.
+     */
     String getKind();
 
+    /**
+     * Returns the title of the rendition.
+     */
     String getTitle();
 
+    /**
+     * Returns the height in pixels if the rendition is an image.
+     */
     BigInteger getBigHeight();
 
+    /**
+     * Returns the width in pixels if the rendition is an image.
+     */
     BigInteger getBigWidth();
 
+    /**
+     * Returns the object id of the rendition document if the rendition is a
+     * stand-alone document.
+     */
     String getRenditionDocumentId();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryCapabilities.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryCapabilities.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryCapabilities.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryCapabilities.java Fri May 17 16:05:18 2013
@@ -32,50 +32,118 @@ public interface RepositoryCapabilities 
 
     // Object
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     CapabilityContentStreamUpdates getContentStreamUpdatesCapability();
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     CapabilityChanges getChangesCapability();
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     CapabilityRenditions getRenditionsCapability();
 
     // Navigation
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     Boolean isGetDescendantsSupported();
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     Boolean isGetFolderTreeSupported();
 
+    /**
+     * 
+     * @cmis 1.1
+     */
     CapabilityOrderBy getOrderByCapability();
 
     // Filing
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     Boolean isMultifilingSupported();
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     Boolean isUnfilingSupported();
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     Boolean isVersionSpecificFilingSupported();
 
     // Versioning
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     Boolean isPwcSearchableSupported();
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     Boolean isPwcUpdatableSupported();
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     Boolean isAllVersionsSearchableSupported();
 
     // Query
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     CapabilityQuery getQueryCapability();
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     CapabilityJoin getJoinCapability();
 
     // ACLs
 
+    /**
+     * 
+     * @cmis 1.0
+     */
     CapabilityAcl getAclCapability();
 
     // Type mutability
 
+    /**
+     * 
+     * @cmis 1.1
+     */
     CreatablePropertyTypes getCreatablePropertyTypes();
 
+    /**
+     * 
+     * @cmis 1.1
+     */
     NewTypeSettableAttributes getNewTypeSettableAttributes();
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryInfo.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryInfo.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryInfo.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryInfo.java Fri May 17 16:05:18 2013
@@ -24,41 +24,146 @@ import java.util.List;
 import org.apache.chemistry.opencmis.commons.enums.BaseTypeId;
 import org.apache.chemistry.opencmis.commons.enums.CmisVersion;
 
+/**
+ * Repository Info.
+ * 
+ * @cmis 1.0
+ */
 public interface RepositoryInfo extends Serializable, ExtensionsData {
 
+    /**
+     * Returns the repository id.
+     * 
+     * @cmis 1.0
+     */
     String getId();
 
+    /**
+     * Returns the repository name.
+     * 
+     * @cmis 1.0
+     */
     String getName();
 
+    /**
+     * Returns the repository description.
+     * 
+     * @cmis 1.0
+     */
     String getDescription();
 
+    /**
+     * Returns the repository vendor name.
+     * 
+     * @cmis 1.0
+     */
     String getVendorName();
 
+    /**
+     * Returns the repository product name.
+     * 
+     * @cmis 1.0
+     */
     String getProductName();
 
+    /**
+     * Returns the repository product version.
+     * 
+     * @cmis 1.0
+     */
     String getProductVersion();
 
+    /**
+     * Returns the object id of the root folder.
+     * 
+     * @cmis 1.0
+     */
     String getRootFolderId();
 
+    /**
+     * Returns the repository capabilities.
+     * 
+     * @cmis 1.0
+     */
     RepositoryCapabilities getCapabilities();
 
+    /**
+     * Returns the ACL capabilities.
+     * 
+     * @cmis 1.0
+     */
     AclCapabilities getAclCapabilities();
 
+    /**
+     * Returns the latest changelog token.
+     * 
+     * @cmis 1.0
+     */
     String getLatestChangeLogToken();
 
+    /**
+     * Returns the CMIS version supported by this repository as a string.
+     * 
+     * @cmis 1.0
+     */
     String getCmisVersionSupported();
-    
+
+    /**
+     * Returns the CMIS version supported by this repository as a
+     * {@link CmisVersion} enum.
+     * 
+     * @cmis 1.0
+     */
     CmisVersion getCmisVersion();
 
+    /**
+     * Returns the URL of a web interface for this repository if available.
+     * 
+     * @cmis 1.0
+     */
     String getThinClientUri();
 
+    /**
+     * Indicates whether the entries in the changelog are incomplete or
+     * complete.
+     * 
+     * @cmis 1.0
+     */
     Boolean getChangesIncomplete();
 
+    /**
+     * Returns which types of objects are considered in the changelog.
+     * 
+     * @cmis 1.0
+     */
     List<BaseTypeId> getChangesOnType();
 
+    /**
+     * Returns principal id for an anonymous user (any authenticated user). This
+     * principal id is supposed to be used in an {@link Ace}.
+     * 
+     * @return principal id for an anonymous user or <code>null</code> if the
+     *         repository does not support anonymous users
+     * 
+     * @cmis 1.0
+     */
     String getPrincipalIdAnonymous();
 
+    /**
+     * Returns principal id for unauthenticated user (guest user). This
+     * principal id is supposed to be used in an {@link Ace}.
+     * 
+     * @return principal id for unauthenticated user or <code>null</code> if the
+     *         repository does not support unauthenticated users
+     * 
+     * @cmis 1.0
+     */
     String getPrincipalIdAnyone();
 
+    /**
+     * Returns the list of CMIS extensions supported by this repository.
+     * 
+     * @cmis 1.1
+     */
     List<ExtensionFeature> getExtensionFeatures();
 }

Modified: 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/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.java Fri May 17 16:05:18 2013
@@ -21,11 +21,23 @@ package org.apache.chemistry.opencmis.co
 import java.io.Serializable;
 import java.util.List;
 
+/**
+ * Choice value interface.
+ * 
+ * @cmis 1.0
+ */
 public interface Choice<T> extends Serializable {
 
-	String getDisplayName();
+    /**
+     * Return the display name of the choice value.
+     */
+    String getDisplayName();
 
-	List<T> getValue();
+    /**
+     * Return the value of the choice value. Single value properties return a
+     * list with exactly one value.
+     */
+    List<T> getValue();
 
-	List<Choice<T>> getChoice();
+    List<Choice<T>> getChoice();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/DocumentTypeDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/DocumentTypeDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/DocumentTypeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/DocumentTypeDefinition.java Fri May 17 16:05:18 2013
@@ -20,9 +20,24 @@ package org.apache.chemistry.opencmis.co
 
 import org.apache.chemistry.opencmis.commons.enums.ContentStreamAllowed;
 
+/**
+ * Document Type Definition.
+ * 
+ * @cmis 1.0
+ */
 public interface DocumentTypeDefinition extends TypeDefinition {
 
+    /**
+     * Returns whether objects of this type are versionable or not.
+     * 
+     * @cmis 1.0
+     */
     Boolean isVersionable();
 
+    /**
+     * Returns if a content stream must be set.
+     * 
+     * @cmis 1.0
+     */
     ContentStreamAllowed getContentStreamAllowed();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/FolderTypeDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/FolderTypeDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/FolderTypeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/FolderTypeDefinition.java Fri May 17 16:05:18 2013
@@ -18,6 +18,11 @@
  */
 package org.apache.chemistry.opencmis.commons.definitions;
 
+/**
+ * Folder Type Definition.
+ * 
+ * @cmis 1.0
+ */
 public interface FolderTypeDefinition extends TypeDefinition {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/ItemTypeDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/ItemTypeDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/ItemTypeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/ItemTypeDefinition.java Fri May 17 16:05:18 2013
@@ -18,6 +18,11 @@
  */
 package org.apache.chemistry.opencmis.commons.definitions;
 
+/**
+ * Item Type Definition.
+ * 
+ * @cmis 1.1
+ */
 public interface ItemTypeDefinition extends TypeDefinition {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PermissionDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PermissionDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PermissionDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PermissionDefinition.java Fri May 17 16:05:18 2013
@@ -22,9 +22,18 @@ import java.io.Serializable;
 
 import org.apache.chemistry.opencmis.commons.data.ExtensionsData;
 
+/**
+ * Permission definition.
+ */
 public interface PermissionDefinition extends Serializable, ExtensionsData {
 
+    /**
+     * Returns the permission id.
+     */
     String getId();
 
+    /**
+     * Returns a human readable description of the permission.
+     */
     String getDescription();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PolicyTypeDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PolicyTypeDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PolicyTypeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PolicyTypeDefinition.java Fri May 17 16:05:18 2013
@@ -18,7 +18,11 @@
  */
 package org.apache.chemistry.opencmis.commons.definitions;
 
-
+/**
+ * Policy Type Definition.
+ * 
+ * @cmis 1.0
+ */
 public interface PolicyTypeDefinition extends TypeDefinition {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyBooleanDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyBooleanDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyBooleanDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyBooleanDefinition.java Fri May 17 16:05:18 2013
@@ -18,6 +18,8 @@
  */
 package org.apache.chemistry.opencmis.commons.definitions;
 
-
+/**
+ * Property definition of a boolean property.
+ */
 public interface PropertyBooleanDefinition extends PropertyDefinition<Boolean> {
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDateTimeDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDateTimeDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDateTimeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDateTimeDefinition.java Fri May 17 16:05:18 2013
@@ -22,7 +22,15 @@ import java.util.GregorianCalendar;
 
 import org.apache.chemistry.opencmis.commons.enums.DateTimeResolution;
 
+/**
+ * Property definition of a datetime property.
+ */
 public interface PropertyDateTimeDefinition extends PropertyDefinition<GregorianCalendar> {
 
+    /**
+     * Returns which datetime resolution is supported by this property.
+     * 
+     * @see DateTimeResolution
+     */
     DateTimeResolution getDateTimeResolution();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDecimalDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDecimalDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDecimalDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDecimalDefinition.java Fri May 17 16:05:18 2013
@@ -22,11 +22,32 @@ import java.math.BigDecimal;
 
 import org.apache.chemistry.opencmis.commons.enums.DecimalPrecision;
 
+/**
+ * Property definition of a decimal property.
+ */
 public interface PropertyDecimalDefinition extends PropertyDefinition<BigDecimal> {
 
+    /**
+     * Returns the min value of this decimal.
+     * 
+     * @return the min value or <code>null</code> if no limit is specified
+     */
     BigDecimal getMinValue();
 
+    /**
+     * Returns the max value of this decimal.
+     * 
+     * @return the max value or <code>null</code> if no limit is specified
+     */
     BigDecimal getMaxValue();
 
+    /**
+     * Returns the precision this decimal.
+     * 
+     * @return the precision or <code>null</code> if the decimal supports any
+     *         value
+     * 
+     * @see DecimalPrecision
+     */
     DecimalPrecision getPrecision();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyDefinition.java Fri May 17 16:05:18 2013
@@ -28,6 +28,8 @@ import org.apache.chemistry.opencmis.com
 
 /**
  * Base property definition interface.
+ * 
+ * @cmis 1.0
  */
 public interface PropertyDefinition<T> extends Serializable, ExtensionsData {
 
@@ -35,6 +37,8 @@ public interface PropertyDefinition<T> e
      * Returns the property definition id.
      * 
      * @return the property definition id
+     * 
+     * @cmis 1.0
      */
     String getId();
 
@@ -42,6 +46,8 @@ public interface PropertyDefinition<T> e
      * Returns the local name.
      * 
      * @return the local name
+     * 
+     * @cmis 1.0
      */
     String getLocalName();
 
@@ -49,6 +55,8 @@ public interface PropertyDefinition<T> e
      * Returns the local namespace.
      * 
      * @return the local namespace
+     * 
+     * @cmis 1.0
      */
     String getLocalNamespace();
 
@@ -56,6 +64,8 @@ public interface PropertyDefinition<T> e
      * Returns the display name.
      * 
      * @return the display name
+     * 
+     * @cmis 1.0
      */
     String getDisplayName();
 
@@ -63,6 +73,8 @@ public interface PropertyDefinition<T> e
      * Returns the query name
      * 
      * @return the query name
+     * 
+     * @cmis 1.0
      */
     String getQueryName();
 
@@ -70,6 +82,8 @@ public interface PropertyDefinition<T> e
      * Returns the property description.
      * 
      * @return returns the description
+     * 
+     * @cmis 1.0
      */
     String getDescription();
 
@@ -77,6 +91,8 @@ public interface PropertyDefinition<T> e
      * Returns the property type.
      * 
      * @return the property type
+     * 
+     * @cmis 1.0
      */
     PropertyType getPropertyType();
 
@@ -84,6 +100,8 @@ public interface PropertyDefinition<T> e
      * Returns the cardinality.
      * 
      * @return the cardinality
+     * 
+     * @cmis 1.0
      */
     Cardinality getCardinality();
 
@@ -91,6 +109,8 @@ public interface PropertyDefinition<T> e
      * Returns the updatability.
      * 
      * @return the updatability
+     * 
+     * @cmis 1.0
      */
     Updatability getUpdatability();
 
@@ -100,6 +120,8 @@ public interface PropertyDefinition<T> e
      * @return <code>true</code> - is inherited;
      *         <code>false</false> - is not inherited; <code>null</code> -
      *         unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isInherited();
 
@@ -109,6 +131,8 @@ public interface PropertyDefinition<T> e
      * @return <code>true</code> - is required;
      *         <code>false</false> - is not required; <code>null</code> -
      *         unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isRequired();
 
@@ -118,6 +142,8 @@ public interface PropertyDefinition<T> e
      * @return <code>true</code> - is queryable;
      *         <code>false</false> - is not queryable; <code>null</code> -
      *         unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isQueryable();
 
@@ -127,6 +153,8 @@ public interface PropertyDefinition<T> e
      * @return <code>true</code> - is Orderable;
      *         <code>false</false> - is not Orderable; <code>null</code> -
      *         unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isOrderable();
 
@@ -136,6 +164,8 @@ public interface PropertyDefinition<T> e
      * @return <code>true</code> - supports open choice;
      *         <code>false</false> - does not support open choice; <code>null</code>
      *         - unknown or not applicable
+     * 
+     * @cmis 1.0
      */
     Boolean isOpenChoice();
 
@@ -144,6 +174,8 @@ public interface PropertyDefinition<T> e
      * 
      * @return the default value (list) or <code>null</code> if no default value
      *         is defined
+     * 
+     * @cmis 1.0
      */
     List<T> getDefaultValue();
 
@@ -151,6 +183,8 @@ public interface PropertyDefinition<T> e
      * Returns the choices for this property.
      * 
      * @return the choices or <code>null</code> if no choices are defined
+     * 
+     * @cmis 1.0
      */
     List<Choice<T>> getChoices();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyHtmlDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyHtmlDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyHtmlDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyHtmlDefinition.java Fri May 17 16:05:18 2013
@@ -18,5 +18,8 @@
  */
 package org.apache.chemistry.opencmis.commons.definitions;
 
+/**
+ * Property definition of a HTML property.
+ */
 public interface PropertyHtmlDefinition extends PropertyDefinition<String> {
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyIdDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyIdDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyIdDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyIdDefinition.java Fri May 17 16:05:18 2013
@@ -18,5 +18,8 @@
  */
 package org.apache.chemistry.opencmis.commons.definitions;
 
+/**
+ * Property definition of an Id property.
+ */
 public interface PropertyIdDefinition extends PropertyDefinition<String> {
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyIntegerDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyIntegerDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyIntegerDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyIntegerDefinition.java Fri May 17 16:05:18 2013
@@ -20,9 +20,22 @@ package org.apache.chemistry.opencmis.co
 
 import java.math.BigInteger;
 
+/**
+ * Property definition of an integer property.
+ */
 public interface PropertyIntegerDefinition extends PropertyDefinition<BigInteger> {
 
+    /**
+     * Returns the min value of this integer.
+     * 
+     * @return the min value or <code>null</code> if no limit is specified
+     */
     BigInteger getMinValue();
 
+    /**
+     * Returns the max value of this integer.
+     * 
+     * @return the max value or <code>null</code> if no limit is specified
+     */
     BigInteger getMaxValue();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyStringDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyStringDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyStringDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyStringDefinition.java Fri May 17 16:05:18 2013
@@ -20,7 +20,16 @@ package org.apache.chemistry.opencmis.co
 
 import java.math.BigInteger;
 
+/**
+ * Property definition of a string property.
+ */
 public interface PropertyStringDefinition extends PropertyDefinition<String> {
 
+    /**
+     * Returns the max length of the string.
+     * 
+     * @return the max string length in characters or <code>null</code> if the
+     *         the length is not limited
+     */
     BigInteger getMaxLength();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyUriDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyUriDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyUriDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PropertyUriDefinition.java Fri May 17 16:05:18 2013
@@ -18,5 +18,8 @@
  */
 package org.apache.chemistry.opencmis.commons.definitions;
 
+/**
+ * Property definition of a URI property.
+ */
 public interface PropertyUriDefinition extends PropertyDefinition<String> {
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/RelationshipTypeDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/RelationshipTypeDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/RelationshipTypeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/RelationshipTypeDefinition.java Fri May 17 16:05:18 2013
@@ -20,10 +20,28 @@ package org.apache.chemistry.opencmis.co
 
 import java.util.List;
 
-
+/**
+ * Relationship Type Definition.
+ * 
+ * @cmis 1.0
+ */
 public interface RelationshipTypeDefinition extends TypeDefinition {
 
+    /**
+     * Returns the list of type ids that are allowed as source objects.
+     * 
+     * @return list of type ids or <code>null</null> if all types are allowed
+     * 
+     * @cmis 1.0
+     */
     List<String> getAllowedSourceTypeIds();
 
+    /**
+     * Returns the list of type ids that are allowed as target objects.
+     * 
+     * @return list of type ids or <code>null</null> if all types are allowed
+     * 
+     * @cmis 1.0
+     */
     List<String> getAllowedTargetTypeIds();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/SecondaryTypeDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/SecondaryTypeDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/SecondaryTypeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/SecondaryTypeDefinition.java Fri May 17 16:05:18 2013
@@ -18,6 +18,11 @@
  */
 package org.apache.chemistry.opencmis.commons.definitions;
 
+/**
+ * Secondary Type Definition.
+ * 
+ * @cmis 1.1
+ */
 public interface SecondaryTypeDefinition extends TypeDefinition {
 
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinition.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinition.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinition.java Fri May 17 16:05:18 2013
@@ -26,6 +26,8 @@ import org.apache.chemistry.opencmis.com
 
 /**
  * Base type definition interface.
+ * 
+ * @cmis 1.0
  */
 public interface TypeDefinition extends Serializable, ExtensionsData {
 
@@ -33,6 +35,8 @@ public interface TypeDefinition extends 
      * Returns the type id.
      * 
      * @return the type id
+     * 
+     * @cmis 1.0
      */
     String getId();
 
@@ -40,6 +44,8 @@ public interface TypeDefinition extends 
      * Returns the local name.
      * 
      * @return the local name
+     * 
+     * @cmis 1.0
      */
     String getLocalName();
 
@@ -47,6 +53,8 @@ public interface TypeDefinition extends 
      * Returns the local namespace.
      * 
      * @return the local namespace
+     * 
+     * @cmis 1.0
      */
     String getLocalNamespace();
 
@@ -54,6 +62,8 @@ public interface TypeDefinition extends 
      * Returns the display name.
      * 
      * @return the display name
+     * 
+     * @cmis 1.0
      */
     String getDisplayName();
 
@@ -61,6 +71,8 @@ public interface TypeDefinition extends 
      * Returns the query name
      * 
      * @return the query name
+     * 
+     * @cmis 1.0
      */
     String getQueryName();
 
@@ -68,6 +80,8 @@ public interface TypeDefinition extends 
      * Returns the property description.
      * 
      * @return returns the description
+     * 
+     * @cmis 1.0
      */
     String getDescription();
 
@@ -75,6 +89,8 @@ public interface TypeDefinition extends 
      * Returns the base object type id.
      * 
      * @return the base object type id
+     * 
+     * @cmis 1.0
      */
     BaseTypeId getBaseTypeId();
 
@@ -83,6 +99,8 @@ public interface TypeDefinition extends 
      * 
      * @return the parent type id or <code>null</code> if the type is a base
      *         type
+     * 
+     * @cmis 1.0
      */
     String getParentTypeId();
 
@@ -92,6 +110,8 @@ public interface TypeDefinition extends 
      * @return <code>true</code> if an object of this type can be created;
      *         <code>false</code> if creation of objects of this type is not
      *         possible; <code>null</code> - unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isCreatable();
 
@@ -101,6 +121,8 @@ public interface TypeDefinition extends 
      * @return <code>true</code> if an object of this type can be filed;
      *         <code>false</code> if an object of this type cannot be filed;
      *         <code>null</code> - unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isFileable();
 
@@ -110,6 +132,8 @@ public interface TypeDefinition extends 
      * @return <code>true</code> if this type is queryable; <code>false</code>
      *         if this type is not queryable; <code>null</code> - unknown
      *         (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isQueryable();
 
@@ -119,6 +143,8 @@ public interface TypeDefinition extends 
      * @return <code>true</code> if this type is full text indexed;
      *         <code>false</code> if this type is not full text indexed;
      *         <code>null</code> - unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isFulltextIndexed();
 
@@ -128,6 +154,8 @@ public interface TypeDefinition extends 
      * @return <code>true</code> if this type is included; <code>false</code> if
      *         this type is not included; <code>null</code> - unknown
      *         (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isIncludedInSupertypeQuery();
 
@@ -137,6 +165,8 @@ public interface TypeDefinition extends 
      * @return <code>true</code> if objects are controllable by policies;
      *         <code>false</code> if objects are not controllable by policies;
      *         <code>null</code> - unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isControllablePolicy();
 
@@ -146,6 +176,8 @@ public interface TypeDefinition extends 
      * @return <code>true</code> if objects are controllable by ACLs;
      *         <code>false</code> if objects are not controllable by ACLs;
      *         <code>null</code> - unknown (noncompliant repository)
+     * 
+     * @cmis 1.0
      */
     Boolean isControllableAcl();
 
@@ -154,6 +186,8 @@ public interface TypeDefinition extends 
      * 
      * @return the property definitions or <code>null</code> if the property
      *         definitions were not requested
+     * 
+     * @cmis 1.0
      */
     Map<String, PropertyDefinition<?>> getPropertyDefinitions();
 
@@ -161,6 +195,8 @@ public interface TypeDefinition extends 
      * Returns type mutability flags.
      * 
      * @return type mutability flags
+     * 
+     * @cmis 1.1
      */
     TypeMutability getTypeMutability();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinitionContainer.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinitionContainer.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinitionContainer.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinitionContainer.java Fri May 17 16:05:18 2013
@@ -22,9 +22,19 @@ import java.util.List;
 
 import org.apache.chemistry.opencmis.commons.data.ExtensionsData;
 
+/**
+ * Type Definition Container. This class is used to build a tree of type
+ * definitions.
+ */
 public interface TypeDefinitionContainer extends ExtensionsData {
 
+    /**
+     * Returns the type definition at this level.
+     */
     TypeDefinition getTypeDefinition();
 
+    /**
+     * Returns direct children of the type definition at this level.
+     */
     List<TypeDefinitionContainer> getChildren();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinitionList.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinitionList.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinitionList.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeDefinitionList.java Fri May 17 16:05:18 2013
@@ -23,11 +23,30 @@ import java.util.List;
 
 import org.apache.chemistry.opencmis.commons.data.ExtensionsData;
 
+/**
+ * List of type definitions.
+ */
 public interface TypeDefinitionList extends ExtensionsData {
 
+    /**
+     * Returns the list of type definitions.
+     */
     List<TypeDefinition> getList();
 
+    /**
+     * Returns whether there more type definitions or not.
+     * 
+     * @return <code>true</code> if there are more type definitions,
+     *         <code>false</code> if there are no more type definitions,
+     *         <code>null</code> if it's unknown
+     */
     Boolean hasMoreItems();
 
+    /**
+     * Returns the total number of type definitions.
+     * 
+     * @return total number of type definitions or <code>null</code> if the
+     *         total number is unknown
+     */
     BigInteger getNumItems();
 }

Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeMutability.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeMutability.java?rev=1483889&r1=1483888&r2=1483889&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeMutability.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/TypeMutability.java Fri May 17 16:05:18 2013
@@ -22,6 +22,8 @@ import org.apache.chemistry.opencmis.com
 
 /**
  * Type mutability flags.
+ * 
+ * @cmis 1.1
  */
 public interface TypeMutability extends ExtensionsData {
 
@@ -30,6 +32,8 @@ public interface TypeMutability extends 
      * 
      * @return <code>true</code> if a sub type can be created,
      *         <code>false</code> otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canCreate();
 
@@ -38,6 +42,8 @@ public interface TypeMutability extends 
      * 
      * @return <code>true</code> if this type can be updated, <code>false</code>
      *         otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canUpdate();
 
@@ -46,6 +52,8 @@ public interface TypeMutability extends 
      * 
      * @return <code>true</code> if this type can be deleted, <code>false</code>
      *         otherwise
+     * 
+     * @cmis 1.1
      */
     Boolean canDelete();
 }



Mime
View raw message