You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2016/02/01 18:08:27 UTC
svn commit: r1727973 - in /chemistry/opencmis/trunk: ./
chemistry-opencmis-bridge/chemistry-opencmis-bridge/src/main/java/org/apache/chemistry/opencmis/bridge/
chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/o...
Author: fmui
Date: Mon Feb 1 17:08:26 2016
New Revision: 1727973
URL: http://svn.apache.org/viewvc?rev=1727973&view=rev
Log:
updated JavaDoc
Added:
chemistry/opencmis/trunk/src/site/resources/images/apache-logo.png (with props)
Removed:
chemistry/opencmis/trunk/src/site/resources/images/apache-logo.gif
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-bridge/chemistry-opencmis-bridge/src/main/java/org/apache/chemistry/opencmis/bridge/FilterCmisService.java
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/SessionFactoryFinder.java
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Document.java
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ItemIterable.java
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/OperationContext.java
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/QueryResult.java
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/QueryStatement.java
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Session.java
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/SessionFactory.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/SessionParameter.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/MutablePropertyData.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/Properties.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RenditionData.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/RepositoryCapabilities.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/Choice.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/DocumentTypeDefinition.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/MutableTypeDefinition.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/PermissionDefinition.java
chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CmisService.java
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/query/StringUtil.java
chemistry/opencmis/trunk/pom.xml
chemistry/opencmis/trunk/src/site/resources/images/chemistry-logo.png
chemistry/opencmis/trunk/src/site/site.xml
Modified: chemistry/opencmis/trunk/chemistry-opencmis-bridge/chemistry-opencmis-bridge/src/main/java/org/apache/chemistry/opencmis/bridge/FilterCmisService.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-bridge/chemistry-opencmis-bridge/src/main/java/org/apache/chemistry/opencmis/bridge/FilterCmisService.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-bridge/chemistry-opencmis-bridge/src/main/java/org/apache/chemistry/opencmis/bridge/FilterCmisService.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-bridge/chemistry-opencmis-bridge/src/main/java/org/apache/chemistry/opencmis/bridge/FilterCmisService.java Mon Feb 1 17:08:26 2016
@@ -77,8 +77,6 @@ public abstract class FilterCmisService
*
* @param parameters
* the parameters provided to bridge service factory
- * @param lock
- * a lock object shared by all service instances
*/
public void init(Map<String, String> parameters) {
}
Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/SessionFactoryFinder.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/SessionFactoryFinder.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/SessionFactoryFinder.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/SessionFactoryFinder.java Mon Feb 1 17:08:26 2016
@@ -35,7 +35,7 @@ import org.apache.chemistry.opencmis.cli
* <pre>
* SessionFactory factory = SessionFactoryFinder.find();
*
- * Map<String, String> parameter = new HashMap<String, String>();
+ * Map<String, String> parameter = new HashMap<String, String>();
* parameter.put(SessionParameter.USER, "Otto");
* parameter.put(SessionParameter.PASSWORD, "****");
*
Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Document.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/Document.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Document.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/Document.java Mon Feb 1 17:08:26 2016
@@ -296,10 +296,6 @@ public interface Document extends Fileab
* Creates an {@link OutputStream} stream object that can be used to append
* content the current content of the document.
*
- * @param filename
- * the file name
- * @param mimeType
- * the MIME type
* @return the OutputStream object
*
* @cmis 1.1
@@ -310,10 +306,6 @@ public interface Document extends Fileab
* Creates an {@link OutputStream} stream object that can be used to append
* content the current content of the document.
*
- * @param filename
- * the file name
- * @param mimeType
- * the MIME type
* @param bufferSize
* buffer size in bytes
* @return the OutputStream object
Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ItemIterable.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/ItemIterable.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ItemIterable.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ItemIterable.java Mon Feb 1 17:08:26 2016
@@ -72,7 +72,8 @@ public interface ItemIterable<T> extends
* Returns whether the repository contains additional items beyond the page
* of items already fetched.
*
- * @return true => further page requests will be made to the repository
+ * @return {@code true} if further page requests will be made to the
+ * repository
*/
boolean getHasMoreItems();
Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/OperationContext.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/OperationContext.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/OperationContext.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/OperationContext.java Mon Feb 1 17:08:26 2016
@@ -199,7 +199,7 @@ public interface OperationContext extend
* an excerpt (page) of a list, see {@link ItemIterable#getPage(int)}.
*
* @param maxItemsPerPage
- * max number of items (must be >0)
+ * max number of items (must be positive)
*/
void setMaxItemsPerPage(int maxItemsPerPage);
Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/QueryResult.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/QueryResult.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/QueryResult.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/QueryResult.java Mon Feb 1 17:08:26 2016
@@ -122,15 +122,15 @@ public interface QueryResult {
/**
* Returns the relationships if they have been requested.
*
- * @returns the relationships if they have been requested, {@code null}
- * otherwise
+ * @return the relationships if they have been requested, {@code null}
+ * otherwise
*/
List<Relationship> getRelationships();
/**
* Returns the renditions if they have been requested.
*
- * @eturns the rendition if they have been requested, {@code null} otherwise
+ * @return the rendition if they have been requested, {@code null} otherwise
*/
List<Rendition> getRenditions();
}
Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/QueryStatement.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/QueryStatement.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/QueryStatement.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/QueryStatement.java Mon Feb 1 17:08:26 2016
@@ -35,7 +35,7 @@ import org.apache.chemistry.opencmis.com
* Folder folder = ...
*
* QueryStatement qs =
- * session.createQueryStatement("SELECT ?, ? FROM ? WHERE ? > TIMESTAMP ? AND IN_FOLDER(?) OR ? IN (?)");
+ * session.createQueryStatement("SELECT ?, ? FROM ? WHERE ? > TIMESTAMP ? AND IN_FOLDER(?) OR ? IN (?)");
*
* qs.setProperty(1, "cmis:document", "cmis:name");
* qs.setProperty(2, "cmis:document", "cmis:objectId");
@@ -140,10 +140,62 @@ public interface QueryStatement extends
* On the second level grammar ", ', - and \ are escaped with a \. See the
* spec for further details.
* <p>
- * Summary (input --> first level escaping --> second level escaping and
- * output): * --> * --> * ? --> ? --> ? - --> - --> - \ --> \\ --> \\\\ (for
- * any other character following other than * ? -) \* --> \* --> \\* \? -->
- * \? --> \\? \- --> \- --> \\- ' --> \' --> \\\' " --> \" --> \\\"
+ *
+ * Summary:
+ * <table summary="Escaping Summary">
+ * <tr>
+ * <th>input</th>
+ * <th>first level escaping</th>
+ * <th>second level escaping</th>
+ * </tr>
+ * <tr>
+ * <td>*</td>
+ * <td>*</td>
+ * <td>*</td>
+ * </tr>
+ * <tr>
+ * <td>?</td>
+ * <td>?</td>
+ * <td>?</td>
+ * </tr>
+ * <tr>
+ * <td>-</td>
+ * <td>-</td>
+ * <td>-</td>
+ * </tr>
+ * <tr>
+ * <td>\</td>
+ * <td>\\</td>
+ * <td>\\\\<br>
+ * <em>(for any other character following other than * ?
+ * -)</em></td>
+ * </tr>
+ * <tr>
+ * <td>\*</td>
+ * <td>\*</td>
+ * <td>\\*</td>
+ * </tr>
+ * <tr>
+ * <td>\?</td>
+ * <td>\?</td>
+ * <td>\\?</td>
+ * </tr>
+ * <tr>
+ * <td>\-</td>
+ * <td>\-</td>
+ * <td>\\-+</td>
+ * </tr>
+ * <tr>
+ * <td>'</td>
+ * <td>\'</td>
+ * <td>\\\'</td>
+ * </tr>
+ * <tr>
+ * <td>"</td>
+ * <td>\"</td>
+ * <td>\\\"</td>
+ * </tr>
+ * </table>
*
* @param parameterIndex
* the parameter index (one-based)
@@ -207,7 +259,7 @@ public interface QueryStatement extends
*
* @param parameterIndex
* the parameter index (one-based)
- * @param cal
+ * @param date
* the DateTime value as Date object
*/
void setDateTime(int parameterIndex, Date... date);
@@ -217,7 +269,7 @@ public interface QueryStatement extends
*
* @param parameterIndex
* the parameter index (one-based)
- * @param cal
+ * @param ms
* the DateTime value in milliseconds from midnight, January 1,
* 1970 UTC.
*/
@@ -240,7 +292,7 @@ public interface QueryStatement extends
*
* @param parameterIndex
* the parameter index (one-based)
- * @param cal
+ * @param date
* the DateTime value as Date object
*/
void setDateTimeTimestamp(int parameterIndex, Date... date);
@@ -251,7 +303,7 @@ public interface QueryStatement extends
*
* @param parameterIndex
* the parameter index (one-based)
- * @param cal
+ * @param ms
* the DateTime value in milliseconds from midnight, January 1,
* 1970 UTC.
*/
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=1727973&r1=1727972&r2=1727973&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 Mon Feb 1 17:08:26 2016
@@ -722,6 +722,8 @@ public interface Session extends Seriali
* included or not, {@code true} searches all document versions,
* {@code false} only searches latest document versions
*
+ * @return an {@link Iterable} to iterate over the query result
+ *
* @cmis 1.0
*/
ItemIterable<QueryResult> query(String statement, boolean searchAllVersions);
@@ -739,6 +741,8 @@ public interface Session extends Seriali
* @param context
* the operation context to use
*
+ * @return an {@link Iterable} to iterate over the query result
+ *
* @cmis 1.0
*/
ItemIterable<QueryResult> query(String statement, boolean searchAllVersions, OperationContext context);
@@ -747,7 +751,7 @@ public interface Session extends Seriali
* Builds a CMIS query and returns the query results as an iterator of
* {@link CmisObject} objects.
*
- * @param type
+ * @param typeId
* the ID of the object type
* @param where
* the WHERE part of the query
@@ -758,6 +762,8 @@ public interface Session extends Seriali
* @param context
* the operation context to use
*
+ * @return an {@link Iterable} to iterate over the objects
+ *
* @cmis 1.0
*/
ItemIterable<CmisObject> queryObjects(String typeId, String where, boolean searchAllVersions,
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=1727973&r1=1727972&r2=1727973&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 Mon Feb 1 17:08:26 2016
@@ -44,7 +44,7 @@ import java.util.Map;
* <pre>
* SessionFactory factory = ...
*
- * Map<String, String> parameter = new HashMap<String, String>();
+ * Map<String, String> parameter = new HashMap<String, String>();
*
* parameter.put(SessionParameter.USER, "Otto");
* parameter.put(SessionParameter.PASSWORD, "****");
@@ -87,7 +87,7 @@ public interface SessionFactory {
* a map of name/value pairs with parameters for the session, see
* {@link org.apache.chemistry.opencmis.commons.SessionParameter}
* for parameters supported by OpenCMIS, the parameter
- * {@link org.apache.chemistry.opencmis.commons.SessionParameter.REPOSITORY_ID}
+ * {@link org.apache.chemistry.opencmis.commons.SessionParameter#REPOSITORY_ID}
* should not be set
*
* @return a list of all available repositories, never {@code null}
Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/SessionParameter.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/SessionParameter.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/SessionParameter.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/SessionParameter.java Mon Feb 1 17:08:26 2016
@@ -21,7 +21,7 @@ package org.apache.chemistry.opencmis.co
/**
* Session parameter constants.
*
- * <table border="2" rules="all" cellpadding="4">
+ * <table border="2" rules="all" cellpadding="4" summary="Session Parameters">
* <tr>
* <th>Constant</th>
* <th>Description</th>
@@ -453,7 +453,6 @@ package org.apache.chemistry.opencmis.co
* {@link #WEBSERVICES_MULTIFILING_SERVICE_ENDPOINT} must be set</td>
* <td>-</td>
* </tr>
- * </tr>
* <tr>
* <td>{@link #WEBSERVICES_POLICY_SERVICE}</td>
* <td>Policy Service WSDL URL</td>
Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/MutablePropertyData.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/MutablePropertyData.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/MutablePropertyData.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/MutablePropertyData.java Mon Feb 1 17:08:26 2016
@@ -36,24 +36,24 @@ public interface MutablePropertyData<T>
/**
* Set the display name.
*
- * @param the
- * display name
+ * @param displayName
+ * the display name
*/
void setDisplayName(String displayName);
/**
* Set the local name.
*
- * @param the
- * local name
+ * @param localName
+ * the local name
*/
void setLocalName(String localName);
/**
* Set the query name.
*
- * @param the
- * query name
+ * @param queryName
+ * the query name
*/
void setQueryName(String queryName);
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=1727973&r1=1727972&r2=1727973&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 Mon Feb 1 17:08:26 2016
@@ -27,7 +27,7 @@ import java.util.Map;
public interface Properties extends ExtensionsData {
/**
- * Returns a map of properties (property ID => property).
+ * Returns a map of properties (property ID => property).
* <p>
* This method should not be used with queries because some repositories
* don't set property IDs, and because when dealing with queries the proper
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=1727973&r1=1727972&r2=1727973&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 Mon Feb 1 17:08:26 2016
@@ -63,21 +63,21 @@ public interface RenditionData extends E
/**
* Returns the title of the rendition.
*
- * @returns the rendition title, may be {@code null}
+ * @return the rendition title, may be {@code null}
*/
String getTitle();
/**
* Returns the height in pixels, if the rendition is an image.
*
- * @returns the height in pixels, may be {@code null}
+ * @return the height in pixels, may be {@code null}
*/
BigInteger getBigHeight();
/**
* Returns the width in pixels, if the rendition is an image.
*
- * @returns the width in pixels, may be {@code null}
+ * @return the width in pixels, may be {@code null}
*/
BigInteger getBigWidth();
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=1727973&r1=1727972&r2=1727973&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 Mon Feb 1 17:08:26 2016
@@ -33,18 +33,30 @@ public interface RepositoryCapabilities
// Object
/**
+ * Returns the Content Stream Updates capability.
+ *
+ * @return the capability enum or {code null} if the the repository does not
+ * provide this value
*
* @cmis 1.0
*/
CapabilityContentStreamUpdates getContentStreamUpdatesCapability();
/**
+ * Returns the Changes capability.
+ *
+ * @return the capability enum or {code null} if the the repository does not
+ * provide this value
*
* @cmis 1.0
*/
CapabilityChanges getChangesCapability();
/**
+ * Returns Rendition capability.
+ *
+ * @return the capability enum or {code null} if the the repository does not
+ * provide this value
*
* @cmis 1.0
*/
@@ -53,18 +65,30 @@ public interface RepositoryCapabilities
// Navigation
/**
+ * Returns the Get Descendants capability.
+ *
+ * @return {@code true} if supported, {@code false} if not supported, or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.0
*/
Boolean isGetDescendantsSupported();
/**
+ * Returns Get Folder Tree capability.
+ *
+ * @return {@code true} if supported, {@code false} if not supported, or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.0
*/
Boolean isGetFolderTreeSupported();
/**
+ * Returns the Order By capability.
+ *
+ * @return the capability enum or {code null} if the the repository does not
+ * provide this value
*
* @cmis 1.1
*/
@@ -73,18 +97,30 @@ public interface RepositoryCapabilities
// Filing
/**
+ * Returns the Multifiling capability.
+ *
+ * @return {@code true} if supported, {@code false} if not supported, or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.0
*/
Boolean isMultifilingSupported();
/**
+ * Returns the Unfiling capability.
+ *
+ * @return {@code true} if supported, {@code false} if not supported, or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.0
*/
Boolean isUnfilingSupported();
/**
+ * Returns the Version Specific Filing capability.
+ *
+ * @return {@code true} if supported, {@code false} if not supported, or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.0
*/
@@ -93,18 +129,30 @@ public interface RepositoryCapabilities
// Versioning
/**
+ * Returns the PWC Searchable capability.
+ *
+ * @return {@code true} if supported, {@code false} if not supported, or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.0
*/
Boolean isPwcSearchableSupported();
/**
+ * Returns the PWC Updatable capability.
+ *
+ * @return {@code true} if supported, {@code false} if not supported, or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.0
*/
Boolean isPwcUpdatableSupported();
/**
+ * Returns the All Versions Searchable capability.
+ *
+ * @return {@code true} if supported, {@code false} if not supported, or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.0
*/
@@ -113,12 +161,20 @@ public interface RepositoryCapabilities
// Query
/**
+ * Returns the Query capability.
+ *
+ * @return the capability enum or {code null} if the the repository does not
+ * provide this value
*
* @cmis 1.0
*/
CapabilityQuery getQueryCapability();
/**
+ * Returns the Join capability.
+ *
+ * @return the capability enum or {code null} if the the repository does not
+ * provide this value
*
* @cmis 1.0
*/
@@ -127,6 +183,10 @@ public interface RepositoryCapabilities
// ACLs
/**
+ * Returns the ACL capability.
+ *
+ * @return the capability enum or {code null} if the the repository does not
+ * provide this value
*
* @cmis 1.0
*/
@@ -135,12 +195,20 @@ public interface RepositoryCapabilities
// Type mutability
/**
+ * Returns the Creatable Property Types capability.
+ *
+ * @return the creatable property types or {code null} if the the repository
+ * does not provide this value
*
* @cmis 1.1
*/
CreatablePropertyTypes getCreatablePropertyTypes();
/**
+ * Returns the New Type Settable Attributes capability.
+ *
+ * @return the attributes that can be set when a new type is created or
+ * {code null} if the the repository does not provide this value
*
* @cmis 1.1
*/
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=1727973&r1=1727972&r2=1727973&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 Mon Feb 1 17:08:26 2016
@@ -30,14 +30,23 @@ public interface Choice<T> extends Seria
/**
* Return the display name of the choice value.
+ *
+ * @return the display name
*/
String getDisplayName();
/**
* Return the value of the choice value. Single value properties return a
* list with exactly one value.
+ *
+ * @return the choice value
*/
List<T> getValue();
+ /**
+ * Returns sub-choice if there is a hierarchy of choices.
+ *
+ * @return the list of sub-choices
+ */
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=1727973&r1=1727972&r2=1727973&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 Mon Feb 1 17:08:26 2016
@@ -30,6 +30,10 @@ public interface DocumentTypeDefinition
/**
* Returns whether objects of this type are versionable or not.
*
+ * @return {code true} if the document type is versionable, {code false} if
+ * is is not versionable, or {code null} if an incompliant
+ * repository does not provide this value
+ *
* @cmis 1.0
*/
Boolean isVersionable();
@@ -37,6 +41,9 @@ public interface DocumentTypeDefinition
/**
* Returns if a content stream must be set.
*
+ * @return if a content stream must be set or {code null} if an incompliant
+ * repository does not provide this value
+ *
* @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/MutableTypeDefinition.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/MutableTypeDefinition.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/MutableTypeDefinition.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/definitions/MutableTypeDefinition.java Mon Feb 1 17:08:26 2016
@@ -58,11 +58,17 @@ public interface MutableTypeDefinition e
/**
* Adds or replaces a property definition.
+ *
+ * @param propertyDefinition
+ * the property definition to add, not {code null}
*/
void addPropertyDefinition(PropertyDefinition<?> propertyDefinition);
/**
* Removes a property definition.
+ *
+ * @param propertyId
+ * the ID of the property to delete, not {code null}
*/
void removePropertyDefinition(String propertyId);
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=1727973&r1=1727972&r2=1727973&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 Mon Feb 1 17:08:26 2016
@@ -29,11 +29,15 @@ public interface PermissionDefinition ex
/**
* Returns the permission ID.
+ *
+ * @return the permission ID
*/
String getId();
/**
* Returns a human readable description of the permission.
+ *
+ * @return the permission description
*/
String getDescription();
}
Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CmisService.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/server/CmisService.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CmisService.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/server/CmisService.java Mon Feb 1 17:08:26 2016
@@ -83,16 +83,7 @@ public interface CmisService extends Rep
* @param policies
* <em>(optional)</em> a list of policy IDs that MUST be applied
* to the newly created object
- * @param addAces
- * <em>(optional)</em> a list of ACEs that MUST be added to the
- * newly created object, either using the ACL from
- * <code>folderId</code> if specified, or being applied if no
- * <code>folderId</code> is specified
- * @param removeAces
- * <em>(optional)</em> a list of ACEs that MUST be removed from
- * the newly created object, either using the ACL from
- * <code>folderId</code> if specified, or being ignored if no
- * <code>folderId</code> is specified
+ * @return the object ID of the newly created object
*/
String create(String repositoryId, Properties properties, String folderId, ContentStream contentStream,
VersioningState versioningState, List<String> policies, ExtensionsData extension);
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/query/StringUtil.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/query/StringUtil.java?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/query/StringUtil.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/query/StringUtil.java Mon Feb 1 17:08:26 2016
@@ -25,8 +25,8 @@ public final class StringUtil {
/**
* Removes all escape sequences in a string and return unescaped string
- * escape character is backslash \, so \\ --> \, \' --> ' additional escaped
- * characters can be allowed in escapedChars.
+ * escape character is backslash \, so \\ --> \, \' --> ' additional
+ * escaped characters can be allowed in escapedChars.
*
* @param literal
* String to unescape
Modified: chemistry/opencmis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/pom.xml?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/pom.xml (original)
+++ chemistry/opencmis/trunk/pom.xml Mon Feb 1 17:08:26 2016
@@ -36,10 +36,10 @@
<organization>
<name>The Apache Software Foundation</name>
- <url>http://www.apache.org/</url>
+ <url>https://www.apache.org/</url>
</organization>
- <url>http://chemistry.apache.org/java/</url>
+ <url>https://chemistry.apache.org/java/</url>
<ciManagement>
<system>Apache Build Server</system>
@@ -53,13 +53,13 @@
<licenses>
<license>
<name>Apache 2</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/chemistry/opencmis/trunk</connection>
+ <connection>scm:svn:https://svn.apache.org/repos/asf/chemistry/opencmis/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/chemistry/opencmis/trunk</developerConnection>
<url>http://svn.apache.org/viewvc/chemistry/opencmis/trunk</url>
</scm>
@@ -83,7 +83,7 @@
<unsubscribe>dev-unsubscribe@chemistry.apache.org</unsubscribe>
<post>dev@chemistry.apache.org</post>
<archive>
- http://mail-archives.apache.org/mod_mbox/chemistry-dev/
+ https://mail-archives.apache.org/mod_mbox/chemistry-dev/
</archive>
</mailingList>
<mailingList>
@@ -92,7 +92,7 @@
<unsubscribe>commits-unsubscribe@chemistry.apache.org</unsubscribe>
<post>commits@chemistry.apache.org</post>
<archive>
- http://mail-archives.apache.org/mod_mbox/chemistry-commits/
+ https://mail-archives.apache.org/mod_mbox/chemistry-commits/
</archive>
</mailingList>
</mailingLists>
@@ -205,7 +205,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compile.source>1.6</maven.compile.source>
<maven.compile.target>1.6</maven.compile.target>
- <docs.start.url>http://chemistry.apache.org/java/opencmis.html</docs.start.url>
+ <docs.start.url>https://chemistry.apache.org/java/opencmis.html</docs.start.url>
<docs.download.directory>${project.build.directory}/downloaded-site</docs.download.directory>
<!--
| Here we configure Maven documentation site (incl. Javadocs) deployment
@@ -214,7 +214,7 @@
| https://svn.apache.org/repos/asf/chemistry/site/trunk/content/java/${site.label}/maven/
| where site.label = project.version
- | For details/changes see http://chemistry.apache.org/java/documentation-lifecycle.html
+ | For details/changes see https://chemistry.apache.org/java/documentation-lifecycle.html
|
| Note: Site label (or any other property like site.staging.url) can be overriden on the command line to deploy to distinct location during site development
-->
@@ -588,7 +588,11 @@
</group>
<group>
<title>OpenCMIS Server</title>
- <packages>org.apache.chemistry.opencmis.commons.server:org.apache.chemistry.opencmis.commons.impl.server:org.apache.chemistry.opencmis.server.support:org.apache.chemistry.opencmis.server.support.query:org.apache.chemistry.opencmis.server.filter:org.apache.chemistry.opencmis.server.shared</packages>
+ <packages>org.apache.chemistry.opencmis.commons.server:org.apache.chemistry.opencmis.commons.impl.server:org.apache.chemistry.opencmis.server.support:org.apache.chemistry.opencmis.server.support.wrapper:org.apache.chemistry.opencmis.server.support.query:org.apache.chemistry.opencmis.server.filter:org.apache.chemistry.opencmis.server.shared</packages>
+ </group>
+ <group>
+ <title>OpenCMIS Server (async)</title>
+ <packages>org.apache.chemistry.opencmis.server.async</packages>
</group>
<group>
<title>OpenCMIS Bridge</title>
@@ -607,7 +611,6 @@
<exclude>org/apache/chemistry/opencmis/commons/impl/*</exclude>
<exclude>org/apache/chemistry/opencmis/commons/impl/dataobjects/**</exclude>
<exclude>org/apache/chemistry/opencmis/commons/impl/json/**</exclude>
- <exclude>org/apache/chemistry/opencmis/commons/impl/tube/**</exclude>
<exclude>org/apache/chemistry/opencmis/commons/impl/jaxb/**</exclude>
<exclude>org/apache/chemistry/opencmis/commons/impl/server/ObjectInfoImpl*</exclude>
<exclude>org/apache/chemistry/opencmis/commons/impl/server/RenditionInfoImpl*</exclude>
@@ -618,11 +621,11 @@
<exclude>org/apache/chemistry/opencmis/server/impl/**</exclude>
<exclude>org/apache/chemistry/opencmis/server/shared/**</exclude>
<exclude>org/apache/chemistry/opencmis/server/support/filter/**</exclude>
+ <exclude>org/apache/chemistry/opencmis/server/async/impl/**</exclude>
<exclude>org/apache/chemistry/opencmis/fit/**</exclude>
<exclude>org/apache/chemistry/opencmis/util/**</exclude>
<exclude>org/apache/chemistry/opencmis/fileshare/**</exclude>
<exclude>org/apache/chemistry/opencmis/inmemory/**</exclude>
- <exclude>org/apache/chemistry/opencmis/jcr/**</exclude>
<exclude>org/apache/chemistry/opencmis/browser/**</exclude>
<exclude>org/apache/chemistry/opencmis/workbench/**</exclude>
<exclude>org/apache/chemistry/opencmis/commander/**</exclude>
Added: chemistry/opencmis/trunk/src/site/resources/images/apache-logo.png
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/src/site/resources/images/apache-logo.png?rev=1727973&view=auto
==============================================================================
Binary file - no diff available.
Propchange: chemistry/opencmis/trunk/src/site/resources/images/apache-logo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: chemistry/opencmis/trunk/src/site/resources/images/chemistry-logo.png
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/src/site/resources/images/chemistry-logo.png?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
Binary files - no diff available.
Modified: chemistry/opencmis/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/src/site/site.xml?rev=1727973&r1=1727972&r2=1727973&view=diff
==============================================================================
--- chemistry/opencmis/trunk/src/site/site.xml (original)
+++ chemistry/opencmis/trunk/src/site/site.xml Mon Feb 1 17:08:26 2016
@@ -25,13 +25,13 @@
<bannerLeft>
<name>${project.name}</name>
<src>images/chemistry-logo.png</src>
- <href>http://chemistry.apache.org/java</href>
+ <href>https://chemistry.apache.org/java/opencmis.html</href>
</bannerLeft>
<bannerRight>
<name>The Apache Software Foundation</name>
- <src>images/apache-logo.gif</src>
- <href>http://www.apache.org/</href>
+ <src>images/apache-logo.png</src>
+ <href>https://www.apache.org/</href>
</bannerRight>