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,
List<String> policies,
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
|
void |
ObjectStore.deleteVersion(DocumentVersion version)
remove a version from the store (after a cancel check-out)
|
void |
ObjectStore.storeVersion(DocumentVersion version)
Persist a new version in the store (created from a check-out)
|
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,
List<String> policies,
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.deleteVersion(DocumentVersion version) |
void |
ObjectStoreImpl.storeVersion(DocumentVersion version) |
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.