org.kuali.ole.docstore.repository
Class WorkInstanceNodeManager

java.lang.Object
  extended by org.kuali.ole.docstore.repository.CustomNodeManager
      extended by org.kuali.ole.docstore.repository.WorkInstanceNodeManager
All Implemented Interfaces:
NodeManager

public class WorkInstanceNodeManager
extends CustomNodeManager
implements NodeManager

User: tirumalesh.b Date: 4/9/12 Time: 1:00 PM


Field Summary
 
Fields inherited from class org.kuali.ole.docstore.repository.CustomNodeManager
numLevels
 
Method Summary
 javax.jcr.Node createFileNode(RequestDocument document, String name, javax.jcr.Node parentNode, javax.jcr.Session session)
           
static WorkInstanceNodeManager getInstance()
           
 String getInstanceData(javax.jcr.Node instanceNode)
           
 javax.jcr.Node getNodeByUUID(javax.jcr.Session newSession, String uuid)
           
 String getParentNodePath()
           
 String getXMLOnlyForInstanceType(javax.jcr.Node instanceNode)
           
 void ingestItemRecForInstance(RequestDocument linkedItemDocument, String id, javax.jcr.Session session)
           
 
Methods inherited from class org.kuali.ole.docstore.repository.CustomNodeManager
createContentNode, enableVersioning, getBinaryData, getBytesFromInputStream, getData, getParentNode, getStaticFormatNode, initFileNode, initLevelNode, initNonStaticNode, initStaticNode, linkNodes, modifyAdditionalAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.ole.docstore.repository.NodeManager
createContentNode, enableVersioning, getBinaryData, getData, getParentNode, linkNodes
 

Method Detail

getInstance

public static WorkInstanceNodeManager getInstance()

getParentNodePath

public String getParentNodePath()

createFileNode

public javax.jcr.Node createFileNode(RequestDocument document,
                                     String name,
                                     javax.jcr.Node parentNode,
                                     javax.jcr.Session session)
                              throws OleDocStoreException
Specified by:
createFileNode in interface NodeManager
Overrides:
createFileNode in class CustomNodeManager
Throws:
OleDocStoreException

ingestItemRecForInstance

public void ingestItemRecForInstance(RequestDocument linkedItemDocument,
                                     String id,
                                     javax.jcr.Session session)
                              throws OleDocStoreException
Specified by:
ingestItemRecForInstance in interface NodeManager
Overrides:
ingestItemRecForInstance in class CustomNodeManager
Throws:
OleDocStoreException

getNodeByUUID

public javax.jcr.Node getNodeByUUID(javax.jcr.Session newSession,
                                    String uuid)
                             throws OleDocStoreException
Specified by:
getNodeByUUID in interface NodeManager
Overrides:
getNodeByUUID in class CustomNodeManager
Throws:
OleDocStoreException

getInstanceData

public String getInstanceData(javax.jcr.Node instanceNode)
                       throws javax.jcr.RepositoryException,
                              OleDocStoreException,
                              FileNotFoundException
Specified by:
getInstanceData in interface NodeManager
Overrides:
getInstanceData in class CustomNodeManager
Throws:
javax.jcr.RepositoryException
OleDocStoreException
FileNotFoundException

getXMLOnlyForInstanceType

public String getXMLOnlyForInstanceType(javax.jcr.Node instanceNode)
                                 throws javax.jcr.RepositoryException,
                                        OleDocStoreException,
                                        FileNotFoundException
Throws:
javax.jcr.RepositoryException
OleDocStoreException
FileNotFoundException


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