This commit is contained in:
17
server/kpi/IAyaKPI.cs
Normal file
17
server/kpi/IAyaKPI.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using Sockeye.Biz;
|
||||
namespace Sockeye.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
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user