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
 java.lang.String getCheckinComment()
          Returns the checkin comment (CMIS property cmis:checkinComment).
 java.lang.String getContentStreamFileName()
          Returns the content stream filename or null if the document has no content (CMIS property cmis:contentStreamFileName).
 java.lang.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).
 java.lang.String getContentStreamMimeType()
          Returns the content stream MIME type or null if the document has no content (CMIS property cmis:contentStreamMimeType).
 java.lang.String getVersionLabel()
          Returns the version label (CMIS property cmis:versionLabel).
 java.lang.String getVersionSeriesCheckedOutBy()
          Returns the user who checked out this version series (CMIS property cmis:versionSeriesCheckedOutBy).
 java.lang.String getVersionSeriesCheckedOutId()
          Returns the PWC id of this version series (CMIS property cmis:versionSeriesCheckedOutId).
 java.lang.String getVersionSeriesId()
          Returns the version series id (CMIS property cmis:versionSeriesId).
 java.lang.Boolean isImmutable()
          Returns true if this CMIS object is immutable (CMIS property cmis:isImmutable).
 java.lang.Boolean isLatestMajorVersion()
          Returns true if this CMIS object is the latest major version (CMIS property cmis:isLatestMajorVersion).
 java.lang.Boolean isLatestVersion()
          Returns if this CMIS object is the latest version (CMIS property cmis:isLatestVersion).
 java.lang.Boolean isMajorVersion()
          Returns true if this CMIS object is the latest version (CMIS property cmis:isMajorVersion).
 java.lang.Boolean isVersionSeriesCheckedOut()
          Returns true if this version series is checked out (CMIS property cmis:isVersionSeriesCheckedOut).
 

Method Detail

isImmutable

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


isLatestVersion

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


isMajorVersion

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


isLatestMajorVersion

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


getVersionLabel

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


getVersionSeriesId

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


isVersionSeriesCheckedOut

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


getVersionSeriesCheckedOutBy

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


getVersionSeriesCheckedOutId

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


getCheckinComment

java.lang.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

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


getContentStreamFileName

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


getContentStreamId

java.lang.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.