-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathIWorksheetAppService.cs
More file actions
25 lines (24 loc) · 1.15 KB
/
IWorksheetAppService.cs
File metadata and controls
25 lines (24 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System.Collections.Generic;
using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
namespace Unity.Flex.Worksheets
{
public interface IWorksheetAppService : IApplicationService
{
Task<WorksheetDto> GetAsync(Guid id);
Task<List<WorksheetDto>> GetListAsync();
Task<List<WorksheetDto>> GetListByCorrelationAsync(Guid correlationId, string correlationProvider);
Task<List<WorksheetDto>> GetListByCorrelationAnchorAsync(Guid correlationId, string correlationProvider, string uiAnchor);
Task<WorksheetDto> CreateAsync(CreateWorksheetDto dto);
Task<WorksheetSectionDto> CreateSectionAsync(Guid id, CreateSectionDto dto);
Task<WorksheetDto> EditAsync(Guid id, EditWorksheetDto dto);
Task<WorksheetDto> CloneAsync(Guid id);
Task<bool> PublishAsync(Guid id);
Task DeleteAsync(Guid id);
Task ResequenceSectionsAsync(Guid id, uint oldIndex, uint newIndex);
Task<bool> ExistsAsync(Guid worksheetId);
Task<ExportWorksheetDto> ExportWorksheet(Guid worksheetId);
Task ImportWorksheetAsync(WorksheetImportDto worksheetImportDto);
}
}