| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_07) on Sat Apr 05 09:19:46 EDT 2014 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>DocumentImpl (Apache Chemistry OpenCMIS 0.11.0 API)</title> |
| <meta name="date" content="2014-04-05"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="DocumentImpl (Apache Chemistry OpenCMIS 0.11.0 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DocumentImpl.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/CmisBindingHelper.html" title="class in org.apache.chemistry.opencmis.client.runtime"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/FolderImpl.html" title="class in org.apache.chemistry.opencmis.client.runtime"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html" target="_top">Frames</a></li> |
| <li><a href="DocumentImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.chemistry.opencmis.client.runtime</div> |
| <h2 title="Class DocumentImpl" class="title">Class DocumentImpl</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html" title="class in org.apache.chemistry.opencmis.client.runtime">org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html" title="class in org.apache.chemistry.opencmis.client.runtime">org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.chemistry.opencmis.client.runtime.DocumentImpl</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html" title="interface in org.apache.chemistry.opencmis.client.api">CmisObject</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">CmisObjectProperties</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html" title="interface in org.apache.chemistry.opencmis.client.api">FileableCmisObject</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">DocumentImpl</span> |
| extends <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html" title="class in org.apache.chemistry.opencmis.client.runtime">AbstractFilableCmisObject</a> |
| implements <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></pre> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../serialized-form.html#org.apache.chemistry.opencmis.client.runtime.DocumentImpl">Serialized Form</a></dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#DocumentImpl(org.apache.chemistry.opencmis.client.runtime.SessionImpl, org.apache.chemistry.opencmis.client.api.ObjectType, org.apache.chemistry.opencmis.commons.data.ObjectData, org.apache.chemistry.opencmis.client.api.OperationContext)">DocumentImpl</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/SessionImpl.html" title="class in org.apache.chemistry.opencmis.client.runtime">SessionImpl</a> session, |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectType.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectType</a> objectType, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ObjectData.html" title="interface in org.apache.chemistry.opencmis.commons.data">ObjectData</a> objectData, |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api">OperationContext</a> context)</code> |
| <div class="block">Constructor.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean)">appendContentStream</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| boolean isLastChunk)</code> |
| <div class="block">Appends a content stream to the content stream of the document and |
| refreshes this object afterwards.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean, boolean)">appendContentStream</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| boolean isLastChunk, |
| boolean refresh)</code> |
| <div class="block">Appends a content stream to the content stream of the document.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#cancelCheckOut()">cancelCheckOut</a></strong>()</code> |
| <div class="block">If this is a PWC (private working copy) the check out will be reversed.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#checkIn(boolean, java.util.Map, org.apache.chemistry.opencmis.commons.data.ContentStream, java.lang.String)">checkIn</a></strong>(boolean major, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?> properties, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> checkinComment)</code> |
| <div class="block">If this is a PWC (private working copy) it performs a check in.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#checkIn(boolean, java.util.Map, org.apache.chemistry.opencmis.commons.data.ContentStream, java.lang.String, java.util.List, java.util.List, java.util.List)">checkIn</a></strong>(boolean major, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?> properties, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> checkinComment, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Policy.html" title="interface in org.apache.chemistry.opencmis.client.api">Policy</a>> policies, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> addAces, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> removeAces)</code> |
| <div class="block">If this is a PWC (private working copy) it performs a check in.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#checkOut()">checkOut</a></strong>()</code> |
| <div class="block">Checks out the document and returns the object ID of the PWC (private |
| working copy).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#copy(org.apache.chemistry.opencmis.client.api.ObjectId)">copy</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> targetFolderId)</code> |
| <div class="block">Creates a copy of this document, including content.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#copy(org.apache.chemistry.opencmis.client.api.ObjectId, java.util.Map, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, java.util.List, java.util.List, org.apache.chemistry.opencmis.client.api.OperationContext)">copy</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> targetFolderId, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?> properties, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/enums/VersioningState.html" title="enum in org.apache.chemistry.opencmis.commons.enums">VersioningState</a> versioningState, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Policy.html" title="interface in org.apache.chemistry.opencmis.client.api">Policy</a>> policies, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> addAces, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> removeAces, |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api">OperationContext</a> context)</code> |
| <div class="block">Creates a copy of this document, including content.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#copyViaClient(org.apache.chemistry.opencmis.client.api.ObjectId, java.util.Map, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, java.util.List, java.util.List)">copyViaClient</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> targetFolderId, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?> properties, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/enums/VersioningState.html" title="enum in org.apache.chemistry.opencmis.commons.enums">VersioningState</a> versioningState, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Policy.html" title="interface in org.apache.chemistry.opencmis.client.api">Policy</a>> policies, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> addAces, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> removeAces)</code> |
| <div class="block">Copies the document manually.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#deleteAllVersions()">deleteAllVersions</a></strong>()</code> |
| <div class="block">Deletes this document and all its versions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#deleteContentStream()">deleteContentStream</a></strong>()</code> |
| <div class="block">Removes the current content stream from the document and refreshes this |
| object afterwards.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#deleteContentStream(boolean)">deleteContentStream</a></strong>(boolean refresh)</code> |
| <div class="block">Removes the current content stream from the document.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getAllVersions()">getAllVersions</a></strong>()</code> |
| <div class="block">Fetches all versions of this document.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getAllVersions(org.apache.chemistry.opencmis.client.api.OperationContext)">getAllVersions</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api">OperationContext</a> context)</code> |
| <div class="block">Fetches all versions of this document using the given |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api"><code>OperationContext</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getCheckinComment()">getCheckinComment</a></strong>()</code> |
| <div class="block">Returns the checkin comment (CMIS property <code>cmis:checkinComment</code>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStream()">getContentStream</a></strong>()</code> |
| <div class="block">Retrieves the content stream of this document.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStream(java.math.BigInteger, java.math.BigInteger)">getContentStream</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> offset, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> length)</code> |
| <div class="block">Retrieves the content stream of this document.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStream(java.lang.String)">getContentStream</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId)</code> |
| <div class="block">Retrieves the content stream that is associated with the given stream ID.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStream(java.lang.String, java.math.BigInteger, java.math.BigInteger)">getContentStream</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> offset, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> length)</code> |
| <div class="block">Retrieves the content stream that is associated with the given stream ID.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStreamFileName()">getContentStreamFileName</a></strong>()</code> |
| <div class="block">Returns the content stream filename or <code>null</code> if the document has |
| no content (CMIS property <code>cmis:contentStreamFileName</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStreamHash.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStreamHash</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStreamHashes()">getContentStreamHashes</a></strong>()</code> |
| <div class="block">Returns the content hashes or <code>null</code> if the document has no content |
| (CMIS property <code>cmis:contentStreamHash</code>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStreamId()">getContentStreamId</a></strong>()</code> |
| <div class="block">Returns the content stream ID or <code>null</code> if the document has no |
| content (CMIS property <code>cmis:contentStreamId</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStreamLength()">getContentStreamLength</a></strong>()</code> |
| <div class="block">Returns the content stream length or -1 if the document has no content |
| (CMIS property <code>cmis:contentStreamLength</code>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getContentStreamMimeType()">getContentStreamMimeType</a></strong>()</code> |
| <div class="block">Returns the content stream MIME type or <code>null</code> if the document has |
| no content (CMIS property <code>cmis:contentStreamMimeType</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getObjectOfLatestVersion(boolean)">getObjectOfLatestVersion</a></strong>(boolean major)</code> |
| <div class="block">Fetches the latest major or minor version of this document.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getObjectOfLatestVersion(boolean, org.apache.chemistry.opencmis.client.api.OperationContext)">getObjectOfLatestVersion</a></strong>(boolean major, |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api">OperationContext</a> context)</code> |
| <div class="block">Fetches the latest major or minor version of this document using the |
| given <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api"><code>OperationContext</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getVersionLabel()">getVersionLabel</a></strong>()</code> |
| <div class="block">Returns the version label (CMIS property <code>cmis:versionLabel</code>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getVersionSeriesCheckedOutBy()">getVersionSeriesCheckedOutBy</a></strong>()</code> |
| <div class="block">Returns the user who checked out this version series (CMIS property |
| <code>cmis:versionSeriesCheckedOutBy</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getVersionSeriesCheckedOutId()">getVersionSeriesCheckedOutId</a></strong>()</code> |
| <div class="block">Returns the PWC ID of this version series (CMIS property |
| <code>cmis:versionSeriesCheckedOutId</code>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#getVersionSeriesId()">getVersionSeriesId</a></strong>()</code> |
| <div class="block">Returns the version series ID (CMIS property <code>cmis:versionSeriesId</code> |
| ).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#isImmutable()">isImmutable</a></strong>()</code> |
| <div class="block">Returns <code>true</code> if this document is immutable (CMIS property |
| <code>cmis:isImmutable</code>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#isLatestMajorVersion()">isLatestMajorVersion</a></strong>()</code> |
| <div class="block">Returns <code>true</code> if this document is the latest major version (CMIS |
| property <code>cmis:isLatestMajorVersion</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#isLatestVersion()">isLatestVersion</a></strong>()</code> |
| <div class="block">Returns <code>true</code> if this document is the latest version (CMIS |
| property <code>cmis:isLatestVersion</code>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#isMajorVersion()">isMajorVersion</a></strong>()</code> |
| <div class="block">Returns <code>true</code> if this document is a major version (CMIS property |
| <code>cmis:isMajorVersion</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#isPrivateWorkingCopy()">isPrivateWorkingCopy</a></strong>()</code> |
| <div class="block">Returns <code>true</code> if this document is the PWC (CMIS property |
| <code>cmis:isPrivateWorkingCopy</code>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#isVersionSeriesCheckedOut()">isVersionSeriesCheckedOut</a></strong>()</code> |
| <div class="block">Returns <code>true</code> if this version series is checked out (CMIS property |
| <code>cmis:isVersionSeriesCheckedOut</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean)">setContentStream</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| boolean overwrite)</code> |
| <div class="block">Sets a new content stream for the document and refreshes this object |
| afterwards.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html#setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean, boolean)">setContentStream</a></strong>(<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| boolean overwrite, |
| boolean refresh)</code> |
| <div class="block">Sets a new content stream for the document.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.chemistry.opencmis.client.runtime.<a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html" title="class in org.apache.chemistry.opencmis.client.runtime">AbstractFilableCmisObject</a></h3> |
| <code><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html#addToFolder(org.apache.chemistry.opencmis.client.api.ObjectId, boolean)">addToFolder</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html#getParents()">getParents</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html#getParents(org.apache.chemistry.opencmis.client.api.OperationContext)">getParents</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html#getPaths()">getPaths</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html#move(org.apache.chemistry.opencmis.client.api.ObjectId, org.apache.chemistry.opencmis.client.api.ObjectId)">move</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html#move(org.apache.chemistry.opencmis.client.api.ObjectId, org.apache.chemistry.opencmis.client.api.ObjectId, org.apache.chemistry.opencmis.client.api.OperationContext)">move</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractFilableCmisObject.html#removeFromFolder(org.apache.chemistry.opencmis.client.api.ObjectId)">removeFromFolder</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.chemistry.opencmis.client.runtime.<a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html" title="class in org.apache.chemistry.opencmis.client.runtime">AbstractCmisObject</a></h3> |
| <code><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#addAcl(java.util.List, org.apache.chemistry.opencmis.commons.enums.AclPropagation)">addAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#applyAcl(java.util.List, java.util.List, org.apache.chemistry.opencmis.commons.enums.AclPropagation)">applyAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#applyPolicy(org.apache.chemistry.opencmis.client.api.ObjectId...)">applyPolicy</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#delete()">delete</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#delete(boolean)">delete</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#findObjectType(java.lang.String)">findObjectType</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getAcl()">getAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getAcl(boolean)">getAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getAdapter(java.lang.Class)">getAdapter</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getAllowableActions()">getAllowableActions</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getBaseType()">getBaseType</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getBaseTypeId()">getBaseTypeId</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getBinding()">getBinding</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getChangeToken()">getChangeToken</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getCreatedBy()">getCreatedBy</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getCreationContext()">getCreationContext</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getCreationDate()">getCreationDate</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getDescription()">getDescription</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel)">getExtensions</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getId()">getId</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getLastModificationDate()">getLastModificationDate</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getLastModifiedBy()">getLastModifiedBy</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getName()">getName</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getObjectFactory()">getObjectFactory</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getObjectId()">getObjectId</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getObjectType()">getObjectType</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getPolicies()">getPolicies</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getProperties()">getProperties</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getProperty(java.lang.String)">getProperty</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getPropertyQueryName(java.lang.String)">getPropertyQueryName</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getPropertyValue(java.lang.String)">getPropertyValue</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getRefreshTimestamp()">getRefreshTimestamp</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getRelationships()">getRelationships</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getRenditions()">getRenditions</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getRepositoryId()">getRepositoryId</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getSecondaryTypes()">getSecondaryTypes</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getSession()">getSession</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#getType()">getType</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#initialize(org.apache.chemistry.opencmis.client.runtime.SessionImpl, org.apache.chemistry.opencmis.client.api.ObjectType, org.apache.chemistry.opencmis.commons.data.ObjectData, org.apache.chemistry.opencmis.client.api.OperationContext)">initialize</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#readLock()">readLock</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#readUnlock()">readUnlock</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#refresh()">refresh</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#refreshIfOld(long)">refreshIfOld</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#removeAcl(java.util.List, org.apache.chemistry.opencmis.commons.enums.AclPropagation)">removeAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#removePolicy(org.apache.chemistry.opencmis.client.api.ObjectId...)">removePolicy</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#rename(java.lang.String)">rename</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#rename(java.lang.String, boolean)">rename</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#setAcl(java.util.List)">setAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#toString()">toString</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#updateProperties(java.util.Map)">updateProperties</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#updateProperties(java.util.Map, boolean)">updateProperties</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#writeLock()">writeLock</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/AbstractCmisObject.html#writeUnlock()">writeUnlock</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.chemistry.opencmis.client.api.FileableCmisObject"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.chemistry.opencmis.client.api.<a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html" title="interface in org.apache.chemistry.opencmis.client.api">FileableCmisObject</a></h3> |
| <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html#addToFolder(org.apache.chemistry.opencmis.client.api.ObjectId, boolean)">addToFolder</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html#getParents()">getParents</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html#getParents(org.apache.chemistry.opencmis.client.api.OperationContext)">getParents</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html#getPaths()">getPaths</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html#move(org.apache.chemistry.opencmis.client.api.ObjectId, org.apache.chemistry.opencmis.client.api.ObjectId)">move</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html#move(org.apache.chemistry.opencmis.client.api.ObjectId, org.apache.chemistry.opencmis.client.api.ObjectId, org.apache.chemistry.opencmis.client.api.OperationContext)">move</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/FileableCmisObject.html#removeFromFolder(org.apache.chemistry.opencmis.client.api.ObjectId)">removeFromFolder</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.chemistry.opencmis.client.api.CmisObject"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.chemistry.opencmis.client.api.<a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html" title="interface in org.apache.chemistry.opencmis.client.api">CmisObject</a></h3> |
| <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#addAcl(java.util.List, org.apache.chemistry.opencmis.commons.enums.AclPropagation)">addAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#applyAcl(java.util.List, java.util.List, org.apache.chemistry.opencmis.commons.enums.AclPropagation)">applyAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#applyPolicy(org.apache.chemistry.opencmis.client.api.ObjectId...)">applyPolicy</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#delete()">delete</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#delete(boolean)">delete</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#getAcl()">getAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#getAdapter(java.lang.Class)">getAdapter</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#getAllowableActions()">getAllowableActions</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#getExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel)">getExtensions</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#getPolicies()">getPolicies</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#getRefreshTimestamp()">getRefreshTimestamp</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#getRelationships()">getRelationships</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#getRenditions()">getRenditions</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#refresh()">refresh</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#refreshIfOld(long)">refreshIfOld</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#removeAcl(java.util.List, org.apache.chemistry.opencmis.commons.enums.AclPropagation)">removeAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#removePolicy(org.apache.chemistry.opencmis.client.api.ObjectId...)">removePolicy</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#rename(java.lang.String)">rename</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#rename(java.lang.String, boolean)">rename</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#setAcl(java.util.List)">setAcl</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#updateProperties(java.util.Map)">updateProperties</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObject.html#updateProperties(java.util.Map, boolean)">updateProperties</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.chemistry.opencmis.client.api.ObjectId"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.chemistry.opencmis.client.api.<a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a></h3> |
| <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html#getId()">getId</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.chemistry.opencmis.client.api.CmisObjectProperties"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.chemistry.opencmis.client.api.<a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">CmisObjectProperties</a></h3> |
| <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#findObjectType(java.lang.String)">findObjectType</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getBaseType()">getBaseType</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getBaseTypeId()">getBaseTypeId</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getChangeToken()">getChangeToken</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getCreatedBy()">getCreatedBy</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getCreationDate()">getCreationDate</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getDescription()">getDescription</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getLastModificationDate()">getLastModificationDate</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getLastModifiedBy()">getLastModifiedBy</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getName()">getName</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getProperties()">getProperties</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getProperty(java.lang.String)">getProperty</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getPropertyValue(java.lang.String)">getPropertyValue</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getSecondaryTypes()">getSecondaryTypes</a>, <a href="../../../../../../org/apache/chemistry/opencmis/client/api/CmisObjectProperties.html#getType()">getType</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DocumentImpl(org.apache.chemistry.opencmis.client.runtime.SessionImpl, org.apache.chemistry.opencmis.client.api.ObjectType, org.apache.chemistry.opencmis.commons.data.ObjectData, org.apache.chemistry.opencmis.client.api.OperationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DocumentImpl</h4> |
| <pre>public DocumentImpl(<a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/SessionImpl.html" title="class in org.apache.chemistry.opencmis.client.runtime">SessionImpl</a> session, |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectType.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectType</a> objectType, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ObjectData.html" title="interface in org.apache.chemistry.opencmis.commons.data">ObjectData</a> objectData, |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api">OperationContext</a> context)</pre> |
| <div class="block">Constructor.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getCheckinComment()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCheckinComment</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCheckinComment()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getCheckinComment()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the checkin comment (CMIS property <code>cmis:checkinComment</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getCheckinComment()">getCheckinComment</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the checkin comment of this version or <code>null</code> if the |
| property hasn't been requested, hasn't been provided by the |
| repository, or the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="getVersionLabel()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVersionLabel</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getVersionLabel()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getVersionLabel()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the version label (CMIS property <code>cmis:versionLabel</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getVersionLabel()">getVersionLabel</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the version label of the document or <code>null</code> if the property |
| hasn't been requested, hasn't been provided by the repository, or |
| the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="getVersionSeriesId()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVersionSeriesId</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getVersionSeriesId()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getVersionSeriesId()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the version series ID (CMIS property <code>cmis:versionSeriesId</code> |
| ).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getVersionSeriesId()">getVersionSeriesId</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the version series ID of the document or <code>null</code> if the |
| property hasn't been requested, hasn't been provided by the |
| repository, or the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="getVersionSeriesCheckedOutId()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVersionSeriesCheckedOutId</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getVersionSeriesCheckedOutId()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getVersionSeriesCheckedOutId()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the PWC ID of this version series (CMIS property |
| <code>cmis:versionSeriesCheckedOutId</code>). |
| <p> |
| Some repositories provided this value only to the user who checked out |
| the version series.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getVersionSeriesCheckedOutId()">getVersionSeriesCheckedOutId</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the PWC ID of this version series or <code>null</code> if the property |
| hasn't been requested, hasn't been provided by the repository, or |
| the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="getVersionSeriesCheckedOutBy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVersionSeriesCheckedOutBy</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getVersionSeriesCheckedOutBy()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getVersionSeriesCheckedOutBy()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the user who checked out this version series (CMIS property |
| <code>cmis:versionSeriesCheckedOutBy</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getVersionSeriesCheckedOutBy()">getVersionSeriesCheckedOutBy</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the user who checked out this version series or <code>null</code> if |
| the property hasn't been requested, hasn't been provided by the |
| repository, or the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="isImmutable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isImmutable</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isImmutable()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isImmutable()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns <code>true</code> if this document is immutable (CMIS property |
| <code>cmis:isImmutable</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isImmutable()">isImmutable</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the immutable flag of the document or <code>null</code> if the |
| property hasn't been requested, hasn't been provided by the |
| repository, or the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="isLatestMajorVersion()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLatestMajorVersion</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isLatestMajorVersion()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isLatestMajorVersion()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns <code>true</code> if this document is the latest major version (CMIS |
| property <code>cmis:isLatestMajorVersion</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isLatestMajorVersion()">isLatestMajorVersion</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the latest major version flag of the document or <code>null</code> if |
| the property hasn't been requested, hasn't been provided by the |
| repository, or the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="isLatestVersion()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLatestVersion</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isLatestVersion()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isLatestVersion()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns <code>true</code> if this document is the latest version (CMIS |
| property <code>cmis:isLatestVersion</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isLatestVersion()">isLatestVersion</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the latest version flag of the document or <code>null</code> if the |
| property hasn't been requested, hasn't been provided by the |
| repository, or the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="isMajorVersion()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isMajorVersion</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isMajorVersion()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isMajorVersion()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns <code>true</code> if this document is a major version (CMIS property |
| <code>cmis:isMajorVersion</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isMajorVersion()">isMajorVersion</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the major version flag of the document or <code>null</code> if the |
| property hasn't been requested, hasn't been provided by the |
| repository, or the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="isPrivateWorkingCopy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isPrivateWorkingCopy</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isPrivateWorkingCopy()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isPrivateWorkingCopy()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns <code>true</code> if this document is the PWC (CMIS property |
| <code>cmis:isPrivateWorkingCopy</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isPrivateWorkingCopy()">isPrivateWorkingCopy</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the PWC flag of the document or <code>null</code> if the property |
| hasn't been requested, hasn't been provided by the repository, or |
| the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="isVersionSeriesCheckedOut()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isVersionSeriesCheckedOut</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isVersionSeriesCheckedOut()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isVersionSeriesCheckedOut()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns <code>true</code> if this version series is checked out (CMIS property |
| <code>cmis:isVersionSeriesCheckedOut</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#isVersionSeriesCheckedOut()">isVersionSeriesCheckedOut</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the version series checked out flag of the document or |
| <code>null</code> if the property hasn't been requested, hasn't been |
| provided by the repository, or the property value isn't set</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStreamLength()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStreamLength</h4> |
| <pre>public long getContentStreamLength()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamLength()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the content stream length or -1 if the document has no content |
| (CMIS property <code>cmis:contentStreamLength</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamLength()">getContentStreamLength</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content stream length of this document or -1 if the property |
| hasn't been requested, hasn't been provided by the repository, or |
| the document has no content</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStreamMimeType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStreamMimeType</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getContentStreamMimeType()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamMimeType()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the content stream MIME type or <code>null</code> if the document has |
| no content (CMIS property <code>cmis:contentStreamMimeType</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamMimeType()">getContentStreamMimeType</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content stream MIME type of this document or <code>null</code> if |
| the property hasn't been requested, hasn't been provided by the |
| repository, or the document has no content</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStreamFileName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStreamFileName</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getContentStreamFileName()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamFileName()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the content stream filename or <code>null</code> if the document has |
| no content (CMIS property <code>cmis:contentStreamFileName</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamFileName()">getContentStreamFileName</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content stream filename of this document or <code>null</code> if |
| the property hasn't been requested, hasn't been provided by the |
| repository, or the document has no content</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStreamId()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStreamId</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getContentStreamId()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamId()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the content stream ID or <code>null</code> if the document has no |
| content (CMIS property <code>cmis:contentStreamId</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamId()">getContentStreamId</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content stream ID of this document or <code>null</code> if the |
| property hasn't been requested, hasn't been provided by the |
| repository, or the document has no content</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStreamHashes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStreamHashes</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStreamHash.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStreamHash</a>> getContentStreamHashes()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamHashes()">DocumentProperties</a></code></strong></div> |
| <div class="block">Returns the content hashes or <code>null</code> if the document has no content |
| (CMIS property <code>cmis:contentStreamHash</code>).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html#getContentStreamHashes()">getContentStreamHashes</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/DocumentProperties.html" title="interface in org.apache.chemistry.opencmis.client.api">DocumentProperties</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the list of content hashes or <code>null</code> if the property hasn't |
| been requested, hasn't been provided by the repository, or the |
| document has no content</dd></dl> |
| </li> |
| </ul> |
| <a name="copy(org.apache.chemistry.opencmis.client.api.ObjectId, java.util.Map, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, java.util.List, java.util.List, org.apache.chemistry.opencmis.client.api.OperationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a> copy(<a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> targetFolderId, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?> properties, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/enums/VersioningState.html" title="enum in org.apache.chemistry.opencmis.commons.enums">VersioningState</a> versioningState, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Policy.html" title="interface in org.apache.chemistry.opencmis.client.api">Policy</a>> policies, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> addAces, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> removeAces, |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api">OperationContext</a> context)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#copy(org.apache.chemistry.opencmis.client.api.ObjectId, java.util.Map, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, java.util.List, java.util.List, org.apache.chemistry.opencmis.client.api.OperationContext)">Document</a></code></strong></div> |
| <div class="block">Creates a copy of this document, including content.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#copy(org.apache.chemistry.opencmis.client.api.ObjectId, java.util.Map, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, java.util.List, java.util.List, org.apache.chemistry.opencmis.client.api.OperationContext)">copy</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>targetFolderId</code> - the ID of the target folder, <code>null</code> to create an unfiled |
| document</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the new document object or <code>null</code> if the parameter |
| <code>context</code> was set to <code>null</code></dd></dl> |
| </li> |
| </ul> |
| <a name="copy(org.apache.chemistry.opencmis.client.api.ObjectId)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a> copy(<a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> targetFolderId)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#copy(org.apache.chemistry.opencmis.client.api.ObjectId)">Document</a></code></strong></div> |
| <div class="block">Creates a copy of this document, including content.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#copy(org.apache.chemistry.opencmis.client.api.ObjectId)">copy</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>targetFolderId</code> - the ID of the target folder, <code>null</code> to create an unfiled |
| document</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the new document object</dd></dl> |
| </li> |
| </ul> |
| <a name="copyViaClient(org.apache.chemistry.opencmis.client.api.ObjectId, java.util.Map, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, java.util.List, java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyViaClient</h4> |
| <pre>protected <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> copyViaClient(<a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> targetFolderId, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?> properties, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/enums/VersioningState.html" title="enum in org.apache.chemistry.opencmis.commons.enums">VersioningState</a> versioningState, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Policy.html" title="interface in org.apache.chemistry.opencmis.client.api">Policy</a>> policies, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> addAces, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> removeAces)</pre> |
| <div class="block">Copies the document manually. The content is streamed from the repository |
| and back.</div> |
| </li> |
| </ul> |
| <a name="deleteAllVersions()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteAllVersions</h4> |
| <pre>public void deleteAllVersions()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#deleteAllVersions()">Document</a></code></strong></div> |
| <div class="block">Deletes this document and all its versions.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#deleteAllVersions()">deleteAllVersions</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkOut()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkOut</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> checkOut()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#checkOut()">Document</a></code></strong></div> |
| <div class="block">Checks out the document and returns the object ID of the PWC (private |
| working copy).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#checkOut()">checkOut</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>PWC object ID</dd></dl> |
| </li> |
| </ul> |
| <a name="cancelCheckOut()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cancelCheckOut</h4> |
| <pre>public void cancelCheckOut()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#cancelCheckOut()">Document</a></code></strong></div> |
| <div class="block">If this is a PWC (private working copy) the check out will be reversed. |
| If this is not a PWC it an exception will be thrown.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#cancelCheckOut()">cancelCheckOut</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkIn(boolean, java.util.Map, org.apache.chemistry.opencmis.commons.data.ContentStream, java.lang.String, java.util.List, java.util.List, java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkIn</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> checkIn(boolean major, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?> properties, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> checkinComment, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Policy.html" title="interface in org.apache.chemistry.opencmis.client.api">Policy</a>> policies, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> addAces, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/Ace.html" title="interface in org.apache.chemistry.opencmis.commons.data">Ace</a>> removeAces)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#checkIn(boolean, java.util.Map, org.apache.chemistry.opencmis.commons.data.ContentStream, java.lang.String, java.util.List, java.util.List, java.util.List)">Document</a></code></strong></div> |
| <div class="block">If this is a PWC (private working copy) it performs a check in. If this |
| is not a PWC it an exception will be thrown. |
| |
| The stream in <code>contentStream</code> is consumed but not closed by this |
| method.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#checkIn(boolean, java.util.Map, org.apache.chemistry.opencmis.commons.data.ContentStream, java.lang.String, java.util.List, java.util.List, java.util.List)">checkIn</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>new document ID</dd></dl> |
| </li> |
| </ul> |
| <a name="getAllVersions()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllVersions</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a>> getAllVersions()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getAllVersions()">Document</a></code></strong></div> |
| <div class="block">Fetches all versions of this document. |
| <p> |
| The behavior of this method is undefined if the document is not |
| versionable and can be different for each repository.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getAllVersions()">getAllVersions</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>all versions of the version series, sorted by |
| <code>cmis:creationDate</code> descending and preceded by the PWC, if |
| one exists, not <code>null</code></dd></dl> |
| </li> |
| </ul> |
| <a name="getAllVersions(org.apache.chemistry.opencmis.client.api.OperationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllVersions</h4> |
| <pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a>> getAllVersions(<a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api">OperationContext</a> context)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getAllVersions(org.apache.chemistry.opencmis.client.api.OperationContext)">Document</a></code></strong></div> |
| <div class="block">Fetches all versions of this document using the given |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api"><code>OperationContext</code></a>. |
| <p> |
| The behavior of this method is undefined if the document is not |
| versionable and can be different for each repository.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getAllVersions(org.apache.chemistry.opencmis.client.api.OperationContext)">getAllVersions</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>all versions of the version series, sorted by |
| <code>cmis:creationDate</code> descending and preceded by the PWC, if |
| one exists, not <code>null</code></dd></dl> |
| </li> |
| </ul> |
| <a name="getObjectOfLatestVersion(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getObjectOfLatestVersion</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a> getObjectOfLatestVersion(boolean major)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getObjectOfLatestVersion(boolean)">Document</a></code></strong></div> |
| <div class="block">Fetches the latest major or minor version of this document.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getObjectOfLatestVersion(boolean)">getObjectOfLatestVersion</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>major</code> - if <code>true</code> the latest major version will be returned, |
| otherwise the very last version will be returned</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the latest document object</dd></dl> |
| </li> |
| </ul> |
| <a name="getObjectOfLatestVersion(boolean, org.apache.chemistry.opencmis.client.api.OperationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getObjectOfLatestVersion</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a> getObjectOfLatestVersion(boolean major, |
| <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api">OperationContext</a> context)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getObjectOfLatestVersion(boolean, org.apache.chemistry.opencmis.client.api.OperationContext)">Document</a></code></strong></div> |
| <div class="block">Fetches the latest major or minor version of this document using the |
| given <a href="../../../../../../org/apache/chemistry/opencmis/client/api/OperationContext.html" title="interface in org.apache.chemistry.opencmis.client.api"><code>OperationContext</code></a>.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getObjectOfLatestVersion(boolean, org.apache.chemistry.opencmis.client.api.OperationContext)">getObjectOfLatestVersion</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>major</code> - if <code>true</code> the latest major version will be returned, |
| otherwise the very last version will be returned</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the latest document object</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStream()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> getContentStream()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getContentStream()">Document</a></code></strong></div> |
| <div class="block">Retrieves the content stream of this document.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getContentStream()">getContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content stream, or <code>null</code> if the document has no |
| content</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStream(java.math.BigInteger, java.math.BigInteger)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> getContentStream(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> offset, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> length)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getContentStream(java.math.BigInteger, java.math.BigInteger)">Document</a></code></strong></div> |
| <div class="block">Retrieves the content stream of this document.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getContentStream(java.math.BigInteger, java.math.BigInteger)">getContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>offset</code> - the offset of the stream or <code>null</code> to read the stream |
| from the beginning</dd><dd><code>length</code> - the maximum length of the stream or <code>null</code> to read to |
| the end of the stream</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content stream, or <code>null</code> if the document has no |
| content</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStream(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> getContentStream(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getContentStream(java.lang.String)">Document</a></code></strong></div> |
| <div class="block">Retrieves the content stream that is associated with the given stream ID. |
| This is usually a rendition of the document.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getContentStream(java.lang.String)">getContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>streamId</code> - the stream ID</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content stream, or <code>null</code> if no content is associated |
| with this stream ID</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentStream(java.lang.String, java.math.BigInteger, java.math.BigInteger)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> getContentStream(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> offset, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> length)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getContentStream(java.lang.String, java.math.BigInteger, java.math.BigInteger)">Document</a></code></strong></div> |
| <div class="block">Retrieves the content stream that is associated with the given stream ID. |
| This is usually a rendition of the document.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#getContentStream(java.lang.String, java.math.BigInteger, java.math.BigInteger)">getContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>streamId</code> - the stream ID</dd><dd><code>offset</code> - the offset of the stream or <code>null</code> to read the stream |
| from the beginning</dd><dd><code>length</code> - the maximum length of the stream or <code>null</code> to read to |
| the end of the stream</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content stream, or <code>null</code> if no content is associated |
| with this stream ID</dd></dl> |
| </li> |
| </ul> |
| <a name="setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a> setContentStream(<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| boolean overwrite)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean)">Document</a></code></strong></div> |
| <div class="block">Sets a new content stream for the document and refreshes this object |
| afterwards. If the repository created a new version, this new document is |
| returned. Otherwise the current document is returned. |
| <p> |
| The stream in <code>contentStream</code> is consumed but not closed by this |
| method.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean)">setContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>contentStream</code> - the content stream</dd><dd><code>overwrite</code> - if this parameter is set to <code>false</code> and the document |
| already has content, the repository throws a |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/exceptions/CmisContentAlreadyExistsException.html" title="class in org.apache.chemistry.opencmis.commons.exceptions"><code>CmisContentAlreadyExistsException</code></a></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the updated document, or <code>null</code> if the repository did not |
| return an object ID</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectFactory.html#createContentStream(java.lang.String, long, java.lang.String, java.io.InputStream)"><code>ObjectFactory.createContentStream(String, long, String, |
| java.io.InputStream)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> setContentStream(<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| boolean overwrite, |
| boolean refresh)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean, boolean)">Document</a></code></strong></div> |
| <div class="block">Sets a new content stream for the document. If the repository created a |
| new version, the object ID of this new version is returned. Otherwise the |
| object ID of the current document is returned. |
| <p> |
| The stream in <code>contentStream</code> is consumed but not closed by this |
| method.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean, boolean)">setContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>contentStream</code> - the content stream</dd><dd><code>overwrite</code> - if this parameter is set to <code>false</code> and the document |
| already has content, the repository throws a |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/exceptions/CmisContentAlreadyExistsException.html" title="class in org.apache.chemistry.opencmis.commons.exceptions"><code>CmisContentAlreadyExistsException</code></a></dd><dd><code>refresh</code> - if this parameter is set to <code>true</code>, this object will be |
| refreshed after the new content has been set</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the updated object ID, or <code>null</code> if the repository did not |
| return an object ID</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectFactory.html#createContentStream(java.lang.String, long, java.lang.String, java.io.InputStream)"><code>ObjectFactory.createContentStream(String, long, String, |
| java.io.InputStream)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a> appendContentStream(<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| boolean isLastChunk)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean)">Document</a></code></strong></div> |
| <div class="block">Appends a content stream to the content stream of the document and |
| refreshes this object afterwards. If the repository created a new |
| version, this new document is returned. Otherwise the current document is |
| returned. |
| <p> |
| The stream in <code>contentStream</code> is consumed but not closed by this |
| method.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean)">appendContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>contentStream</code> - the content stream</dd><dd><code>isLastChunk</code> - indicates if this stream is the last chunk of the content</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the updated document, or <code>null</code> if the repository did not |
| return an object ID</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectFactory.html#createContentStream(java.lang.String, long, java.lang.String, java.io.InputStream)"><code>ObjectFactory.createContentStream(String, long, String, |
| java.io.InputStream)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> appendContentStream(<a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| boolean isLastChunk, |
| boolean refresh)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean, boolean)">Document</a></code></strong></div> |
| <div class="block">Appends a content stream to the content stream of the document. If the |
| repository created a new version, the object ID of this new version is |
| returned. Otherwise the object ID of the current document is returned. |
| <p> |
| The stream in <code>contentStream</code> is consumed but not closed by this |
| method.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream, boolean, boolean)">appendContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>contentStream</code> - the content stream</dd><dd><code>isLastChunk</code> - indicates if this stream is the last chunk of the content</dd><dd><code>refresh</code> - if this parameter is set to <code>true</code>, this object will be |
| refreshed after the content stream has been appended</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the updated object ID, or <code>null</code> if the repository did not |
| return an object ID</dd></dl> |
| </li> |
| </ul> |
| <a name="deleteContentStream()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a> deleteContentStream()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#deleteContentStream()">Document</a></code></strong></div> |
| <div class="block">Removes the current content stream from the document and refreshes this |
| object afterwards. If the repository created a new version, this new |
| document is returned. Otherwise the current document is returned.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#deleteContentStream()">deleteContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the updated document, or <code>null</code> if the repository did not |
| return an object ID</dd></dl> |
| </li> |
| </ul> |
| <a name="deleteContentStream(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteContentStream</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> deleteContentStream(boolean refresh)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#deleteContentStream(boolean)">Document</a></code></strong></div> |
| <div class="block">Removes the current content stream from the document. If the repository |
| created a new version, the object ID of this new version is returned. |
| Otherwise the object ID of the current document is returned.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#deleteContentStream(boolean)">deleteContentStream</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>refresh</code> - if this parameter is set to <code>true</code>, this object will be |
| refreshed after the content stream has been deleted</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the updated document, or <code>null</code> if the repository did not |
| return an object ID</dd></dl> |
| </li> |
| </ul> |
| <a name="checkIn(boolean, java.util.Map, org.apache.chemistry.opencmis.commons.data.ContentStream, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>checkIn</h4> |
| <pre>public <a href="../../../../../../org/apache/chemistry/opencmis/client/api/ObjectId.html" title="interface in org.apache.chemistry.opencmis.client.api">ObjectId</a> checkIn(boolean major, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?> properties, |
| <a href="../../../../../../org/apache/chemistry/opencmis/commons/data/ContentStream.html" title="interface in org.apache.chemistry.opencmis.commons.data">ContentStream</a> contentStream, |
| <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> checkinComment)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#checkIn(boolean, java.util.Map, org.apache.chemistry.opencmis.commons.data.ContentStream, java.lang.String)">Document</a></code></strong></div> |
| <div class="block">If this is a PWC (private working copy) it performs a check in. If this |
| is not a PWC it an exception will be thrown. |
| |
| The stream in <code>contentStream</code> is consumed but not closed by this |
| method.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html#checkIn(boolean, java.util.Map, org.apache.chemistry.opencmis.commons.data.ContentStream, java.lang.String)">checkIn</a></code> in interface <code><a href="../../../../../../org/apache/chemistry/opencmis/client/api/Document.html" title="interface in org.apache.chemistry.opencmis.client.api">Document</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>new document ID</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DocumentImpl.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/CmisBindingHelper.html" title="class in org.apache.chemistry.opencmis.client.runtime"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/apache/chemistry/opencmis/client/runtime/FolderImpl.html" title="class in org.apache.chemistry.opencmis.client.runtime"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/chemistry/opencmis/client/runtime/DocumentImpl.html" target="_top">Frames</a></li> |
| <li><a href="DocumentImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2009-2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |