using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Sockeye.Biz;
namespace Sockeye.PickList
{
    internal interface IAyaPickList
    {        
        //sql query from fragment with table joins et
        string SQLFrom { get; set; }
        //List of fields for this object
        List<AyaPickListFieldDefinition> ColumnDefinitions { get; set; }
        //allowed roles to access this list
        AuthorizationRoles AllowedRoles { get; set; }
        //Default object type to open for rows of this list (use no object if no)
        SockType DefaultListAType { get; set; }
        //Default / STOCK template when none is specified
        string DefaultTemplate { get; set; }       
        List<string> GetFieldListFromTemplate(JArray fieldListArray);        
    }
}