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(Session session, String translationId, Class<T> beanMappingClass)
Returns all the Hippo Translation Beans oftranslationId
.List<Node>
getTranslationNodes(Session session, String translationId)
Returns all the Hippo Translation nodes oftranslationId
.
-
-
-
Method Detail
-
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
List<Node> getTranslationNodes(Session session, String translationId) throws 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:
RepositoryException
- if any repository exception occurs
-
-