org.opencms.db.oracle
Class CmsVfsDriver

java.lang.Object
  extended byorg.opencms.db.generic.CmsVfsDriver
      extended byorg.opencms.db.oracle.CmsVfsDriver
All Implemented Interfaces:
I_CmsDriver, I_CmsVfsDriver
Direct Known Subclasses:
CmsVfsDriver

public class CmsVfsDriver
extends CmsVfsDriver

Oracle implementation of the VFS driver methods.

Since:
6.0.0
Version:
$Revision: 1.36 $
Author:
Thomas Weckert, Carsten Weinholz

Field Summary
 
Fields inherited from class org.opencms.db.generic.CmsVfsDriver
BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, m_driverManager, m_sqlManager
 
Fields inherited from interface org.opencms.db.I_CmsVfsDriver
DRIVER_TYPE_ID
 
Constructor Summary
CmsVfsDriver()
           
 
Method Summary
 void createContent(CmsDbContext dbc, CmsProject project, CmsUUID resourceId, byte[] content, int versionId)
          Creates a resource content with the specified id.
 CmsSqlManager initSqlManager(java.lang.String classname)
          Initializes the SQL manager for this driver.
 void writeContent(CmsDbContext dbc, CmsProject project, CmsUUID resourceId, byte[] content)
          Writes the resource content with the specified content id.
 
Methods inherited from class org.opencms.db.generic.CmsVfsDriver
createFile, createFile, createFolder, createPropertyDefinition, createResource, createResource, createSibling, deletePropertyDefinition, deletePropertyObjects, destroy, escapeDbWildcard, finalize, getSqlManager, init, internalCountProperties, internalCountSiblings, internalReadParentId, internalRemoveFolder, internalValidateResourceLength, publishResource, readChildResources, readFile, readFolder, readFolder, readPropertyDefinition, readPropertyDefinitions, readPropertyObject, readPropertyObjects, readResource, readResource, readResources, readResourcesForPrincipalACE, readResourcesForPrincipalAttr, readResourcesWithProperty, readResourcesWithProperty, readResourceTree, readSiblings, removeFile, removeFolder, replaceResource, transferResource, validateResourceIdExists, validateStructureIdExists, writeLastModifiedProjectId, writePropertyObject, writePropertyObjects, writeResource, writeResourceState
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencms.db.I_CmsDriver
toString
 

Constructor Detail

CmsVfsDriver

public CmsVfsDriver()
Method Detail

createContent

public void createContent(CmsDbContext dbc,
                          CmsProject project,
                          CmsUUID resourceId,
                          byte[] content,
                          int versionId)
                   throws CmsDataAccessException
Description copied from interface: I_CmsVfsDriver
Creates a resource content with the specified id.

Specified by:
createContent in interface I_CmsVfsDriver
Overrides:
createContent in class CmsVfsDriver
Throws:
CmsDataAccessException
See Also:
I_CmsVfsDriver.createContent(org.opencms.db.CmsDbContext, org.opencms.file.CmsProject, org.opencms.util.CmsUUID, byte[], int)

initSqlManager

public CmsSqlManager initSqlManager(java.lang.String classname)
Description copied from interface: I_CmsVfsDriver
Initializes the SQL manager for this driver.

To obtain JDBC connections from different pools, further {online|offline|backup} pool Urls have to be specified.

Specified by:
initSqlManager in interface I_CmsVfsDriver
Overrides:
initSqlManager in class CmsVfsDriver
See Also:
I_CmsVfsDriver.initSqlManager(String)

writeContent

public void writeContent(CmsDbContext dbc,
                         CmsProject project,
                         CmsUUID resourceId,
                         byte[] content)
                  throws CmsDataAccessException
Description copied from interface: I_CmsVfsDriver
Writes the resource content with the specified content id.

Specified by:
writeContent in interface I_CmsVfsDriver
Overrides:
writeContent in class CmsVfsDriver
Throws:
CmsDataAccessException
See Also:
I_CmsVfsDriver.writeContent(org.opencms.db.CmsDbContext, org.opencms.file.CmsProject, org.opencms.util.CmsUUID, byte[])