org.apache.chemistry.opencmis.client.api
Interface TransientDocument
- All Superinterfaces:
- CmisObjectProperties, DocumentProperties, ObjectId, TransientCmisObject, TransientFileableCmisObject
public interface TransientDocument
- extends TransientFileableCmisObject, DocumentProperties
Method Summary |
ObjectId |
checkIn(boolean major,
java.lang.String checkinComment)
|
Document |
copy(ObjectId targetFolderId)
|
Document |
copy(ObjectId targetFolderId,
java.util.Map<java.lang.String,?> properties,
VersioningState versioningState,
java.util.List<Policy> policies,
java.util.List<Ace> addACEs,
java.util.List<Ace> removeACEs,
OperationContext context)
|
void |
deleteAllVersions()
|
void |
deleteContentStream()
|
java.util.List<Document> |
getAllVersions()
|
java.util.List<Document> |
getAllVersions(OperationContext context)
|
ContentStream |
getContentStream()
|
ContentStream |
getContentStream(java.lang.String streamId)
|
Document |
getObjectOfLatestVersion(boolean major)
|
Document |
getObjectOfLatestVersion(boolean major,
OperationContext context)
|
void |
setContentStream(ContentStream contentStream,
boolean overwrite)
|
Methods inherited from interface org.apache.chemistry.opencmis.client.api.TransientCmisObject |
addAce, applyPolicy, delete, getAllowableActions, getCmisObject, getInputExtensions, getOriginalAcl, getOutputExtensions, getPolicies, getRelationships, getRenditions, isMarkedForDelete, isModified, refreshAndReset, removeAce, removePolicy, reset, save, setName, setOutputExtensions, setPropertyValue |
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId |
getId |
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties |
getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getType |
Methods inherited from interface org.apache.chemistry.opencmis.client.api.DocumentProperties |
getCheckinComment, getContentStreamFileName, getContentStreamId, getContentStreamLength, getContentStreamMimeType, getVersionLabel, getVersionSeriesCheckedOutBy, getVersionSeriesCheckedOutId, getVersionSeriesId, isImmutable, isLatestMajorVersion, isLatestVersion, isMajorVersion, isVersionSeriesCheckedOut |
deleteAllVersions
void deleteAllVersions()
getContentStream
ContentStream getContentStream()
getContentStream
ContentStream getContentStream(java.lang.String streamId)
setContentStream
void setContentStream(ContentStream contentStream,
boolean overwrite)
deleteContentStream
void deleteContentStream()
getObjectOfLatestVersion
Document getObjectOfLatestVersion(boolean major)
getObjectOfLatestVersion
Document getObjectOfLatestVersion(boolean major,
OperationContext context)
getAllVersions
java.util.List<Document> getAllVersions()
getAllVersions
java.util.List<Document> getAllVersions(OperationContext context)
copy
Document copy(ObjectId targetFolderId)
copy
Document copy(ObjectId targetFolderId,
java.util.Map<java.lang.String,?> properties,
VersioningState versioningState,
java.util.List<Policy> policies,
java.util.List<Ace> addACEs,
java.util.List<Ace> removeACEs,
OperationContext context)
checkIn
ObjectId checkIn(boolean major,
java.lang.String checkinComment)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.