Files
raven/server/AyaNova/kpi/IAyaKPI.cs
2022-02-25 17:00:24 +00:00

17 lines
684 B
C#

using System;
using AyaNova.Biz;
namespace AyaNova.KPI
{
internal interface IAyaKPI
{
//allowed roles to access this kpi
AuthorizationRoles AllowedRoles { get; }
//build the data and meta queries based on the criteria and this kpi's standard query
void BuildQuery(KPIRequestOptions options, long userId);
string MetaQuery{get;}//Query to fetch json meta data for report purposes mainly (lookup stuff like names etc where applicable)
string DataQuery{get;}//Query to fetch json format data for result set
string ErrorMessage{get;}//if there was a problem then this is set with the error message
}
}