Interface HippoTranslationBeanService
-
public interface HippoTranslationBeanService
Hippo Translation Content Bean service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends HippoBean>
Map<String,T>getTranslationBeans(javax.jcr.Session session, String translationId, Class<T> beanMappingClass)
Returns all the Hippo Translation Beans oftranslationId
.List<javax.jcr.Node>
getTranslationNodes(javax.jcr.Session session, String translationId)
Returns all the Hippo Translation nodes oftranslationId
.
-
-
-
Method Detail
-
getTranslationBeans
<T extends HippoBean> Map<String,T> getTranslationBeans(javax.jcr.Session session, String translationId, Class<T> beanMappingClass) throws javax.jcr.RepositoryException
Returns all the Hippo Translation Beans oftranslationId
.- Parameters:
session
- JCR sessiontranslationId
- the translation IDbeanMappingClass
- expected mapping class of Hippo Translation Beans- Returns:
- all the Hippo Translation Beans keyed by locale string in the same
translationId
- Throws:
javax.jcr.RepositoryException
- if any repository exception occurs
-
getTranslationNodes
List<javax.jcr.Node> getTranslationNodes(javax.jcr.Session session, String translationId) throws javax.jcr.RepositoryException
Returns all the Hippo Translation nodes oftranslationId
.- Parameters:
session
- JCR sessiontranslationId
- the translation ID- Returns:
- all the Hippo Translation nodes in the same
translationId
- Throws:
javax.jcr.RepositoryException
- if any repository exception occurs
-
-