public interface HippoResourceBean extends HippoBean
Modifier and Type | Method and Description |
---|---|
Calendar |
getLastModified() |
long |
getLength() |
BigDecimal |
getLengthKB()
Return size in kilobytes
|
BigDecimal |
getLengthMB()
Return size in kilobytes
|
String |
getMimeType()
Get the mime type of this resource.
|
boolean |
isBlank()
Return
true if this resource contains blank data and should not be used by the frontend. |
equalCompare, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getDisplayName, getEqualComparator, getLinkedBean, getLinkedBeans, getLocalizedName, getName, getNode, getParentBean, getPath, getProperties, getProperty, getProperty, getProperty, getValueProvider, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf
getIdentifier, setIdentifier
getObjectConverter, setObjectConverter
compareTo
String getMimeType()
long getLength()
BigDecimal getLengthKB()
BigDecimal getLengthMB()
Calendar getLastModified()
null
if there is no last modified (should never happen though)boolean isBlank()
true
if this resource contains blank data and should not be used by the frontend.
This differs from getLength() == 0
which may represent an empty file.Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.