public interface TransientDocument extends TransientFileableCmisObject, DocumentProperties
Modifier and Type | Method and Description |
---|---|
ObjectId |
checkIn(boolean major,
String checkinComment) |
Document |
copy(ObjectId targetFolderId) |
Document |
copy(ObjectId targetFolderId,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addACEs,
List<Ace> removeACEs,
OperationContext context) |
void |
deleteAllVersions() |
void |
deleteContentStream() |
List<Document> |
getAllVersions() |
List<Document> |
getAllVersions(OperationContext context) |
ContentStream |
getContentStream() |
ContentStream |
getContentStream(String streamId) |
Document |
getObjectOfLatestVersion(boolean major) |
Document |
getObjectOfLatestVersion(boolean major,
OperationContext context) |
void |
setContentStream(ContentStream contentStream,
boolean overwrite) |
addToFolder, getParents, getPaths, move, removeFromFolder
addAce, applyPolicy, delete, getAllowableActions, getCmisObject, getInputExtensions, getOriginalAcl, getOutputExtensions, getPolicies, getRelationships, getRenditions, isMarkedForDelete, isModified, refreshAndReset, removeAce, removePolicy, reset, save, setName, setOutputExtensions, setPropertyValue
getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getType
getCheckinComment, getContentStreamFileName, getContentStreamId, getContentStreamLength, getContentStreamMimeType, getVersionLabel, getVersionSeriesCheckedOutBy, getVersionSeriesCheckedOutId, getVersionSeriesId, isImmutable, isLatestMajorVersion, isLatestVersion, isMajorVersion, isVersionSeriesCheckedOut
void deleteAllVersions()
ContentStream getContentStream()
ContentStream getContentStream(String streamId)
void setContentStream(ContentStream contentStream, boolean overwrite)
void deleteContentStream()
Document getObjectOfLatestVersion(boolean major)
Document getObjectOfLatestVersion(boolean major, OperationContext context)
List<Document> getAllVersions(OperationContext context)
Document copy(ObjectId targetFolderId, Map<String,?> properties, VersioningState versioningState, List<Policy> policies, List<Ace> addACEs, List<Ace> removeACEs, OperationContext context)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.