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) |
OutputStream |
createAppendOutputStream() |
OutputStream |
createAppendOutputStream(int bufferSize) |
OutputStream |
createOverwriteOutputStream(String filename,
String mimeType) |
OutputStream |
createOverwriteOutputStream(String filename,
String mimeType,
int bufferSize) |
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.DocumentType |
getDocumentType() |
String |
getLatestAccessibleStateId() |
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 |
isVersionable() |
Boolean |
isVersionSeriesCheckedOut() |
Boolean |
isVersionSeriesPrivateWorkingCopy() |
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, removeFromFolderaddAcl, applyAcl, applyPolicy, applyPolicy, construct, delete, delete, findObjectType, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getPermissionsForPrincipal, getPolicies, getPolicyIds, getProperties, getProperty, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getType, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties, updateProperties, updatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToFolder, getParents, getParents, getPaths, move, move, removeFromFolderaddAcl, applyAcl, applyPolicy, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPermissionsForPrincipal, getPolicies, getPolicyIds, getRefreshTimestamp, getRelationships, getRenditions, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties, updateProperties, updatePropertiesfindObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getTypepublic NuxeoDocument(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes)
public org.apache.chemistry.opencmis.client.api.DocumentType getDocumentType()
getDocumentType in interface org.apache.chemistry.opencmis.client.api.Documentpublic void cancelCheckOut()
cancelCheckOut in interface org.apache.chemistry.opencmis.client.api.Documentpublic 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.Documentpublic 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.Documentpublic org.apache.chemistry.opencmis.client.api.ObjectId checkOut()
checkOut in interface org.apache.chemistry.opencmis.client.api.Documentpublic NuxeoDocument copy(org.apache.chemistry.opencmis.client.api.ObjectId target)
copy in interface org.apache.chemistry.opencmis.client.api.Documentpublic 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.Documentpublic void deleteAllVersions()
deleteAllVersions in interface org.apache.chemistry.opencmis.client.api.Documentpublic NuxeoDocument deleteContentStream()
deleteContentStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic org.apache.chemistry.opencmis.client.api.ObjectId deleteContentStream(boolean refresh)
deleteContentStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic List<org.apache.chemistry.opencmis.client.api.Document> getAllVersions()
getAllVersions in interface org.apache.chemistry.opencmis.client.api.Documentpublic 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.Documentpublic String getCheckinComment()
getCheckinComment in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream()
getContentStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(String streamId)
getContentStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(BigInteger offset, BigInteger length)
getContentStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(String streamId, BigInteger offset, BigInteger length)
getContentStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic String getContentStreamFileName()
getContentStreamFileName in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic String getContentStreamId()
getContentStreamId in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic long getContentStreamLength()
getContentStreamLength in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic String getContentStreamMimeType()
getContentStreamMimeType in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic org.apache.chemistry.opencmis.client.api.Document getObjectOfLatestVersion(boolean major)
getObjectOfLatestVersion in interface org.apache.chemistry.opencmis.client.api.Documentpublic 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.Documentpublic String getVersionLabel()
getVersionLabel in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic String getVersionSeriesCheckedOutBy()
getVersionSeriesCheckedOutBy in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic String getVersionSeriesCheckedOutId()
getVersionSeriesCheckedOutId in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic String getVersionSeriesId()
getVersionSeriesId in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic Boolean isImmutable()
isImmutable in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic boolean isVersionable()
isVersionable in interface org.apache.chemistry.opencmis.client.api.Documentpublic Boolean isVersionSeriesPrivateWorkingCopy()
isVersionSeriesPrivateWorkingCopy in interface org.apache.chemistry.opencmis.client.api.Documentpublic Boolean isLatestMajorVersion()
isLatestMajorVersion in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic Boolean isLatestVersion()
isLatestVersion in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic Boolean isMajorVersion()
isMajorVersion in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic Boolean isVersionSeriesCheckedOut()
isVersionSeriesCheckedOut in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic Boolean isPrivateWorkingCopy()
isPrivateWorkingCopy in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic String getLatestAccessibleStateId()
getLatestAccessibleStateId in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic 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.Documentpublic 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.Documentpublic 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.Documentpublic 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.Documentpublic List<org.apache.chemistry.opencmis.commons.data.ContentStreamHash> getContentStreamHashes()
getContentStreamHashes in interface org.apache.chemistry.opencmis.client.api.DocumentPropertiespublic String getContentUrl()
getContentUrl in interface org.apache.chemistry.opencmis.client.api.Documentpublic String getContentUrl(String streamId)
getContentUrl in interface org.apache.chemistry.opencmis.client.api.Documentpublic OutputStream createOverwriteOutputStream(String filename, String mimeType)
createOverwriteOutputStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic OutputStream createOverwriteOutputStream(String filename, String mimeType, int bufferSize)
createOverwriteOutputStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic OutputStream createAppendOutputStream()
createAppendOutputStream in interface org.apache.chemistry.opencmis.client.api.Documentpublic OutputStream createAppendOutputStream(int bufferSize)
createAppendOutputStream in interface org.apache.chemistry.opencmis.client.api.DocumentCopyright © 2019 Nuxeo. All rights reserved.