org.opencms.db.oracle
Class CmsProjectDriver

java.lang.Object
  extended by org.opencms.db.generic.CmsProjectDriver
      extended by org.opencms.db.oracle.CmsProjectDriver
All Implemented Interfaces:
I_CmsDriver, I_CmsProjectDriver
Direct Known Subclasses:
CmsProjectDriver

public class CmsProjectDriver
extends CmsProjectDriver

Oracle/OCI implementation of the project driver methods.

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

Field Summary
 
Fields inherited from class org.opencms.db.generic.CmsProjectDriver
DBC_ATTR_READ_PROJECT_FOR_RESOURCE, m_driverManager, m_sqlManager
 
Fields inherited from interface org.opencms.db.I_CmsDriver
AND_CONDITION, BEGIN_CONDITION, BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, OR_CONDITION
 
Fields inherited from interface org.opencms.db.I_CmsProjectDriver
DRIVER_TYPE_ID, SETUP_PROJECT_NAME, TEMP_FILE_PROJECT_NAME
 
Constructor Summary
CmsProjectDriver()
           
 
Method Summary
 void createPublishJob(CmsDbContext dbc, CmsPublishJobInfoBean publishJob)
          Inserts an entry for a publish job .
 CmsSqlManager initSqlManager(java.lang.String classname)
          Initializes the SQL manager for this driver.
 void writePublishReport(CmsDbContext dbc, CmsUUID publishId, byte[] content)
          Writes a publish report for a publish job.
 
Methods inherited from class org.opencms.db.generic.CmsProjectDriver
createProject, createProjectResource, createPublishJobInfoBean, deleteAllStaticExportPublishedResources, deleteProject, deleteProjectResource, deleteProjectResources, deletePublishHistory, deletePublishHistoryEntry, deletePublishJob, deletePublishList, deleteStaticExportPublishedResource, destroy, fillDefaults, fixMovedResource, getSqlManager, init, internalCreateProject, internalDeserializePublishList, internalResetResourceState, internalSerializePublishList, internalWriteHistory, publishChangedFile, publishDeletedFile, publishDeletedFolder, publishFile, publishFileContent, publishFolder, publishNewFile, publishProject, readLocks, readProject, readProject, readProjectResource, readProjectResources, readProjects, readProjectsForGroup, readProjectsForManagerGroup, readProjectsForResource, readProjectsForUser, readPublishedResources, readPublishJob, readPublishJobs, readPublishList, readPublishReportContents, readStaticExportPublishedResourceParameters, readStaticExportResources, setDriverManager, setSqlManager, unmarkProjectResources, writeLocks, writeProject, writePublishHistory, writePublishJob, writeStaticExportPublishedResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencms.db.I_CmsDriver
toString
 

Constructor Detail

CmsProjectDriver

public CmsProjectDriver()
Method Detail

createPublishJob

public void createPublishJob(CmsDbContext dbc,
                             CmsPublishJobInfoBean publishJob)
                      throws CmsDataAccessException
Description copied from interface: I_CmsProjectDriver
Inserts an entry for a publish job .

Specified by:
createPublishJob in interface I_CmsProjectDriver
Overrides:
createPublishJob in class CmsProjectDriver
Parameters:
dbc - the current database context
publishJob - the publish job data
Throws:
CmsDataAccessException - if something goes wrong
See Also:
I_CmsProjectDriver.createPublishJob(org.opencms.db.CmsDbContext, org.opencms.publish.CmsPublishJobInfoBean)

writePublishReport

public void writePublishReport(CmsDbContext dbc,
                               CmsUUID publishId,
                               byte[] content)
                        throws CmsDataAccessException
Description copied from interface: I_CmsProjectDriver
Writes a publish report for a publish job.

Specified by:
writePublishReport in interface I_CmsProjectDriver
Overrides:
writePublishReport in class CmsProjectDriver
Parameters:
dbc - the current database context
publishId - the ID of the current publishing process
content - the report output
Throws:
CmsDataAccessException - if something goes wrong
See Also:
I_CmsProjectDriver.writePublishReport(org.opencms.db.CmsDbContext, org.opencms.util.CmsUUID, byte[])

initSqlManager

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

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

Specified by:
initSqlManager in interface I_CmsProjectDriver
Overrides:
initSqlManager in class CmsProjectDriver
Parameters:
classname - the classname of the SQL manager
Returns:
the SQL manager for this driver
See Also:
I_CmsProjectDriver.initSqlManager(String)