|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectConverter
Convert any kind of beans into JCR nodes & properties.
This interface mimics Jackrabbit's one, but this is provided to support more lightweight beans in HST.
Method Summary | |
---|---|
Class<? extends HippoBean> |
getAnnotatedClassFor(String jcrPrimaryNodeType)
|
Object |
getObject(javax.jcr.Node node)
|
Object |
getObject(javax.jcr.Node node,
String relPath)
|
Object |
getObject(javax.jcr.Session session,
String path)
|
Object |
getObject(String uuid,
javax.jcr.Node node)
|
Object |
getObject(String uuid,
javax.jcr.Session session)
|
String |
getPrimaryNodeTypeNameFor(Class<? extends HippoBean> hippoBean)
|
String |
getPrimaryObjectType(javax.jcr.Node node)
Returns the Primary Node Type for a Node (or a child Node if the Node is a Handle) to be used for Object conversion, possibly using a fallback Node Type if no exact match can be determined. |
Method Detail |
---|
String getPrimaryObjectType(javax.jcr.Node node) throws ObjectBeanManagerException
node
- to determine the Primary Object Type for
ObjectBeanManagerException
Object getObject(javax.jcr.Session session, String path) throws ObjectBeanManagerException
ObjectBeanManagerException
Object getObject(javax.jcr.Node node) throws ObjectBeanManagerException
ObjectBeanManagerException
Object getObject(javax.jcr.Node node, String relPath) throws ObjectBeanManagerException
ObjectBeanManagerException
Object getObject(String uuid, javax.jcr.Session session) throws ObjectBeanManagerException
ObjectBeanManagerException
Object getObject(String uuid, javax.jcr.Node node) throws ObjectBeanManagerException
ObjectBeanManagerException
Class<? extends HippoBean> getAnnotatedClassFor(String jcrPrimaryNodeType)
jcrPrimaryNodeType
-
Class
for this jcrPrimaryNodeType or null
if no annotated class can be foundString getPrimaryNodeTypeNameFor(Class<? extends HippoBean> hippoBean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |