org.jboss.seam.jcr.ocm
Class NodeConverter
java.lang.Object
org.jboss.seam.jcr.ocm.NodeConverter
public class NodeConverter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeConverter
public NodeConverter()
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.