Files
sockeye/server/biz/IExportAbleObject.cs
2022-12-16 06:01:23 +00:00

21 lines
542 B
C#

using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Sockeye.Models;
using System;
namespace Sockeye.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(DataListSelectedRequest dataListSelectedRequest, Guid jobId);
const int EXPORT_DATA_BATCH_SIZE = 100;
}
}