Package | Description |
---|---|
org.apache.chemistry.opencmis.inmemory.storedobj.api | |
org.apache.chemistry.opencmis.inmemory.storedobj.impl |
Modifier and Type | Method and Description |
---|---|
DocumentVersion |
VersionedDocument.addVersion(ContentStream content,
VersioningState verState,
String user) |
DocumentVersion |
VersionedDocument.checkOut(ContentStream content,
String user) |
DocumentVersion |
ObjectStore.createVersionedDocument(String name,
Map<String,PropertyData<?>> propMap,
String user,
Folder folder,
Acl addACEs,
Acl removeACEs,
ContentStream contentStream,
VersioningState versioningState)
Create a document that supports versions as initial step.
|
DocumentVersion |
VersionedDocument.getLatestVersion(boolean major) |
DocumentVersion |
VersionedDocument.getPwc() |
Modifier and Type | Method and Description |
---|---|
List<DocumentVersion> |
VersionedDocument.getAllVersions() |
Modifier and Type | Method and Description |
---|---|
boolean |
VersionedDocument.deleteVersion(DocumentVersion version)
delete a version from this object, throw exception if document is checked
out or document does not contain this version
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentVersionImpl
A class representing a single version of a document
|
Modifier and Type | Method and Description |
---|---|
DocumentVersion |
VersionedDocumentImpl.addVersion(ContentStream content,
VersioningState verState,
String user) |
DocumentVersion |
VersionedDocumentImpl.checkOut(ContentStream content,
String user) |
DocumentVersion |
ObjectStoreImpl.createVersionedDocument(String name,
Map<String,PropertyData<?>> propMap,
String user,
Folder folder,
Acl addACEs,
Acl removeACEs,
ContentStream contentStream,
VersioningState versioningState) |
DocumentVersion |
VersionedDocumentImpl.getLatestVersion(boolean major) |
DocumentVersion |
VersionedDocumentImpl.getPwc() |
Modifier and Type | Method and Description |
---|---|
List<DocumentVersion> |
VersionedDocumentImpl.getAllVersions() |
Modifier and Type | Method and Description |
---|---|
boolean |
VersionedDocumentImpl.deleteVersion(DocumentVersion version) |
void |
ObjectStoreImpl.removeVersion(DocumentVersion vers) |
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.