org.opencms.db.mssql
Class CmsHistoryDriver

java.lang.Object
  extended by org.opencms.db.generic.CmsHistoryDriver
      extended by org.opencms.db.mssql.CmsHistoryDriver
All Implemented Interfaces:
I_CmsDriver, I_CmsHistoryDriver
Direct Known Subclasses:
CmsBackupDriver

public class CmsHistoryDriver
extends CmsHistoryDriver

MS SQL implementation of the history driver methods.

Since:
6.9.1
Version:
$Revision: 1.9 $
Author:
Andras Balogh

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
CmsHistoryDriver()
           
 
Method Summary
 CmsSqlManager initSqlManager(java.lang.String classname)
          Initializes the SQL manager for this driver.
 java.util.List 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, readFile, 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 Detail

CmsHistoryDriver

public CmsHistoryDriver()
Method Detail

initSqlManager

public CmsSqlManager initSqlManager(java.lang.String classname)
Description copied from interface: I_CmsHistoryDriver
Initializes the SQL manager for this driver.

Specified by:
initSqlManager in interface I_CmsHistoryDriver
Overrides:
initSqlManager in class CmsHistoryDriver
Parameters:
classname - the classname of the SQL manager
Returns:
the SQL manager for this driver
See Also:
I_CmsHistoryDriver.initSqlManager(String)

readProjects

public java.util.List readProjects(CmsDbContext dbc)
                            throws CmsDataAccessException
Description copied from interface: I_CmsHistoryDriver
Returns all projects from the history.

Specified by:
readProjects in interface I_CmsHistoryDriver
Overrides:
readProjects in class CmsHistoryDriver
Parameters:
dbc - the current database context
Returns:
list of CmsHistoryProject objects with all projects from history.
Throws:
CmsDataAccessException - if an error occurs
See Also:
I_CmsHistoryDriver.readProjects(org.opencms.db.CmsDbContext)