public class NuxeoTransientDocument extends NuxeoTransientFileableObject implements org.apache.chemistry.opencmis.client.api.TransientDocument
Constructor and Description |
---|
NuxeoTransientDocument(NuxeoObject object) |
Modifier and Type | Method and Description |
---|---|
org.apache.chemistry.opencmis.client.api.ObjectId |
checkIn(boolean major,
String checkinComment) |
org.apache.chemistry.opencmis.client.api.Document |
copy(org.apache.chemistry.opencmis.client.api.ObjectId targetFolderId) |
org.apache.chemistry.opencmis.client.api.Document |
copy(org.apache.chemistry.opencmis.client.api.ObjectId targetFolderId,
Map<String,?> properties,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addACEs,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeACEs,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
void |
deleteAllVersions() |
void |
deleteContentStream() |
List<org.apache.chemistry.opencmis.client.api.Document> |
getAllVersions() |
List<org.apache.chemistry.opencmis.client.api.Document> |
getAllVersions(org.apache.chemistry.opencmis.client.api.OperationContext context) |
String |
getCheckinComment() |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream() |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(String streamId) |
String |
getContentStreamFileName() |
String |
getContentStreamId() |
long |
getContentStreamLength() |
String |
getContentStreamMimeType() |
org.apache.chemistry.opencmis.client.api.Document |
getObjectOfLatestVersion(boolean major) |
org.apache.chemistry.opencmis.client.api.Document |
getObjectOfLatestVersion(boolean major,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
String |
getVersionLabel() |
String |
getVersionSeriesCheckedOutBy() |
String |
getVersionSeriesCheckedOutId() |
String |
getVersionSeriesId() |
Boolean |
isImmutable() |
Boolean |
isLatestMajorVersion() |
Boolean |
isLatestVersion() |
Boolean |
isMajorVersion() |
boolean |
isModified() |
Boolean |
isVersionSeriesCheckedOut() |
void |
reset() |
org.apache.chemistry.opencmis.client.api.ObjectId |
save() |
void |
setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
boolean overwrite) |
addToFolder, getParents, getPaths, move, removeFromFolder
addAce, applyPolicy, delete, getAllowableActions, getBaseType, getBaseTypeId, getChangeToken, getCmisObject, getCreatedBy, getCreationDate, getId, getInputExtensions, getLastModificationDate, getLastModifiedBy, getName, getOriginalAcl, getOutputExtensions, getPolicies, getProperties, getProperty, getPropertyValue, getRelationships, getRenditions, getType, isMarkedForDelete, refreshAndReset, removeAce, removePolicy, setName, setOutputExtensions, setPropertyValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToFolder, getParents, getPaths, move, removeFromFolder
addAce, applyPolicy, delete, getAllowableActions, getCmisObject, getInputExtensions, getOriginalAcl, getOutputExtensions, getPolicies, getRelationships, getRenditions, isMarkedForDelete, refreshAndReset, removeAce, removePolicy, setName, setOutputExtensions, setPropertyValue
public NuxeoTransientDocument(NuxeoObject object)
public boolean isModified()
isModified
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
isModified
in class NuxeoTransientObject
public void deleteAllVersions()
deleteAllVersions
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream()
getContentStream
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(String streamId)
getContentStream
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public void setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean overwrite)
setContentStream
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public void deleteContentStream()
deleteContentStream
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public org.apache.chemistry.opencmis.client.api.Document getObjectOfLatestVersion(boolean major)
getObjectOfLatestVersion
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public org.apache.chemistry.opencmis.client.api.Document getObjectOfLatestVersion(boolean major, org.apache.chemistry.opencmis.client.api.OperationContext context)
getObjectOfLatestVersion
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public List<org.apache.chemistry.opencmis.client.api.Document> getAllVersions()
getAllVersions
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public List<org.apache.chemistry.opencmis.client.api.Document> getAllVersions(org.apache.chemistry.opencmis.client.api.OperationContext context)
getAllVersions
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public org.apache.chemistry.opencmis.client.api.Document copy(org.apache.chemistry.opencmis.client.api.ObjectId targetFolderId)
copy
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public org.apache.chemistry.opencmis.client.api.Document copy(org.apache.chemistry.opencmis.client.api.ObjectId targetFolderId, Map<String,?> properties, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addACEs, List<org.apache.chemistry.opencmis.commons.data.Ace> removeACEs, org.apache.chemistry.opencmis.client.api.OperationContext context)
copy
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public Boolean isImmutable()
isImmutable
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public Boolean isLatestVersion()
isLatestVersion
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public Boolean isMajorVersion()
isMajorVersion
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public Boolean isLatestMajorVersion()
isLatestMajorVersion
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getVersionLabel()
getVersionLabel
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getVersionSeriesId()
getVersionSeriesId
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public Boolean isVersionSeriesCheckedOut()
isVersionSeriesCheckedOut
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getVersionSeriesCheckedOutBy()
getVersionSeriesCheckedOutBy
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getVersionSeriesCheckedOutId()
getVersionSeriesCheckedOutId
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getCheckinComment()
getCheckinComment
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public long getContentStreamLength()
getContentStreamLength
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getContentStreamMimeType()
getContentStreamMimeType
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getContentStreamFileName()
getContentStreamFileName
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getContentStreamId()
getContentStreamId
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public org.apache.chemistry.opencmis.client.api.ObjectId checkIn(boolean major, String checkinComment)
checkIn
in interface org.apache.chemistry.opencmis.client.api.TransientDocument
public org.apache.chemistry.opencmis.client.api.ObjectId save()
save
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
save
in class NuxeoTransientObject
public void reset()
reset
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
reset
in class NuxeoTransientObject
Copyright © 2011 Nuxeo SA. All Rights Reserved.