Interface HippoTranslationBeanService
public interface HippoTranslationBeanService
Hippo Translation Content Bean service.
-
Method Summary
Modifier and TypeMethodDescriptiongetTranslationBeans
(Session session, String translationId, Class<T> beanMappingClass) Returns all the Hippo Translation Beans oftranslationId
.getTranslationNodes
(Session session, String translationId) Returns all the Hippo Translation nodes oftranslationId
.
-
Method Details
-
getTranslationBeans
<T extends HippoBean> Map<String,T> getTranslationBeans(Session session, String translationId, Class<T> beanMappingClass) throws 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:
RepositoryException
- if any repository exception occurs
-
getTranslationNodes
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:
RepositoryException
- if any repository exception occurs
-