Package | Description |
---|---|
org.apache.chemistry.opencmis.bridge | |
org.apache.chemistry.opencmis.client.api |
The OpenCMIS Client API.
|
org.apache.chemistry.opencmis.client.util | |
org.apache.chemistry.opencmis.commons.data |
OpenCMIS data interfaces.
|
org.apache.chemistry.opencmis.commons.impl.server | |
org.apache.chemistry.opencmis.commons.server |
OpenCMIS server interfaces.
|
org.apache.chemistry.opencmis.commons.spi |
OpenCMIS client and server binding services.
|
org.apache.chemistry.opencmis.server.support.wrapper | |
org.apache.chemistry.opencmis.tck.impl |
Modifier and Type | Method and Description |
---|---|
ContentStream |
FilterCmisService.getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
void |
FilterCmisService.appendContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ContentStream contentStream,
boolean isLastChunk,
ExtensionsData extension) |
void |
FilterCmisService.checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
FilterCmisService.create(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
ExtensionsData extension) |
String |
FilterCmisService.createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
void |
FilterCmisService.setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
ContentStream |
ObjectFactory.convertContentStream(ContentStream contentStream)
Converts a high level
ContentStream object into a low level
ContentStream object. |
ContentStream |
ObjectFactory.createContentStream(String filename,
long length,
String mimetype,
InputStream stream)
Creates an object that implements the
ContentStream interface. |
ContentStream |
ObjectFactory.createContentStream(String filename,
long length,
String mimetype,
InputStream stream,
boolean partial)
Creates an object that implements the
ContentStream interface. |
ContentStream |
Document.getContentStream()
Retrieves the content stream of this document.
|
ContentStream |
Rendition.getContentStream()
Returns the content stream of the rendition.
|
ContentStream |
Document.getContentStream(BigInteger offset,
BigInteger length)
Retrieves the content stream of this document.
|
ContentStream |
Session.getContentStream(ObjectId docId)
Retrieves the main content stream of a document.
|
ContentStream |
Session.getContentStream(ObjectId docId,
String streamId,
BigInteger offset,
BigInteger length)
Retrieves the content stream of a document.
|
ContentStream |
Document.getContentStream(String streamId)
Retrieves the content stream that is associated with the given stream ID.
|
ContentStream |
Document.getContentStream(String streamId,
BigInteger offset,
BigInteger length)
Retrieves the content stream that is associated with the given stream ID.
|
ContentStream |
Session.getContentStreamByPath(String path)
Retrieves the main content stream of a document.
|
ContentStream |
Session.getContentStreamByPath(String path,
String streamId,
BigInteger offset,
BigInteger length)
Retrieves the content stream of a document.
|
Modifier and Type | Method and Description |
---|---|
Future<ContentStream> |
AsyncSession.getContentStream(ObjectId docId)
Retrieves the main content stream of a document.
|
Future<ContentStream> |
AsyncSession.getContentStream(ObjectId docId,
String streamId,
BigInteger offset,
BigInteger length)
Retrieves the content stream of a document.
|
Future<ContentStream> |
AsyncSession.storeContentStream(ObjectId docId,
OutputStream target)
Reads the document content and writes it to an output stream.
|
Future<ContentStream> |
AsyncSession.storeContentStream(ObjectId docId,
String streamId,
BigInteger offset,
BigInteger length,
OutputStream target)
Reads the document content and writes it to an output stream.
|
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.
|
ObjectId |
Document.appendContentStream(ContentStream contentStream,
boolean isLastChunk,
boolean refresh)
Appends a content stream to the content stream of the document.
|
ObjectId |
Document.checkIn(boolean major,
Map<String,?> properties,
ContentStream contentStream,
String checkinComment)
If this is a PWC (private working copy) it performs a check in.
|
ObjectId |
Document.checkIn(boolean major,
Map<String,?> properties,
ContentStream contentStream,
String checkinComment,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
If this is a PWC (private working copy) it performs a check in.
|
ContentStream |
ObjectFactory.convertContentStream(ContentStream contentStream)
Converts a high level
ContentStream object into a low level
ContentStream object. |
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.
|
ObjectId |
Session.createDocument(Map<String,?> properties,
ObjectId folderId,
ContentStream contentStream,
VersioningState versioningState)
Creates a new document.
|
Future<ObjectId> |
AsyncSession.createDocument(Map<String,?> properties,
ObjectId folderId,
ContentStream contentStream,
VersioningState versioningState)
Creates a new document.
|
ObjectId |
Session.createDocument(Map<String,?> properties,
ObjectId folderId,
ContentStream contentStream,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new document.
|
Future<ObjectId> |
AsyncSession.createDocument(Map<String,?> properties,
ObjectId folderId,
ContentStream contentStream,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new document.
|
Document |
Document.setContentStream(ContentStream contentStream,
boolean overwrite)
Sets a new content stream for the document and refreshes this object
afterwards.
|
ObjectId |
Document.setContentStream(ContentStream contentStream,
boolean overwrite,
boolean refresh)
Sets a new content stream for the document.
|
Modifier and Type | Method and Description |
---|---|
static void |
ContentStreamUtils.writeContentStreamToFile(ContentStream contentStream,
File file)
Writes a content stream to a file.
|
static void |
ContentStreamUtils.writeContentStreamToOutputStream(ContentStream contentStream,
OutputStream outputStream)
Writes a content stream to an output stream.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CacheHeaderContentStream
Content stream with HTTP cache headers.
|
interface |
ContentLengthContentStream
Content stream that should not be chunked.
|
interface |
LastModifiedContentStream
Content stream with last modified date.
|
interface |
MutableContentStream
Mutable ContentStream.
|
interface |
PartialContentStream
Content stream that indicates that this stream may not represent the complete
document content.
|
interface |
RedirectingContentStream
Content stream redirecting to another location.
|
Modifier and Type | Method and Description |
---|---|
ContentStream |
AbstractCmisService.getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension)
Gets the content stream for the specified document object, or gets a
rendition stream for a specified rendition of a document or folder
object.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCmisService.appendContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ContentStream contentStream,
boolean isLastChunk,
ExtensionsData extension)
Appends the content stream to the content of the document.
|
void |
AbstractCmisService.checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
Checks-in the private working copy (PWC) document.
|
String |
AbstractCmisService.create(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
ExtensionsData extension)
Creates a new document, folder, policy, or item.
|
String |
AbstractCmisService.createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
Creates a document object of the specified type (given by the
cmis:objectTypeId property) in the (optionally) specified location.
|
void |
AbstractCmisService.setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension)
Sets the content stream for the specified document object.
|
Modifier and Type | Method and Description |
---|---|
String |
CmisService.create(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
ExtensionsData extension)
Creates a new document, folder, policy, or item.
|
Modifier and Type | Method and Description |
---|---|
ContentStream |
BindingsObjectFactory.createContentStream(String filename,
BigInteger length,
String mimetype,
InputStream stream) |
ContentStream |
ObjectService.getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension)
Gets the content stream for the specified document object, or gets a
rendition stream for a specified rendition of a document or folder
object.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectService.appendContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ContentStream contentStream,
boolean isLastChunk,
ExtensionsData extension)
Appends the content stream to the content of the document.
|
void |
VersioningService.checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
Checks-in the private working copy (PWC) document.
|
String |
ObjectService.createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
Creates a document object of the specified type (given by the
cmis:objectTypeId property) in the (optionally) specified location.
|
void |
ObjectService.setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension)
Sets the content stream for the specified document object.
|
Modifier and Type | Method and Description |
---|---|
ContentStream |
SimpleLoggingCmisServiceWrapper.getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension) |
ContentStream |
AbstractCmisServiceWrapper.getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension) |
ContentStream |
ConformanceCmisServiceWrapper.getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleLoggingCmisServiceWrapper.appendContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ContentStream contentStream,
boolean isLastChunk,
ExtensionsData extension) |
void |
AbstractCmisServiceWrapper.appendContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ContentStream contentStream,
boolean isLastChunk,
ExtensionsData extension) |
void |
ConformanceCmisServiceWrapper.appendContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ContentStream contentStream,
boolean isLastChunk,
ExtensionsData extension) |
protected void |
ConformanceCmisServiceWrapper.checkContentStream(ContentStream content)
Throws an exception if the given content object is
null . |
void |
SimpleLoggingCmisServiceWrapper.checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
void |
AbstractCmisServiceWrapper.checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
void |
ConformanceCmisServiceWrapper.checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
SimpleLoggingCmisServiceWrapper.create(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
ExtensionsData extension) |
String |
AbstractCmisServiceWrapper.create(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
ExtensionsData extension) |
String |
ConformanceCmisServiceWrapper.create(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
ExtensionsData extension) |
String |
SimpleLoggingCmisServiceWrapper.createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
AbstractCmisServiceWrapper.createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
ConformanceCmisServiceWrapper.createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
void |
SimpleLoggingCmisServiceWrapper.setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension) |
void |
AbstractCmisServiceWrapper.setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension) |
void |
ConformanceCmisServiceWrapper.setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
protected CmisTestResult |
AbstractSessionTest.assertEquals(ContentStream expected,
ContentStream actual,
CmisTestResult success,
CmisTestResult failure) |
protected String |
AbstractSessionTest.getStringFromContentStream(ContentStream contentStream) |
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.