This commit is contained in:
21
server/biz/IExportAbleObject.cs
Normal file
21
server/biz/IExportAbleObject.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user