public class CmsSubscriptionDriver extends CmsSubscriptionDriver
m_driverManager, m_sqlManagerAND_CONDITION, BEGIN_CONDITION, BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, OR_CONDITIONDRIVER_TYPE_ID| 构造器和说明 |
|---|
CmsSubscriptionDriver() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 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 在接口中 I_CmsSubscriptionDriverinitSqlManager 在类中 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 在接口中 I_CmsSubscriptionDrivermarkResourceAsVisitedBy 在类中 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)