public interface DocumentProperties
CmisObjectProperties
Modifier and Type | Method and Description |
---|---|
String |
getCheckinComment()
Returns the checkin comment (CMIS property
cmis:checkinComment ). |
String |
getContentStreamFileName()
Returns the content stream filename or
null if the document has
no content (CMIS property cmis:contentStreamFileName ). |
List<ContentStreamHash> |
getContentStreamHashes()
Returns the content hashes or
null if the document has no content
(CMIS property cmis:contentStreamHash ). |
String |
getContentStreamId()
Returns the content stream ID or
null if the document has no
content (CMIS property cmis:contentStreamId ). |
long |
getContentStreamLength()
Returns the content stream length or -1 if the document has no content
(CMIS property
cmis:contentStreamLength ). |
String |
getContentStreamMimeType()
Returns the content stream MIME type or
null if the document has
no content (CMIS property cmis:contentStreamMimeType ). |
String |
getLatestAccessibleStateId()
Returns the latest accessible state ID or
null if the repository
does not support the Latest State Identifier feature extension (CMIS
property cmis:latestAccessibleStateId ). |
String |
getVersionLabel()
Returns the version label (CMIS property
cmis:versionLabel ). |
String |
getVersionSeriesCheckedOutBy()
Returns the user who checked out this version series (CMIS property
cmis:versionSeriesCheckedOutBy ). |
String |
getVersionSeriesCheckedOutId()
Returns the PWC ID of this version series (CMIS property
cmis:versionSeriesCheckedOutId ). |
String |
getVersionSeriesId()
Returns the version series ID (CMIS property
cmis:versionSeriesId
). |
Boolean |
isImmutable()
Returns
true if this document is immutable (CMIS property
cmis:isImmutable ). |
Boolean |
isLatestMajorVersion()
Returns
true if this document is the latest major version (CMIS
property cmis:isLatestMajorVersion ). |
Boolean |
isLatestVersion()
Returns
true if this document is the latest version (CMIS
property cmis:isLatestVersion ). |
Boolean |
isMajorVersion()
Returns
true if this document is a major version (CMIS property
cmis:isMajorVersion ). |
Boolean |
isPrivateWorkingCopy()
Returns
true if this document is the PWC (CMIS property
cmis:isPrivateWorkingCopy ). |
Boolean |
isVersionSeriesCheckedOut()
Returns
true if this version series is checked out (CMIS property
cmis:isVersionSeriesCheckedOut ). |
Boolean isImmutable()
true
if this document is immutable (CMIS property
cmis:isImmutable
).null
if the
property hasn't been requested, hasn't been provided by the
repository, or the property value isn't setBoolean isLatestVersion()
true
if this document is the latest version (CMIS
property cmis:isLatestVersion
).null
if the
property hasn't been requested, hasn't been provided by the
repository, or the property value isn't setBoolean isMajorVersion()
true
if this document is a major version (CMIS property
cmis:isMajorVersion
).null
if the
property hasn't been requested, hasn't been provided by the
repository, or the property value isn't setBoolean isLatestMajorVersion()
true
if this document is the latest major version (CMIS
property cmis:isLatestMajorVersion
).null
if
the property hasn't been requested, hasn't been provided by the
repository, or the property value isn't setBoolean isPrivateWorkingCopy()
true
if this document is the PWC (CMIS property
cmis:isPrivateWorkingCopy
).null
if the property
hasn't been requested, hasn't been provided by the repository, or
the property value isn't setDocument.isVersionSeriesPrivateWorkingCopy()
String getVersionLabel()
cmis:versionLabel
).null
if the property
hasn't been requested, hasn't been provided by the repository, or
the property value isn't setString getVersionSeriesId()
cmis:versionSeriesId
).null
if the
property hasn't been requested, hasn't been provided by the
repository, or the property value isn't setBoolean isVersionSeriesCheckedOut()
true
if this version series is checked out (CMIS property
cmis:isVersionSeriesCheckedOut
).null
if the property hasn't been requested, hasn't been
provided by the repository, or the property value isn't setString getVersionSeriesCheckedOutBy()
cmis:versionSeriesCheckedOutBy
).null
if
the property hasn't been requested, hasn't been provided by the
repository, or the property value isn't setString getVersionSeriesCheckedOutId()
cmis:versionSeriesCheckedOutId
).
Some repositories provided this value only to the user who checked out the version series.
null
if the property
hasn't been requested, hasn't been provided by the repository, or
the property value isn't setString getCheckinComment()
cmis:checkinComment
).null
if the
property hasn't been requested, hasn't been provided by the
repository, or the property value isn't setlong getContentStreamLength()
cmis:contentStreamLength
).String getContentStreamMimeType()
null
if the document has
no content (CMIS property cmis:contentStreamMimeType
).null
if
the property hasn't been requested, hasn't been provided by the
repository, or the document has no contentString getContentStreamFileName()
null
if the document has
no content (CMIS property cmis:contentStreamFileName
).null
if
the property hasn't been requested, hasn't been provided by the
repository, or the document has no contentString getContentStreamId()
null
if the document has no
content (CMIS property cmis:contentStreamId
).null
if the
property hasn't been requested, hasn't been provided by the
repository, or the document has no contentList<ContentStreamHash> getContentStreamHashes()
null
if the document has no content
(CMIS property cmis:contentStreamHash
).null
if the property hasn't
been requested, hasn't been provided by the repository, or the
document has no contentString getLatestAccessibleStateId()
null
if the repository
does not support the Latest State Identifier feature extension (CMIS
property cmis:latestAccessibleStateId
).null
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.