@Deprecated public class TransientDocumentImpl extends AbstractTransientFileableCmisObject implements TransientDocument
AbstractTransientCmisObject.AceChangeHolder
acl, addAces, addPolicies, allowableActions, deleteAllVersions, inputExtensions, isMarkedForDelete, isModified, isPropertyUpdateRequired, object, ouputExtensions, policies, properties, relationships, removeAces, removePolicies, renditions, session
Constructor and Description |
---|
TransientDocumentImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ObjectId |
checkIn(boolean major,
String checkinComment)
Deprecated.
|
Document |
copy(ObjectId targetFolderId)
Deprecated.
|
Document |
copy(ObjectId targetFolderId,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addACEs,
List<Ace> removeACEs,
OperationContext context)
Deprecated.
|
void |
deleteAllVersions()
Deprecated.
|
void |
deleteContentStream()
Deprecated.
|
List<Document> |
getAllVersions()
Deprecated.
|
List<Document> |
getAllVersions(OperationContext context)
Deprecated.
|
String |
getCheckinComment()
Deprecated.
Returns the checkin comment (CMIS property
cmis:checkinComment ). |
ContentStream |
getContentStream()
Deprecated.
|
ContentStream |
getContentStream(String streamId)
Deprecated.
|
String |
getContentStreamFileName()
Deprecated.
Returns the content stream filename or
null if the document
has no content (CMIS property cmis:contentStreamFileName ). |
String |
getContentStreamId()
Deprecated.
Returns the content stream id or
null if the document has no
content (CMIS property cmis:contentStreamId ). |
long |
getContentStreamLength()
Deprecated.
Returns the content stream length or -1 if the document has no content
(CMIS property
cmis:contentStreamLength ). |
String |
getContentStreamMimeType()
Deprecated.
Returns the content stream MIME type or
null if the document
has no content (CMIS property cmis:contentStreamMimeType ). |
Document |
getObjectOfLatestVersion(boolean major)
Deprecated.
|
Document |
getObjectOfLatestVersion(boolean major,
OperationContext context)
Deprecated.
|
String |
getVersionLabel()
Deprecated.
Returns the version label (CMIS property
cmis:versionLabel ). |
String |
getVersionSeriesCheckedOutBy()
Deprecated.
Returns the user who checked out this version series (CMIS property
cmis:versionSeriesCheckedOutBy ). |
String |
getVersionSeriesCheckedOutId()
Deprecated.
Returns the PWC id of this version series (CMIS property
cmis:versionSeriesCheckedOutId ). |
String |
getVersionSeriesId()
Deprecated.
Returns the version series id (CMIS property
cmis:versionSeriesId ). |
protected void |
initialize(Session session,
CmisObject object)
Deprecated.
|
Boolean |
isImmutable()
Deprecated.
Returns
true if this CMIS object is immutable (CMIS property
cmis:isImmutable ). |
Boolean |
isLatestMajorVersion()
Deprecated.
Returns
true if this CMIS object is the latest major version
(CMIS property cmis:isLatestMajorVersion ). |
Boolean |
isLatestVersion()
Deprecated.
Returns if this CMIS object is the latest version (CMIS property
cmis:isLatestVersion ). |
Boolean |
isMajorVersion()
Deprecated.
Returns
true if this CMIS object is the latest version (CMIS
property cmis:isMajorVersion ). |
Boolean |
isPrivateWorkingCopy()
Deprecated.
Returns
true if this CMIS object is the PWC (CMIS property
cmis:isPrivateWorkingCopy ). |
Boolean |
isVersionSeriesCheckedOut()
Deprecated.
Returns
true if this version series is checked out (CMIS
property cmis:isVersionSeriesCheckedOut ). |
ObjectId |
save()
Deprecated.
|
protected String |
saveContent(String objectId,
String changeToken)
Deprecated.
|
void |
setContentStream(ContentStream contentStream,
boolean overwrite)
Deprecated.
|
addToFolder, getParents, getPaths, move, removeFromFolder
addAce, applyPolicy, delete, findObjectType, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCmisObject, getCreatedBy, getCreationDate, getDescription, getId, getInputExtensions, getLastModificationDate, getLastModifiedBy, getLatestChangeToken, getName, getObjectFactory, getObjectId, getOriginalAcl, getOutputExtensions, getPolicies, getProperties, getProperty, getPropertyValue, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getSession, getType, isMarkedForDelete, isModified, prepareAcl, prepareProperties, refreshAndReset, removeAce, removePolicy, reset, saveACL, saveDelete, savePolicies, saveProperties, setDescription, setName, setOutputExtensions, setPropertyValue
clone, equals, finalize, 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, isModified, refreshAndReset, removeAce, removePolicy, reset, setDescription, setName, setOutputExtensions, setPropertyValue
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getType
protected void initialize(Session session, CmisObject object)
initialize
in class AbstractTransientCmisObject
public void deleteAllVersions()
deleteAllVersions
in interface TransientDocument
public ContentStream getContentStream()
getContentStream
in interface TransientDocument
public ContentStream getContentStream(String streamId)
getContentStream
in interface TransientDocument
public void setContentStream(ContentStream contentStream, boolean overwrite)
setContentStream
in interface TransientDocument
public void deleteContentStream()
deleteContentStream
in interface TransientDocument
public Document getObjectOfLatestVersion(boolean major)
getObjectOfLatestVersion
in interface TransientDocument
public Document getObjectOfLatestVersion(boolean major, OperationContext context)
getObjectOfLatestVersion
in interface TransientDocument
public List<Document> getAllVersions()
getAllVersions
in interface TransientDocument
public List<Document> getAllVersions(OperationContext context)
getAllVersions
in interface TransientDocument
public Document copy(ObjectId targetFolderId)
copy
in interface TransientDocument
public Document copy(ObjectId targetFolderId, Map<String,?> properties, VersioningState versioningState, List<Policy> policies, List<Ace> addACEs, List<Ace> removeACEs, OperationContext context)
copy
in interface TransientDocument
public String getCheckinComment()
DocumentProperties
cmis:checkinComment
).getCheckinComment
in interface DocumentProperties
public String getVersionLabel()
DocumentProperties
cmis:versionLabel
).getVersionLabel
in interface DocumentProperties
public String getVersionSeriesId()
DocumentProperties
cmis:versionSeriesId
).getVersionSeriesId
in interface DocumentProperties
public String getVersionSeriesCheckedOutId()
DocumentProperties
cmis:versionSeriesCheckedOutId
).getVersionSeriesCheckedOutId
in interface DocumentProperties
public String getVersionSeriesCheckedOutBy()
DocumentProperties
cmis:versionSeriesCheckedOutBy
).getVersionSeriesCheckedOutBy
in interface DocumentProperties
public Boolean isImmutable()
DocumentProperties
true
if this CMIS object is immutable (CMIS property
cmis:isImmutable
).isImmutable
in interface DocumentProperties
public Boolean isLatestMajorVersion()
DocumentProperties
true
if this CMIS object is the latest major version
(CMIS property cmis:isLatestMajorVersion
).isLatestMajorVersion
in interface DocumentProperties
public Boolean isLatestVersion()
DocumentProperties
cmis:isLatestVersion
).isLatestVersion
in interface DocumentProperties
public Boolean isMajorVersion()
DocumentProperties
true
if this CMIS object is the latest version (CMIS
property cmis:isMajorVersion
).isMajorVersion
in interface DocumentProperties
public Boolean isPrivateWorkingCopy()
DocumentProperties
true
if this CMIS object is the PWC (CMIS property
cmis:isPrivateWorkingCopy
).isPrivateWorkingCopy
in interface DocumentProperties
public Boolean isVersionSeriesCheckedOut()
DocumentProperties
true
if this version series is checked out (CMIS
property cmis:isVersionSeriesCheckedOut
).isVersionSeriesCheckedOut
in interface DocumentProperties
public long getContentStreamLength()
DocumentProperties
cmis:contentStreamLength
).getContentStreamLength
in interface DocumentProperties
public String getContentStreamMimeType()
DocumentProperties
null
if the document
has no content (CMIS property cmis:contentStreamMimeType
).getContentStreamMimeType
in interface DocumentProperties
public String getContentStreamFileName()
DocumentProperties
null
if the document
has no content (CMIS property cmis:contentStreamFileName
).getContentStreamFileName
in interface DocumentProperties
public String getContentStreamId()
DocumentProperties
null
if the document has no
content (CMIS property cmis:contentStreamId
).getContentStreamId
in interface DocumentProperties
public ObjectId save()
save
in interface TransientCmisObject
save
in class AbstractTransientCmisObject
public ObjectId checkIn(boolean major, String checkinComment)
checkIn
in interface TransientDocument
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.