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_sqlManagerFields inherited from interface org.opencms.db.I_CmsDriver
AND_CONDITION, BEGIN_CONDITION, BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, OR_CONDITIONFields inherited from interface org.opencms.db.I_CmsProjectDriver
DRIVER_TYPE_ID, SETUP_PROJECT_NAME, TEMP_FILE_PROJECT_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePublishJob(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) Inserts an entry for a publish job .initSqlManager(String classname) Initializes the SQL manager for this driver.voidwritePublishReport(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, writeUserPublishListEntriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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_CmsProjectDriverInserts an entry for a publish job .- Specified by:
createPublishJobin interfaceI_CmsProjectDriver- Overrides:
createPublishJobin 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_CmsProjectDriverInitializes 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:
initSqlManagerin interfaceI_CmsProjectDriver- Overrides:
initSqlManagerin 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_CmsProjectDriverWrites a publish report for a publish job.- Specified by:
writePublishReportin interfaceI_CmsProjectDriver- Overrides:
writePublishReportin 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:
-