public interface HippoResourceBean extends HippoBean
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
Get the file name of this resource or null if unavailable.
|
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.
|
default String |
getRepresentationId()
in the Page Model API we do not want to show uuid for nodes below a document (compound)
|
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, getComparePath, getContentType, getDisplayName, getEqualComparator, getLinkedBean, getLinkedBeans, getMultipleProperty, getMultipleProperty, getName, getNode, getParentBean, getPath, getProperties, getProperty, getSingleProperty, getSingleProperty, getValueProvider, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, isVersionedNode
getIdentifier, setIdentifier
getObjectConverter, setObjectConverter
compareTo
default String getRepresentationId()
getRepresentationId
in interface IdentifiableContentBean
IdentifiableContentBean
String getMimeType()
String getFilename()
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–2021 Hippo B.V. (http://www.onehippo.com). All rights reserved.