Package org.opencms.db.postgresql
Class CmsHistoryDriver
java.lang.Object
org.opencms.db.generic.CmsHistoryDriver
org.opencms.db.postgresql.CmsHistoryDriver
- All Implemented Interfaces:
I_CmsDriver
,I_CmsHistoryDriver
PostgreSql implementation of the history driver methods.
- Since:
- 6.9.1
-
Field Summary
Fields inherited from class org.opencms.db.generic.CmsHistoryDriver
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_CmsHistoryDriver
DRIVER_TYPE_ID
-
Constructor Summary
-
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, writeResource
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
-
CmsHistoryDriver
public CmsHistoryDriver()
-
-
Method Details
-
initSqlManager
Description copied from interface:I_CmsHistoryDriver
Initializes the SQL manager for this driver.- Specified by:
initSqlManager
in interfaceI_CmsHistoryDriver
- Overrides:
initSqlManager
in classCmsHistoryDriver
- Parameters:
classname
- the classname of the SQL manager- Returns:
- the SQL manager for this driver
- See Also:
-
readProjects
Description copied from interface:I_CmsHistoryDriver
Returns all projects from the history.- Specified by:
readProjects
in interfaceI_CmsHistoryDriver
- Overrides:
readProjects
in 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:
-