Package | Description |
---|---|
org.apache.chemistry.opencmis.client.api |
The OpenCMIS Client API.
|
org.apache.chemistry.opencmis.client.util | |
org.apache.chemistry.opencmis.tck.impl |
Modifier and Type | Method and Description |
---|---|
Document |
Document.appendContentStream(ContentStream contentStream,
boolean isLastChunk)
Appends a content stream to the content stream of the document and
refreshes this object afterwards.
|
Document |
TransientDocument.copy(ObjectId targetFolderId)
Deprecated.
|
Document |
Document.copy(ObjectId targetFolderId)
Creates a copy of this document, including content.
|
Document |
TransientDocument.copy(ObjectId targetFolderId,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addACEs,
List<Ace> removeACEs,
OperationContext context)
Deprecated.
|
Document |
Document.copy(ObjectId targetFolderId,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addACEs,
List<Ace> removeACEs,
OperationContext context)
Creates a copy of this document, including content.
|
Document |
TransientFolder.createDocument(Map<String,?> properties,
ContentStream contentStream,
VersioningState versioningState)
Deprecated.
|
Document |
Folder.createDocument(Map<String,?> properties,
ContentStream contentStream,
VersioningState versioningState)
Creates a new document in this folder.
|
Document |
TransientFolder.createDocument(Map<String,?> properties,
ContentStream contentStream,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Deprecated.
|
Document |
Folder.createDocument(Map<String,?> properties,
ContentStream contentStream,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Creates a new document in this folder.
|
Document |
TransientFolder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState)
Deprecated.
|
Document |
Folder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState)
Creates a new document from a source document in this folder.
|
Document |
TransientFolder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Deprecated.
|
Document |
Folder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Creates a new document from a source document in this folder.
|
Document |
Document.deleteContentStream()
Removes the current content stream from the document and refreshes this
object afterwards.
|
Document |
TransientDocument.getObjectOfLatestVersion(boolean major)
Deprecated.
|
Document |
Document.getObjectOfLatestVersion(boolean major)
Fetches the latest major or minor version of this document.
|
Document |
TransientDocument.getObjectOfLatestVersion(boolean major,
OperationContext context)
Deprecated.
|
Document |
Document.getObjectOfLatestVersion(boolean major,
OperationContext context)
Fetches the latest major or minor version of this document using the
given
OperationContext . |
Document |
Rendition.getRenditionDocument()
Returns the rendition document if the rendition is a stand-alone
document.
|
Document |
Rendition.getRenditionDocument(OperationContext context)
Returns the rendition document using the provides
OperationContext if the rendition is a stand-alone document. |
Document |
Document.setContentStream(ContentStream contentStream,
boolean overwrite)
Sets a new content stream for the document and refreshes this object
afterwards.
|
Modifier and Type | Method and Description |
---|---|
List<Document> |
TransientDocument.getAllVersions()
Deprecated.
|
List<Document> |
Document.getAllVersions()
Fetches all versions of this document.
|
List<Document> |
TransientDocument.getAllVersions(OperationContext context)
Deprecated.
|
List<Document> |
Document.getAllVersions(OperationContext context)
Fetches all versions of this document using the given
OperationContext . |
ItemIterable<Document> |
TransientFolder.getCheckedOutDocs()
Deprecated.
|
ItemIterable<Document> |
Session.getCheckedOutDocs()
Returns all checked out documents.
|
ItemIterable<Document> |
Folder.getCheckedOutDocs()
Returns all checked out documents in this folder.
|
ItemIterable<Document> |
TransientFolder.getCheckedOutDocs(OperationContext context)
Deprecated.
|
ItemIterable<Document> |
Session.getCheckedOutDocs(OperationContext context)
Returns all checked out documents with the given
OperationContext
. |
ItemIterable<Document> |
Folder.getCheckedOutDocs(OperationContext context)
Returns all checked out documents in this folder using the given
OperationContext . |
Modifier and Type | Method and Description |
---|---|
static Document |
FileUtils.createDocumentFromFile(String parentIdOrPath,
File file,
String type,
VersioningState versioningState,
Session session)
Creates a document from a file.
|
static Document |
FileUtils.createTextDocument(String parentIdOrPath,
String name,
String content,
String type,
VersioningState versioningState,
Session session)
Creates a text document from a string.
|
Modifier and Type | Method and Description |
---|---|
static void |
FileUtils.download(Document doc,
String destinationPath)
Downloads the contentStream for the given doc to the specified path.
|
Modifier and Type | Method and Description |
---|---|
protected Document |
AbstractSessionTest.createDocument(Session session,
Folder parent,
String name,
String content)
Creates a document.
|
protected Document |
AbstractSessionTest.createDocument(Session session,
Folder parent,
String name,
String objectTypeId,
String[] secondaryTypeIds,
String content)
Creates a document.
|
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.