Package org.opencms.db.oracle
Class CmsProjectDriver
java.lang.Object
org.opencms.db.generic.CmsProjectDriver
org.opencms.db.oracle.CmsProjectDriver
- All Implemented Interfaces:
I_CmsDriver
,I_CmsProjectDriver
Oracle/OCI implementation of the project driver methods.
- Since:
- 6.0.0
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createPublishJob
(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) Inserts an entry for a publish job .initSqlManager
(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
cleanupPublishHistory, createProject, createProjectResource, createPublishJobInfoBean, deleteAllStaticExportPublishedResources, deleteLog, deleteProject, deleteProjectResource, deleteProjectResources, deletePublishHistory, deletePublishHistoryEntry, deletePublishJob, deletePublishList, deleteStaticExportPublishedResource, deleteUserPublishListEntries, destroy, fillDefaults, fixMovedResource, getParameterString, getSqlManager, getUsersPubList, getUsersPubListFromLog, init, internalCreateProject, internalDeserializePublishList, internalReadLogEntry, internalResetResourceState, internalSerializePublishList, internalWriteHistory, log, prepareLogConditions, publishChangedFile, publishDeletedFile, publishDeletedFolder, publishFile, publishFileContent, publishFolder, publishNewFile, publishProject, readLocks, readLog, readProject, readProject, readProjectResource, readProjectResources, readProjects, readProjectsForGroup, readProjectsForManagerGroup, readProjectsForResource, readProjectsForUser, readPublishedResources, readPublishJob, readPublishJobs, readPublishList, readPublishReportContents, readStaticExportPublishedResourceParameters, readStaticExportResources, setDriverManager, setSqlManager, unmarkProjectResources, writeLocks, writeProject, writePublishHistory, writePublishJob, writeStaticExportPublishedResource, writeUserPublishListEntries
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 Details
-
CmsProjectDriver
public CmsProjectDriver()
-
-
Method Details
-
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 interfaceI_CmsProjectDriver
- Overrides:
createPublishJob
in classCmsProjectDriver
- Parameters:
dbc
- the current database contextpublishJob
- the publish job data- Throws:
CmsDataAccessException
- if something goes wrong- See Also:
-
initSqlManager
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 interfaceI_CmsProjectDriver
- Overrides:
initSqlManager
in classCmsProjectDriver
- Parameters:
classname
- the classname of the SQL manager- Returns:
- the SQL manager for this driver
- See Also:
-
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 interfaceI_CmsProjectDriver
- Overrides:
writePublishReport
in classCmsProjectDriver
- Parameters:
dbc
- the current database contextpublishId
- the ID of the current publishing processcontent
- the report output- Throws:
CmsDataAccessException
- if something goes wrong- See Also:
-