org.kuali.ole.repository
Class NodeHandler

java.lang.Object
  extended by org.kuali.ole.repository.NodeHandler

public class NodeHandler
extends Object

Created by IntelliJ IDEA. User: pvsubrah Date: 9/11/11 Time: 10:37 AM To change this template use File | Settings | File Templates.


Constructor Summary
NodeHandler()
           
 
Method Summary
 javax.jcr.Node getNodeByUUID(javax.jcr.Session session, String uuid)
           
 javax.jcr.Node initFileNode(javax.jcr.Node fileNode, RequestDocument document, String name, javax.jcr.Node parentNode, javax.jcr.Session session)
          Initializes the given fileNode with info from given requestDocument.
 javax.jcr.Node initFileNode(RequestDocument document, String name, javax.jcr.Node parentNode, javax.jcr.Session session)
           
 javax.jcr.Node initLevelNode(String name, javax.jcr.Node parent, boolean isRecursiveCall, javax.jcr.Session session)
           
 javax.jcr.Node initNonStaticNode(String nodeName, javax.jcr.Node parentNode)
           
 javax.jcr.Node initStaticNode(String nodeName, javax.jcr.Node parentNode, javax.jcr.Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeHandler

public NodeHandler()
Method Detail

initStaticNode

public javax.jcr.Node initStaticNode(String nodeName,
                                     javax.jcr.Node parentNode,
                                     javax.jcr.Session session)
                              throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

initNonStaticNode

public javax.jcr.Node initNonStaticNode(String nodeName,
                                        javax.jcr.Node parentNode)
                                 throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

initFileNode

public javax.jcr.Node initFileNode(RequestDocument document,
                                   String name,
                                   javax.jcr.Node parentNode,
                                   javax.jcr.Session session)
                            throws Exception
Throws:
Exception

initFileNode

public javax.jcr.Node initFileNode(javax.jcr.Node fileNode,
                                   RequestDocument document,
                                   String name,
                                   javax.jcr.Node parentNode,
                                   javax.jcr.Session session)
                            throws Exception
Initializes the given fileNode with info from given requestDocument.

Parameters:
fileNode -
document -
name -
parentNode -
session -
Returns:
Throws:
Exception

initLevelNode

public javax.jcr.Node initLevelNode(String name,
                                    javax.jcr.Node parent,
                                    boolean isRecursiveCall,
                                    javax.jcr.Session session)
                             throws Exception
Throws:
Exception

getNodeByUUID

public javax.jcr.Node getNodeByUUID(javax.jcr.Session session,
                                    String uuid)
                             throws OleException
Throws:
OleException


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.