public class BaseContentNode.TemplateContentData extends Object implements Serializable
Constructor and Description |
---|
TemplateContentData(org.alfresco.service.cmr.repository.ContentData contentData,
org.alfresco.service.namespace.QName property)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getContent() |
String |
getContentAsText(int length) |
String |
getContentMaxLength(int length) |
String |
getDisplayMimetype() |
String |
getDownloadUrl() |
String |
getEncoding() |
String |
getMimetype() |
String |
getServiceUrl() |
long |
getSize() |
String |
getUrl() |
public TemplateContentData(org.alfresco.service.cmr.repository.ContentData contentData, org.alfresco.service.namespace.QName property)
contentData
- The ContentData object this object wrapsproperty
- The property the ContentData is attached toopublic String getContent()
public String getContentMaxLength(int length)
public String getContentAsText(int length)
length
- Length of the character stream to return, or -1 for allpublic String getUrl()
public String getDownloadUrl()
public String getServiceUrl()
public long getSize()
public String getMimetype()
public String getDisplayMimetype()
public String getEncoding()
Copyright © 2005–2017 Alfresco Software. All rights reserved.