public class PublicAPIDocumentImpl extends PublicAPINodeImpl implements Document
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PublicAPIDocumentImpl> |
CREATOR
Internal method to serialize Folder object.
|
Constructor and Description |
---|
PublicAPIDocumentImpl() |
PublicAPIDocumentImpl(Map<String,Object> json) |
PublicAPIDocumentImpl(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, getAspects, getCreatedAt, getCreatedBy, getDescription, getIdentifier, getModifiedAt, getModifiedBy, getName, getProperties, getProperty, getPropertyValue, getTitle, getType, 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<PublicAPIDocumentImpl> CREATOR
public PublicAPIDocumentImpl()
public PublicAPIDocumentImpl(android.os.Parcel o)
public long getContentStreamLength()
Document
getContentStreamLength
in interface Document
public String getContentStreamMimeType()
Document
getContentStreamMimeType
in interface Document
public String getVersionLabel()
Document
getVersionLabel
in interface Document
public String getVersionComment()
Document
getVersionComment
in interface Document
public Boolean isLatestVersion()
Document
isLatestVersion
in interface Document
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.