public interface HippoDocumentBean extends HippoBean, HippoTranslated, PageModelEntity
Modifier and Type | Method and Description |
---|---|
<T extends HippoBean> |
getAvailableTranslations(Class<T> beanMappingClass) |
String |
getCanonicalHandlePath()
Returns the jcr path of the backing canonical handle jcr node or
null when |
String |
getCanonicalHandleUUID()
Returns the jcr uuid of the backing canonical handle jcr node or
null when |
default String |
getRepresentationId()
The representational id for a
IdentifiableContentBean is by default equal to the IdentifiableContentBean.getIdentifier()
however implementations can change choose to return another id than the IdentifiableContentBean.getIdentifier() . |
equalCompare, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, 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
getLocale, getLocaleString
String getCanonicalHandleUUID()
null
when
null
HippoBean.getCanonicalUUID()
String getCanonicalHandlePath()
null
when
null
HippoBean.getCanonicalPath()
<T extends HippoBean> HippoAvailableTranslationsBean<T> getAvailableTranslations(Class<T> beanMappingClass)
beanMappingClass
- only return translations of type beanMappingClass
HippoAvailableTranslationsBean
where the translations must be of type beanMappingClass
. This method never returns null
default String getRepresentationId()
IdentifiableContentBean
IdentifiableContentBean
is by default equal to the IdentifiableContentBean.getIdentifier()
however implementations can change choose to return another id than the IdentifiableContentBean.getIdentifier()
.
An example of a subclass (interface) returning a different value is for example the HippoDocumentBean
, since
this one does return for IdentifiableContentBean.getRepresentationId()
the id of the backing JCR handle uuid instead of the uuid
of the document variant.getRepresentationId
in interface IdentifiableContentBean
IdentifiableContentBean
Copyright © 2008–2020 Hippo B.V. (http://www.onehippo.com). All rights reserved.