public long getDateLastVisitedBy(CmsObject cms, CmsUser user, String resourcePath) throws CmsException {

        CmsResource resource = cms.readResource(resourcePath, CmsResourceFilter.ALL);
        return m_securityManager.getDateLastVisitedBy(cms.getRequestContext(), getPoolName(), user, resource);
    }
public long getDateLastVisitedBy ( CmsObject cms , CmsUser user , String resourcePath ) throws CmsException { CmsResource resource = cms . readResource ( resourcePath , CmsResourceFilter . ALL ) ; return m_securityManager . getDateLastVisitedBy ( cms . getRequestContext ( ) , getPoolName ( ) , user , resource ) ; }
Returns the date when the resource was last visited by the user.<p>

@param cms the current users context
@param user the user to check the date
@param resourcePath the name of the resource to check the date

@return the date when the resource was last visited by the user

@throws CmsException if something goes wrong