public class CmsProjectDriver extends CmsProjectDriver
DBC_ATTR_READ_PROJECT_FOR_RESOURCE, m_driverManager, m_sqlManagerAND_CONDITION, BEGIN_CONDITION, BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, OR_CONDITIONDRIVER_TYPE_ID, SETUP_PROJECT_NAME, TEMP_FILE_PROJECT_NAME| Constructor and Description |
|---|
CmsProjectDriver() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, writeUserPublishListEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic CmsProjectDriver()
public void createPublishJob(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) throws CmsDataAccessException
I_CmsProjectDrivercreatePublishJob in interface I_CmsProjectDrivercreatePublishJob in class CmsProjectDriverdbc - the current database contextpublishJob - the publish job dataCmsDataAccessException - if something goes wrongI_CmsProjectDriver.createPublishJob(org.opencms.db.CmsDbContext, org.opencms.publish.CmsPublishJobInfoBean)public CmsSqlManager initSqlManager(java.lang.String classname)
I_CmsProjectDriverTo obtain JDBC connections from different pools, further {online|offline|history} pool Urls have to be specified.
initSqlManager in interface I_CmsProjectDriverinitSqlManager in class CmsProjectDriverclassname - the classname of the SQL managerI_CmsProjectDriver.initSqlManager(String)public void writePublishReport(CmsDbContext dbc, CmsUUID publishId, byte[] content) throws CmsDataAccessException
I_CmsProjectDriverwritePublishReport in interface I_CmsProjectDriverwritePublishReport in class CmsProjectDriverdbc - the current database contextpublishId - the ID of the current publishing processcontent - the report outputCmsDataAccessException - if something goes wrongI_CmsProjectDriver.writePublishReport(org.opencms.db.CmsDbContext, org.opencms.util.CmsUUID, byte[])