public class HippoTranslationBeanServiceImpl extends Object implements HippoTranslationBeanService
Constructor and Description |
---|
HippoTranslationBeanServiceImpl() |
Modifier and Type | Method and Description |
---|---|
<T extends HippoBean> |
getTranslationBeans(javax.jcr.Session session,
String translationId,
Class<T> beanMappingClass)
Returns all the Hippo Translation Beans of
translationId . |
List<javax.jcr.Node> |
getTranslationNodes(javax.jcr.Session session,
String translationId)
Returns all the Hippo Translation nodes of
translationId . |
protected String |
getTranslationsQuery(String translationId) |
public <T extends HippoBean> Map<String,T> getTranslationBeans(javax.jcr.Session session, String translationId, Class<T> beanMappingClass) throws javax.jcr.RepositoryException
HippoTranslationBeanService
translationId
.getTranslationBeans
in interface HippoTranslationBeanService
session
- JCR sessiontranslationId
- the translation IDbeanMappingClass
- expected mapping class of Hippo Translation BeanstranslationId
javax.jcr.RepositoryException
- if any repository exception occurspublic List<javax.jcr.Node> getTranslationNodes(javax.jcr.Session session, String translationId) throws javax.jcr.RepositoryException
HippoTranslationBeanService
translationId
.getTranslationNodes
in interface HippoTranslationBeanService
session
- JCR sessiontranslationId
- the translation IDtranslationId
javax.jcr.RepositoryException
- if any repository exception occursCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.