Package | Description |
---|---|
org.apache.chemistry.opencmis.client.api |
The OpenCMIS Client API.
|
org.apache.chemistry.opencmis.client.util | |
org.apache.chemistry.opencmis.tck.impl | |
org.apache.chemistry.opencmis.tck.tests.crud | |
org.apache.chemistry.opencmis.tck.tests.query |
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 |
Document.copy(ObjectId targetFolderId)
Creates a copy of this document, including content.
|
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 |
Folder.createDocument(Map<String,?> properties,
ContentStream contentStream,
VersioningState versioningState)
Creates a new document in this folder.
|
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 |
Folder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState)
Creates a new document from a source document in this folder.
|
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 |
Session.getLatestDocumentVersion(ObjectId objectId)
Returns the latest version in a version series.
|
Document |
Session.getLatestDocumentVersion(ObjectId objectId,
boolean major,
OperationContext context)
Returns the latest version in a version series.
|
Document |
Session.getLatestDocumentVersion(ObjectId objectId,
OperationContext context)
Returns the latest version in a version series.
|
Document |
Session.getLatestDocumentVersion(String objectId)
/** Returns the latest version in a version series.
|
Document |
Session.getLatestDocumentVersion(String objectId,
boolean major,
OperationContext context)
Returns the latest version in a version series.
|
Document |
Session.getLatestDocumentVersion(String objectId,
OperationContext context)
Returns the latest version in a version series.
|
Document |
Document.getObjectOfLatestVersion(boolean major)
Fetches the latest major or minor version of this document.
|
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> |
Document.getAllVersions()
Fetches all versions of this document.
|
List<Document> |
Document.getAllVersions(OperationContext context)
Fetches all versions of this document using the given
OperationContext . |
ItemIterable<Document> |
Session.getCheckedOutDocs()
Returns all checked out documents.
|
ItemIterable<Document> |
Folder.getCheckedOutDocs()
Returns all checked out documents in this folder.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
OperationContextTest.runHighLevelApiTests(Session session,
Folder testFolder,
Document testDocument)
Checks for not requested properties, Allowable Actions, ACLs, renditions,
relationships, and policies.
|
void |
OperationContextTest.runLowLevelApiTests(Session session,
Folder testFolder,
Document testDocument)
Checks for change events and path segments.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryForObject.runDocumentQuery(Session session,
Document testDocument) |
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.