This commit is contained in:
2020-03-17 17:59:12 +00:00
parent 63c278014f
commit 54efbd9df8
6 changed files with 13 additions and 250 deletions

View File

@@ -4,29 +4,17 @@ using AyaNova.Biz;
namespace AyaNova.PickList
{
internal interface IAyaPickList
{
//Item has an active column
{
//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)
AyaType DefaultListObjectType { get; set; }
//Default / STOCK DataListView when none is specified
string DefaultTemplate { get; set; }
Newtonsoft.Json.Linq.JArray GenerateListColumnsJSONFromTemplate(JArray listViewArray);
string DefaultTemplate { get; set; }
List<string> GetFieldListFromTemplate(JArray listViewArray);
}
}