public class CmsSubscriptionDriver extends CmsSubscriptionDriver
m_driverManager, m_sqlManagerAND_CONDITION, BEGIN_CONDITION, BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, OR_CONDITIONDRIVER_TYPE_ID| Constructor and Description |
|---|
CmsSubscriptionDriver() |
| Modifier and Type | Method and Description |
|---|---|
CmsSqlManager |
initSqlManager(java.lang.String classname)
Initializes the SQL manager for this driver.
|
void |
markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user)
Mark the given resource as visited by the user.
|
addVisit, deleteVisits, getDateLastVisitedBy, getSqlManager, init, internalReadVisitEntry, prepareVisitConditions, readAllSubscribedResources, readResourcesVisitedBy, readSubscribedDeletedResources, readSubscribedResources, readVisits, setSubscribedResourceAsDeleted, subscribeResourceFor, unsubscribeAllDeletedResources, unsubscribeAllResourcesFor, unsubscribeResourceFor, unsubscribeResourceForAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic CmsSubscriptionDriver()
public CmsSqlManager initSqlManager(java.lang.String classname)
I_CmsSubscriptionDriverTo obtain JDBC connections from different pools, further {online|offline|history} pool Urls have to be specified.
initSqlManager in interface I_CmsSubscriptionDriverinitSqlManager in class CmsSubscriptionDriverclassname - the classname of the SQL managerCmsSubscriptionDriver.initSqlManager(java.lang.String)public void markResourceAsVisitedBy(CmsDbContext dbc, java.lang.String poolName, CmsResource resource, CmsUser user) throws CmsDataAccessException
I_CmsSubscriptionDrivermarkResourceAsVisitedBy in interface I_CmsSubscriptionDrivermarkResourceAsVisitedBy in class CmsSubscriptionDriverdbc - the database contextpoolName - the name of the database pool to useresource - the resource to mark as visiteduser - the user that visited the resourceCmsDataAccessException - if something goes wrongCmsSubscriptionDriver.markResourceAsVisitedBy(org.opencms.db.CmsDbContext, java.lang.String, org.opencms.file.CmsResource, org.opencms.file.CmsUser)