public class NuxeoDocument extends NuxeoFileableObject implements org.apache.chemistry.opencmis.client.api.Document
data
Constructor and Description |
---|
NuxeoDocument(NuxeoSession session,
NuxeoObjectData data,
org.apache.chemistry.opencmis.client.api.ObjectType type) |
Modifier and Type | Method and Description |
---|---|
void |
cancelCheckOut() |
org.apache.chemistry.opencmis.client.api.ObjectId |
checkIn(boolean major,
Map<String,?> properties,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
String checkinComment) |
org.apache.chemistry.opencmis.client.api.ObjectId |
checkIn(boolean major,
Map<String,?> properties,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
String checkinComment,
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.ObjectId |
checkOut() |
NuxeoDocument |
copy(org.apache.chemistry.opencmis.client.api.ObjectId target) |
NuxeoDocument |
copy(org.apache.chemistry.opencmis.client.api.ObjectId target,
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() |
NuxeoDocument |
deleteContentStream() |
org.apache.chemistry.opencmis.client.api.ObjectId |
deleteContentStream(boolean refresh) |
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) |
org.apache.chemistry.opencmis.client.api.TransientDocument |
getTransientDocument() |
String |
getVersionLabel() |
String |
getVersionSeriesCheckedOutBy() |
String |
getVersionSeriesCheckedOutId() |
String |
getVersionSeriesId() |
Boolean |
isImmutable() |
Boolean |
isLatestMajorVersion() |
Boolean |
isLatestVersion() |
Boolean |
isMajorVersion() |
Boolean |
isVersionSeriesCheckedOut() |
org.apache.chemistry.opencmis.client.api.Document |
setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
boolean overwrite) |
org.apache.chemistry.opencmis.client.api.ObjectId |
setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
boolean overwrite,
boolean refresh) |
addToFolder, getParents, getParents, getPaths, move, move, removeFromFolder
addAcl, applyAcl, applyPolicy, construct, delete, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getPolicies, getProperties, getProperty, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getTransientObject, getType, refresh, refreshIfOld, removeAcl, removePolicy, updateProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToFolder, getParents, getParents, getPaths, move, move, removeFromFolder
addAcl, applyAcl, applyPolicy, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, updateProperties, updateProperties
public NuxeoDocument(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type)
public org.apache.chemistry.opencmis.client.api.TransientDocument getTransientDocument()
getTransientDocument
in interface org.apache.chemistry.opencmis.client.api.Document
public void cancelCheckOut()
cancelCheckOut
in interface org.apache.chemistry.opencmis.client.api.Document
public org.apache.chemistry.opencmis.client.api.ObjectId checkIn(boolean major, Map<String,?> properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String checkinComment)
checkIn
in interface org.apache.chemistry.opencmis.client.api.Document
public org.apache.chemistry.opencmis.client.api.ObjectId checkIn(boolean major, Map<String,?> properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String checkinComment, 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)
checkIn
in interface org.apache.chemistry.opencmis.client.api.Document
public org.apache.chemistry.opencmis.client.api.ObjectId checkOut()
checkOut
in interface org.apache.chemistry.opencmis.client.api.Document
public NuxeoDocument copy(org.apache.chemistry.opencmis.client.api.ObjectId target)
copy
in interface org.apache.chemistry.opencmis.client.api.Document
public NuxeoDocument copy(org.apache.chemistry.opencmis.client.api.ObjectId target, 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.Document
public void deleteAllVersions()
deleteAllVersions
in interface org.apache.chemistry.opencmis.client.api.Document
public NuxeoDocument deleteContentStream()
deleteContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
public org.apache.chemistry.opencmis.client.api.ObjectId deleteContentStream(boolean refresh)
deleteContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
public List<org.apache.chemistry.opencmis.client.api.Document> getAllVersions()
getAllVersions
in interface org.apache.chemistry.opencmis.client.api.Document
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.Document
public String getCheckinComment()
getCheckinComment
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream()
getContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(String streamId)
getContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
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 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 org.apache.chemistry.opencmis.client.api.Document getObjectOfLatestVersion(boolean major)
getObjectOfLatestVersion
in interface org.apache.chemistry.opencmis.client.api.Document
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.Document
public String getVersionLabel()
getVersionLabel
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 getVersionSeriesId()
getVersionSeriesId
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public Boolean isImmutable()
isImmutable
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public Boolean isLatestMajorVersion()
isLatestMajorVersion
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 isVersionSeriesCheckedOut()
isVersionSeriesCheckedOut
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public org.apache.chemistry.opencmis.client.api.Document setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean overwrite)
setContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
public org.apache.chemistry.opencmis.client.api.ObjectId setContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean overwrite, boolean refresh)
setContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
Copyright © 2011 Nuxeo SA. All Rights Reserved.