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, 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)
           
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.TransientFileableCmisObject
addToFolder, getParents, getPaths, move, removeFromFolder
 
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
 

Method Detail

deleteAllVersions

void deleteAllVersions()

getContentStream

ContentStream getContentStream()

getContentStream

ContentStream getContentStream(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

List<Document> getAllVersions()

getAllVersions

List<Document> getAllVersions(OperationContext context)

copy

Document copy(ObjectId targetFolderId)

copy

Document copy(ObjectId targetFolderId,
              Map<String,?> properties,
              VersioningState versioningState,
              List<Policy> policies,
              List<Ace> addACEs,
              List<Ace> removeACEs,
              OperationContext context)

checkIn

ObjectId checkIn(boolean major,
                 String checkinComment)


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.