public class DocumentImpl extends NodeImpl implements Document
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<DocumentImpl> |
CREATOR
Internal method to serialize Folder object.
|
Constructor and Description |
---|
DocumentImpl(org.apache.chemistry.opencmis.client.api.CmisObject o) |
DocumentImpl(org.apache.chemistry.opencmis.client.api.CmisObject o,
boolean hasAllProperties) |
DocumentImpl(android.os.Parcel o) |
Modifier and Type | Method and Description |
---|---|
long |
getContentStreamLength()
Returns the content stream length or -1 if the document has no content.
|
String |
getContentStreamMimeType()
Returns the content stream MIME type or null if the document has no
content.
|
String |
getVersionComment()
Returns the comment provided for this version of this document.
|
String |
getVersionLabel()
Returns the version label of this document.
|
Boolean |
isLatestVersion()
Returns true if latest version.
|
describeContents, getAllowableActions, getAspects, getCreatedAt, getCreatedBy, getDescription, getIdentifier, getModifiedAt, getModifiedBy, getName, getPath, getProperties, getProperty, getPropertyValue, getTitle, getType, hasAllowableAction, hasAllowableAction, hasAllProperties, hasAspect, isDocument, isFolder, writeToParcel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAspects, getCreatedAt, getCreatedBy, getDescription, getIdentifier, getModifiedAt, getModifiedBy, getName, getProperties, getProperty, getPropertyValue, getTitle, getType, hasAllProperties, hasAspect, isDocument, isFolder
public static final android.os.Parcelable.Creator<DocumentImpl> CREATOR
public DocumentImpl(org.apache.chemistry.opencmis.client.api.CmisObject o)
public DocumentImpl(org.apache.chemistry.opencmis.client.api.CmisObject o, boolean hasAllProperties)
public DocumentImpl(android.os.Parcel o)
public long getContentStreamLength()
getContentStreamLength
in interface Document
public String getContentStreamMimeType()
getContentStreamMimeType
in interface Document
public String getVersionLabel()
getVersionLabel
in interface Document
public String getVersionComment()
getVersionComment
in interface Document
public Boolean isLatestVersion()
isLatestVersion
in interface Document
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.