public List<CmsResource> readResourcesVisitedBy(
        CmsRequestContext context,
        String poolName,
        CmsVisitedByFilter filter)
    throws CmsException {

        List<CmsResource> result = null;
        CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
        try {
            result = m_driverManager.readResourcesVisitedBy(dbc, poolName, filter);
        } catch (Exception e) {
            dbc.report(null, Messages.get().container(Messages.ERR_READ_VISITED_RESOURCES_1, filter.toString()), e);
        } finally {
            dbc.clear();
        }
        return result;
    }
public List < CmsResource > readResourcesVisitedBy ( CmsRequestContext context , String poolName , CmsVisitedByFilter filter ) throws CmsException { List < CmsResource > result = null ; CmsDbContext dbc = m_dbContextFactory . getDbContext ( context ) ; try { result = m_driverManager . readResourcesVisitedBy ( dbc , poolName , filter ) ; } catch ( Exception e ) { dbc . report ( null , Messages . get ( ) . container ( Messages . ERR_READ_VISITED_RESOURCES_1 , filter . toString ( ) ) , e ) ; } finally { dbc . clear ( ) ; } return result ; }
Returns the resources that were visited by a user set in the filter.<p>

@param context the request context
@param poolName the name of the database pool to use
@param filter the filter that is used to get the visited resources

@return the resources that were visited by a user set in the filter

@throws CmsException if something goes wrong