org.apache.chemistry.opencmis.client.api
Interface DocumentProperties

All Known Subinterfaces:
Document, TransientDocument

public interface DocumentProperties

Accessors to CMIS document properties.

See Also:
CmisObjectProperties

Method Summary
 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).
 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 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 CMIS object is immutable (CMIS property cmis:isImmutable).
 Boolean isLatestMajorVersion()
          Returns true if this CMIS object is the latest major version (CMIS property cmis:isLatestMajorVersion).
 Boolean isLatestVersion()
          Returns if this CMIS object is the latest version (CMIS property cmis:isLatestVersion).
 Boolean isMajorVersion()
          Returns true if this CMIS object is the latest version (CMIS property cmis:isMajorVersion).
 Boolean isVersionSeriesCheckedOut()
          Returns true if this version series is checked out (CMIS property cmis:isVersionSeriesCheckedOut).
 

Method Detail

isImmutable

Boolean isImmutable()
Returns true if this CMIS object is immutable (CMIS property cmis:isImmutable).


isLatestVersion

Boolean isLatestVersion()
Returns if this CMIS object is the latest version (CMIS property cmis:isLatestVersion).


isMajorVersion

Boolean isMajorVersion()
Returns true if this CMIS object is the latest version (CMIS property cmis:isMajorVersion).


isLatestMajorVersion

Boolean isLatestMajorVersion()
Returns true if this CMIS object is the latest major version (CMIS property cmis:isLatestMajorVersion).


getVersionLabel

String getVersionLabel()
Returns the version label (CMIS property cmis:versionLabel).


getVersionSeriesId

String getVersionSeriesId()
Returns the version series id (CMIS property cmis:versionSeriesId).


isVersionSeriesCheckedOut

Boolean isVersionSeriesCheckedOut()
Returns true if this version series is checked out (CMIS property cmis:isVersionSeriesCheckedOut).


getVersionSeriesCheckedOutBy

String getVersionSeriesCheckedOutBy()
Returns the user who checked out this version series (CMIS property cmis:versionSeriesCheckedOutBy).


getVersionSeriesCheckedOutId

String getVersionSeriesCheckedOutId()
Returns the PWC id of this version series (CMIS property cmis:versionSeriesCheckedOutId).


getCheckinComment

String getCheckinComment()
Returns the checkin comment (CMIS property cmis:checkinComment).


getContentStreamLength

long getContentStreamLength()
Returns the content stream length or -1 if the document has no content (CMIS property cmis:contentStreamLength).


getContentStreamMimeType

String getContentStreamMimeType()
Returns the content stream MIME type or null if the document has no content (CMIS property cmis:contentStreamMimeType).


getContentStreamFileName

String getContentStreamFileName()
Returns the content stream filename or null if the document has no content (CMIS property cmis:contentStreamFileName).


getContentStreamId

String getContentStreamId()
Returns the content stream id or null if the document has no content (CMIS property cmis:contentStreamId).



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.