org.jboss.seam.jcr.ocm
Class NodeConverter

java.lang.Object
  extended by org.jboss.seam.jcr.ocm.NodeConverter

public class NodeConverter
extends Object


Constructor Summary
NodeConverter()
           
 
Method Summary
<T> void
convertNodeToObject(javax.jcr.Node node, Class<?> nodeType, Object returnValue)
           
 void handleConvertToNode(org.jboss.seam.jcr.ocm.ConvertToNode event)
           
 void handleConvertToObjectRequest(org.jboss.seam.jcr.ocm.ConvertToObject event)
           
<T> T
nodeToObject(javax.jcr.Node node, Class<T> nodeType)
           
<T> void
objectToNode(T object, javax.jcr.Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeConverter

public NodeConverter()
Method Detail

handleConvertToObjectRequest

public void handleConvertToObjectRequest(@Observes
                                         org.jboss.seam.jcr.ocm.ConvertToObject event)
                                  throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

handleConvertToNode

public void handleConvertToNode(@Observes
                                org.jboss.seam.jcr.ocm.ConvertToNode event)
                         throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

nodeToObject

public <T> T nodeToObject(javax.jcr.Node node,
                          Class<T> nodeType)

convertNodeToObject

public <T> void convertNodeToObject(javax.jcr.Node node,
                                    Class<?> nodeType,
                                    Object returnValue)
                         throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

objectToNode

public <T> void objectToNode(T object,
                             javax.jcr.Node node)
                  throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2013 Seam Framework. All Rights Reserved.