Package org.opencms.db.oracle
Class CmsHistoryDriver
java.lang.Object
org.opencms.db.generic.CmsHistoryDriver
org.opencms.db.oracle.CmsHistoryDriver
- All Implemented Interfaces:
I_CmsDriver,I_CmsHistoryDriver
Oracle implementation of the history driver methods.
- Since:
- 6.9.1
-
Field Summary
Fields inherited from class org.opencms.db.generic.CmsHistoryDriver
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_CmsHistoryDriver
DRIVER_TYPE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninitSqlManager(String classname) Initializes the SQL manager for this driver.readProjects(CmsDbContext dbc) Returns all projects from the history.Methods inherited from class org.opencms.db.generic.CmsHistoryDriver
createPropertyDefinition, deleteEntries, deletePropertyDefinition, destroy, getAllDeletedEntries, getAllNotDeletedEntries, getSqlManager, init, internalAddToPropMap, internalCleanup, internalCountProperties, internalCreateProject, internalCreateResource, internalMergeResource, internalValidateResource, readAllAvailableVersions, readContent, readDeletedResources, readLastVersion, readMaxPublishTag, readNextPublishTag, readPrincipal, readProject, readProject, readProjectResources, readProperties, readPropertyDefinition, readPublishTag, readResource, setDriverManager, setSqlManager, writePrincipal, writeProject, writeProperties, writeResourceMethods 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
-
CmsHistoryDriver
public CmsHistoryDriver()
-
-
Method Details
-
initSqlManager
Description copied from interface:I_CmsHistoryDriverInitializes the SQL manager for this driver.- Specified by:
initSqlManagerin interfaceI_CmsHistoryDriver- Overrides:
initSqlManagerin classCmsHistoryDriver- Parameters:
classname- the classname of the SQL manager- Returns:
- the SQL manager for this driver
- See Also:
-
readProjects
Description copied from interface:I_CmsHistoryDriverReturns all projects from the history.- Specified by:
readProjectsin interfaceI_CmsHistoryDriver- Overrides:
readProjectsin classCmsHistoryDriver- Parameters:
dbc- the current database context- Returns:
- list of
objects with all projects from history.CmsHistoryProject - Throws:
CmsDataAccessException- if an error occurs- See Also:
-