public class CustomNodeManager extends Object implements NodeManager
| Modifier and Type | Field and Description |
|---|---|
protected int |
numLevels |
| Constructor and Description |
|---|
CustomNodeManager() |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Node |
createContentNode(javax.jcr.Node fileNode,
RequestDocument document,
javax.jcr.Node parentNode,
javax.jcr.Session session) |
javax.jcr.Node |
createFileNode(RequestDocument document,
String name,
javax.jcr.Node parentNode,
javax.jcr.Session session) |
void |
enableVersioning(javax.jcr.Node node) |
byte[] |
getBinaryData(javax.jcr.Node nodeByUUID) |
byte[] |
getBytesFromInputStream(InputStream is) |
String |
getData(javax.jcr.Node nodeByUUID) |
static CustomNodeManager |
getInstance() |
String |
getInstanceData(javax.jcr.Node instanceNode) |
javax.jcr.Node |
getNodeByUUID(javax.jcr.Session session,
String uuid) |
javax.jcr.Node |
getParentNode(RequestDocument requestDocument,
javax.jcr.Session session) |
javax.jcr.Node |
getStaticFormatNode(RequestDocument doc,
javax.jcr.Session session) |
void |
ingestItemRecForInstance(RequestDocument reqDoc,
String id,
javax.jcr.Session session) |
javax.jcr.Node |
initFileNode(RequestDocument document,
String name,
javax.jcr.Node parentNode,
javax.jcr.Session session)
Deprecated.
|
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) |
void |
linkNodes(javax.jcr.Node node,
javax.jcr.Node linkedDocumentNode,
javax.jcr.Session session) |
protected void |
modifyAdditionalAttributes(AdditionalAttributes additionalAttributes,
RequestDocument requestDocument) |
protected int numLevels
public CustomNodeManager()
public static CustomNodeManager getInstance()
public javax.jcr.Node getParentNode(RequestDocument requestDocument, javax.jcr.Session session) throws OleDocStoreException
getParentNode in interface NodeManagerOleDocStoreExceptionpublic void linkNodes(javax.jcr.Node node, javax.jcr.Node linkedDocumentNode, javax.jcr.Session session) throws OleDocStoreException
linkNodes in interface NodeManagerOleDocStoreExceptionpublic javax.jcr.Node getStaticFormatNode(RequestDocument doc, javax.jcr.Session session) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic javax.jcr.Node initStaticNode(String nodeName, javax.jcr.Node parentNode, javax.jcr.Session session) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic javax.jcr.Node initNonStaticNode(String nodeName, javax.jcr.Node parentNode) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionprotected void modifyAdditionalAttributes(AdditionalAttributes additionalAttributes, RequestDocument requestDocument)
public javax.jcr.Node initLevelNode(String name, javax.jcr.Node parent, boolean isRecursiveCall, javax.jcr.Session session) throws Exception
Exception@Deprecated public javax.jcr.Node initFileNode(RequestDocument document, String name, javax.jcr.Node parentNode, javax.jcr.Session session) throws Exception
Exceptionpublic javax.jcr.Node createFileNode(RequestDocument document, String name, javax.jcr.Node parentNode, javax.jcr.Session session) throws OleDocStoreException
createFileNode in interface NodeManagerOleDocStoreExceptionpublic javax.jcr.Node createContentNode(javax.jcr.Node fileNode, RequestDocument document, javax.jcr.Node parentNode, javax.jcr.Session session) throws OleDocStoreException
createContentNode in interface NodeManagerOleDocStoreExceptionpublic void enableVersioning(javax.jcr.Node node) throws OleDocStoreException
enableVersioning in interface NodeManagerOleDocStoreExceptionpublic javax.jcr.Node getNodeByUUID(javax.jcr.Session session, String uuid) throws OleDocStoreException
getNodeByUUID in interface NodeManagerOleDocStoreExceptionpublic String getData(javax.jcr.Node nodeByUUID) throws OleDocStoreException, javax.jcr.RepositoryException, FileNotFoundException
getData in interface NodeManagerOleDocStoreExceptionjavax.jcr.RepositoryExceptionFileNotFoundExceptionpublic byte[] getBinaryData(javax.jcr.Node nodeByUUID) throws javax.jcr.RepositoryException, IOException
getBinaryData in interface NodeManagerjavax.jcr.RepositoryExceptionIOExceptionpublic byte[] getBytesFromInputStream(InputStream is) throws IOException
IOExceptionpublic void ingestItemRecForInstance(RequestDocument reqDoc, String id, javax.jcr.Session session) throws OleDocStoreException
ingestItemRecForInstance in interface NodeManagerOleDocStoreExceptionpublic String getInstanceData(javax.jcr.Node instanceNode) throws javax.jcr.RepositoryException, OleDocStoreException, FileNotFoundException
getInstanceData in interface NodeManagerjavax.jcr.RepositoryExceptionOleDocStoreExceptionFileNotFoundExceptionCopyright © 2004–2015 The Kuali Foundation. All rights reserved.