Files
raven/server/AyaNova/biz/IExportAbleObject.cs
2020-10-23 21:28:03 +00:00

18 lines
456 B
C#

using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace AyaNova.Biz
{
/// <summary>
/// Interface for biz objects that support exporting
/// </summary>
internal interface IExportAbleObject
{
//Get items indicated in id list in exportable format
//called by ExportBiz rendering code
Task<JArray> GetExportData(long[] idList);
const int EXPORT_DATA_BATCH_SIZE = 100;
}
}