public class NuxeoDocument extends NuxeoFileableObject implements org.apache.chemistry.opencmis.client.api.Document
allTypes, data, nuxeoCmisService, objectFactory, secondaryTypes, service, session, type, UPDATABILITY_READWRITE
Constructor and Description |
---|
NuxeoDocument(NuxeoSession session,
NuxeoObjectData data,
org.apache.chemistry.opencmis.client.api.ObjectType type,
List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes) |
Modifier and Type | Method and Description |
---|---|
org.apache.chemistry.opencmis.client.api.Document |
appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
boolean isLastChunk) |
org.apache.chemistry.opencmis.client.api.ObjectId |
appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
boolean isLastChunk,
boolean refresh) |
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(BigInteger offset,
BigInteger length) |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(String streamId) |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(String streamId,
BigInteger offset,
BigInteger length) |
String |
getContentStreamFileName() |
List<org.apache.chemistry.opencmis.commons.data.ContentStreamHash> |
getContentStreamHashes() |
String |
getContentStreamId() |
long |
getContentStreamLength() |
String |
getContentStreamMimeType() |
String |
getContentUrl() |
String |
getContentUrl(String streamId) |
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 |
isPrivateWorkingCopy() |
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, applyPolicy, construct, delete, delete, findObjectType, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getPermissionsForPrincipal, getPermissonsForPrincipal, getPolicies, getProperties, getProperty, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getType, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToFolder, getParents, getParents, getPaths, move, move, removeFromFolder
addAcl, applyAcl, applyPolicy, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPermissionsForPrincipal, getPermissonsForPrincipal, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getType
public NuxeoDocument(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes)
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 org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(BigInteger offset, BigInteger length)
getContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(String streamId, BigInteger offset, BigInteger length)
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 Boolean isPrivateWorkingCopy()
isPrivateWorkingCopy
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
public org.apache.chemistry.opencmis.client.api.Document appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean isLastChunk)
appendContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
public org.apache.chemistry.opencmis.client.api.ObjectId appendContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean isLastChunk, boolean refresh)
appendContentStream
in interface org.apache.chemistry.opencmis.client.api.Document
public List<org.apache.chemistry.opencmis.commons.data.ContentStreamHash> getContentStreamHashes()
getContentStreamHashes
in interface org.apache.chemistry.opencmis.client.api.DocumentProperties
public String getContentUrl()
getContentUrl
in interface org.apache.chemistry.opencmis.client.api.Document
public String getContentUrl(String streamId)
getContentUrl
in interface org.apache.chemistry.opencmis.client.api.Document
Copyright © 2015 Nuxeo SA. All rights reserved.