code: public void markResourceAsVisitedBy(CmsObject cms, CmsResource resource, CmsUser user) throws CmsException {
  
          if (!isEnabled()) {
              throw new CmsRuntimeException(Messages.get().container(Messages.ERR_SUBSCRIPTION_MANAGER_DISABLED_0));
          }
          m_securityManager.markResourceAsVisitedBy(cms.getRequestContext(), getPoolName(), resource, user);
      }
docs: Mark the given resource as visited by the user.<p>
  
  @param cms the current users context
  @param resource the resource to mark as visited
  @param user the user that visited the resource
  
  @throws CmsException if something goes wrong