using Sockeye.Models;
namespace Sockeye.DataList
{
    internal interface IDataListInternalCriteria
    {
        //Additional criteria for security or other reasons
        //hard coded into some lists (e.g. MemoDataList so users can't get other people's memos)
        //clientCriteria is additional criteria provided by client to list to process as it sees fit (e.g. CustomerNoteDataList requires customer id from client)
        System.Collections.Generic.List<DataListFilterOption> DataListInternalCriteria(long currentUserId, Sockeye.Biz.AuthorizationRoles userRoles, string clientCriteria);
    }
}