using System.Collections.Generic;
namespace Stat.IDAL
{
    public interface IViewEngine
    {
        /// <summary>
        /// 获取搜索引擎
        /// </summary>
        /// <param name="model"></param> 
        /// <returns></returns>
        List<Model.StatItem> GetList(Model.StatInfo model);
        /// <summary>
        ///Engine
        /// </summary>
        /// <param name="model"></param> 
        /// <returns></returns>
        List<Model.ViewItem_Engine> GetItem(Model.StatInfo model);
        /// <summary>
        /// 用在 生成报表时
        /// </summary>
        /// <returns></returns>
        /// <remarks>By juju 2011-10-24</remarks>
        List<Stat.Model.ViewClick> GetView(Stat.Model.StatInfo model);
        /// <summary>
        /// 获取搜索引擎详细记录(基础表)
        /// </summary>
        /// <param name="pageInfo"></param>
        /// <param name="searchInfo"></param>
        /// <returns></returns>
        /// <remarks>Juju 2011-10-25</remarks>
        List<Model.ViewClick> GetDetailFromGether(ref Model.PageInfo pageInfo, Model.SearchInfo searchInfo);
        /// <summary>
        /// 获取搜索引擎详细记录(综合表)
        /// </summary>
        /// <param name="pageInfo"></param>
        /// <param name="searchInfo"></param>
        /// <returns></returns>
        /// <remarks>Juju 2011-10-25</remarks>
        List<Model.ViewClick> GetDetailFromMaster(ref Model.PageInfo pageInfo, Model.SearchInfo searchInfo);
    }
}
