Skip navigation links

Oracle® Fusion Middleware JCR Adapter Java API Reference
11g Release 1 (11.1)

E17351-01


oracle.stellent.jcr
Class IdcPersistenceManager

java.lang.Object
  extended by oracle.stellent.jcr.IdcPersistenceManager

All Implemented Interfaces:
oracle.jcr.spi.PersistenceManager

public class IdcPersistenceManager
extends java.lang.Object
implements oracle.jcr.spi.PersistenceManager

Field Summary
 oracle.stellent.ridc.IdcClient m_client
           
 IdcConnection m_connection
           
 oracle.stellent.ridc.IdcContext m_context
           
protected  javax.xml.parsers.DocumentBuilder m_docBuilder
           
protected  javax.xml.parsers.DocumentBuilderFactory m_docBuilderFactory
           
protected  java.util.Map m_nodeTypes
           
protected  IdcPersistenceManagerFactory m_persistenceManagerFactory
           
protected  oracle.jcr.impl.OracleSessionImpl m_session
           
protected static java.lang.String[] STANDARD_DATE_FIELDS
           
protected static java.lang.String[] STANDARD_INTEGER_FIELDS
           
protected static java.lang.String[] STANDARD_TEXT_FIELDS
           
protected static int TYPE_DATE
           
protected static int TYPE_INTEGER
           
protected static int TYPE_TEXT
           

 

Constructor Summary
protected IdcPersistenceManager(IdcPersistenceManagerFactory persistenceManagerFactory, oracle.stellent.ridc.IdcContext context, IdcConnection connection)
          A constructor for an IdcPersistenceManager called by an IdcPersistenceManagerFactory.

 

Method Summary
 void commit()
          
 void copyResource(oracle.jcr.impl.Path srcAbsPath, oracle.jcr.impl.Path dstAbsPath)
          
 oracle.jcr.spi.SaveOperation createSaveOperation()
          
 void disconnect()
          
protected  java.util.List<IdcResource> doQuery(IdcXpathQuery query)
           
 oracle.jcr.spi.ResourceNodePathIterator executeQuery(oracle.jcr.impl.query.OracleQueryImpl query)
          
 oracle.jcr.impl.ResourceIterator getChildResources(oracle.jcr.spi.Resource resource)
          
protected  java.io.InputStream getContent(java.lang.String dID, java.lang.String dDocName)
           
protected  javax.xml.parsers.DocumentBuilder getDocumentBuilder()
           
protected  java.lang.String getFolderPath(java.lang.String folderId)
           
 java.lang.String getJCRNameForXMLName(java.lang.String localPart)
          
protected  int getMetaType(java.lang.String name)
           
 java.util.Map getNamespacePrefixesByURI()
          
 oracle.jcr.spi.Resource getResourceByAbsolutePath(oracle.jcr.impl.Path path)
          
 oracle.jcr.spi.Resource getResourceByRelativePath(oracle.jcr.spi.Resource resource, oracle.jcr.impl.Path path)
          
 oracle.jcr.spi.Resource getResourceByUUID(java.lang.String uuid)
          
protected  oracle.jcr.spi.Resource getRootNode()
           
 java.lang.String getUserID()
          
 java.lang.String getXMLNameForJCRName(java.lang.String localPart)
          
static java.lang.Object idcVersionInfo(java.lang.Object arg)
           
 java.util.List<IdcResource> listFolder(java.lang.String uuid, java.lang.String path, boolean listFolders, boolean listFiles)
           
 void moveResource(oracle.jcr.impl.Path srcAbsPath, oracle.jcr.impl.Path dstAbsPath)
          
 void parseQuery(oracle.jcr.impl.query.OracleQueryImpl query)
          
 void registerNamespace(java.lang.String prefix, java.lang.String uri)
          
 void registerNodeTypes(oracle.jcr.impl.nodetype.RepositoryNodeTypeManager nodeTypeManager)
          
 void registerXMLSchema(java.lang.String schemaLocation, java.lang.String jcrNodeTypeNamespace)
          
 void rollback()
          
 void setSession(oracle.jcr.impl.OracleSessionImpl session)
          
 void unregisterNamespace(java.lang.String prefix)
          
 void unregisterXMLSchema(java.lang.String schemaLocation)
          
 void verifyConnected()
          

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

m_session

protected oracle.jcr.impl.OracleSessionImpl m_session

m_persistenceManagerFactory

protected IdcPersistenceManagerFactory m_persistenceManagerFactory

m_nodeTypes

protected java.util.Map m_nodeTypes

m_connection

public IdcConnection m_connection

m_client

public oracle.stellent.ridc.IdcClient m_client

m_context

public oracle.stellent.ridc.IdcContext m_context

m_docBuilderFactory

protected javax.xml.parsers.DocumentBuilderFactory m_docBuilderFactory

m_docBuilder

protected javax.xml.parsers.DocumentBuilder m_docBuilder

TYPE_TEXT

protected static final int TYPE_TEXT
See Also:
Constant Field Values

TYPE_INTEGER

protected static final int TYPE_INTEGER
See Also:
Constant Field Values

TYPE_DATE

protected static final int TYPE_DATE
See Also:
Constant Field Values

STANDARD_TEXT_FIELDS

protected static final java.lang.String[] STANDARD_TEXT_FIELDS

STANDARD_INTEGER_FIELDS

protected static final java.lang.String[] STANDARD_INTEGER_FIELDS

STANDARD_DATE_FIELDS

protected static final java.lang.String[] STANDARD_DATE_FIELDS

Constructor Detail

IdcPersistenceManager

protected IdcPersistenceManager(IdcPersistenceManagerFactory persistenceManagerFactory,
                                oracle.stellent.ridc.IdcContext context,
                                IdcConnection connection)
                         throws javax.jcr.RepositoryException
A constructor for an IdcPersistenceManager called by an IdcPersistenceManagerFactory.
Parameters:
persistenceManagerFactory - The IdcPersistenceManagerFactory calling this method.
context - A CIS context to be associated with this PersistenceManager.
Throws:
javax.jcr.RepositoryException

Method Detail

getMetaType

protected int getMetaType(java.lang.String name)

setSession

public void setSession(oracle.jcr.impl.OracleSessionImpl session)
Specified by:
setSession in interface oracle.jcr.spi.PersistenceManager

disconnect

public void disconnect()
Specified by:
disconnect in interface oracle.jcr.spi.PersistenceManager

verifyConnected

public void verifyConnected()
                     throws java.lang.IllegalStateException
Specified by:
verifyConnected in interface oracle.jcr.spi.PersistenceManager
Throws:
java.lang.IllegalStateException

getUserID

public java.lang.String getUserID()
                           throws javax.jcr.RepositoryException
Specified by:
getUserID in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

getNamespacePrefixesByURI

public java.util.Map getNamespacePrefixesByURI()
Specified by:
getNamespacePrefixesByURI in interface oracle.jcr.spi.PersistenceManager

getXMLNameForJCRName

public java.lang.String getXMLNameForJCRName(java.lang.String localPart)
Specified by:
getXMLNameForJCRName in interface oracle.jcr.spi.PersistenceManager

getJCRNameForXMLName

public java.lang.String getJCRNameForXMLName(java.lang.String localPart)
Specified by:
getJCRNameForXMLName in interface oracle.jcr.spi.PersistenceManager

registerNodeTypes

public void registerNodeTypes(oracle.jcr.impl.nodetype.RepositoryNodeTypeManager nodeTypeManager)
                       throws javax.jcr.RepositoryException
Specified by:
registerNodeTypes in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

registerXMLSchema

public void registerXMLSchema(java.lang.String schemaLocation,
                              java.lang.String jcrNodeTypeNamespace)
                       throws javax.jcr.RepositoryException
Specified by:
registerXMLSchema in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

unregisterXMLSchema

public void unregisterXMLSchema(java.lang.String schemaLocation)
                         throws javax.jcr.RepositoryException
Specified by:
unregisterXMLSchema in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

getResourceByUUID

public oracle.jcr.spi.Resource getResourceByUUID(java.lang.String uuid)
                                          throws oracle.jcr.impl.exception.ItemNotFoundException,
                                                 javax.jcr.RepositoryException
Specified by:
getResourceByUUID in interface oracle.jcr.spi.PersistenceManager
Throws:
oracle.jcr.impl.exception.ItemNotFoundException
javax.jcr.RepositoryException

getResourceByAbsolutePath

public oracle.jcr.spi.Resource getResourceByAbsolutePath(oracle.jcr.impl.Path path)
                                                  throws javax.jcr.PathNotFoundException,
                                                         javax.jcr.RepositoryException
Specified by:
getResourceByAbsolutePath in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

getResourceByRelativePath

public oracle.jcr.spi.Resource getResourceByRelativePath(oracle.jcr.spi.Resource resource,
                                                         oracle.jcr.impl.Path path)
                                                  throws javax.jcr.PathNotFoundException,
                                                         javax.jcr.RepositoryException
Specified by:
getResourceByRelativePath in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

getChildResources

public oracle.jcr.impl.ResourceIterator getChildResources(oracle.jcr.spi.Resource resource)
                                                   throws javax.jcr.PathNotFoundException,
                                                          javax.jcr.RepositoryException
Specified by:
getChildResources in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

listFolder

public java.util.List<IdcResource> listFolder(java.lang.String uuid,
                                              java.lang.String path,
                                              boolean listFolders,
                                              boolean listFiles)
                                       throws javax.jcr.PathNotFoundException,
                                              javax.jcr.RepositoryException
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

parseQuery

public void parseQuery(oracle.jcr.impl.query.OracleQueryImpl query)
                throws javax.jcr.query.InvalidQueryException,
                       javax.jcr.RepositoryException
Specified by:
parseQuery in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.query.InvalidQueryException
javax.jcr.RepositoryException

executeQuery

public oracle.jcr.spi.ResourceNodePathIterator executeQuery(oracle.jcr.impl.query.OracleQueryImpl query)
                                                     throws javax.jcr.RepositoryException
Specified by:
executeQuery in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

registerNamespace

public void registerNamespace(java.lang.String prefix,
                              java.lang.String uri)
                       throws javax.jcr.RepositoryException
Specified by:
registerNamespace in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

unregisterNamespace

public void unregisterNamespace(java.lang.String prefix)
                         throws javax.jcr.RepositoryException
Specified by:
unregisterNamespace in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

commit

public void commit()
            throws javax.jcr.RepositoryException
Specified by:
commit in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

rollback

public void rollback()
              throws javax.jcr.RepositoryException
Specified by:
rollback in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

createSaveOperation

public oracle.jcr.spi.SaveOperation createSaveOperation()
                                                 throws javax.jcr.RepositoryException
Specified by:
createSaveOperation in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

copyResource

public void copyResource(oracle.jcr.impl.Path srcAbsPath,
                         oracle.jcr.impl.Path dstAbsPath)
                  throws javax.jcr.RepositoryException
Specified by:
copyResource in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

moveResource

public void moveResource(oracle.jcr.impl.Path srcAbsPath,
                         oracle.jcr.impl.Path dstAbsPath)
                  throws javax.jcr.RepositoryException
Specified by:
moveResource in interface oracle.jcr.spi.PersistenceManager
Throws:
javax.jcr.RepositoryException

getContent

protected java.io.InputStream getContent(java.lang.String dID,
                                         java.lang.String dDocName)
                                  throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getFolderPath

protected java.lang.String getFolderPath(java.lang.String folderId)
                                  throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getRootNode

protected oracle.jcr.spi.Resource getRootNode()
                                       throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

doQuery

protected java.util.List<IdcResource> doQuery(IdcXpathQuery query)
                                       throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getDocumentBuilder

protected javax.xml.parsers.DocumentBuilder getDocumentBuilder()

idcVersionInfo

public static java.lang.Object idcVersionInfo(java.lang.Object arg)

Skip navigation links

Oracle® Fusion Middleware JCR Adapter Java API Reference
11g Release 1 (11.1)

E17351-01


Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved.