using Abp.Application.Services.Dto; using VberZero.AppService.Base; using VberZero.AppService.Base.Dto; using VberZero.AppService.Workflows.Dto; using VberZero.Workflow.StepBodies; namespace VberZero.AppService.Workflows; public interface IWorkflowAppServiceBase : IVzCrudAppService { /// /// 获取所有的StepBody /// /// IEnumerable GetAllStepBodies(); /// /// 获取所有分组 /// /// Task> GetAllGroupAsync(); /// /// 我发起的流程 /// /// /// Task> GetMyWorkflowAsync(VzPagedRequestDto input); /// /// 获取指定编号指定版本的 /// /// /// Task GetByVersion(WorkflowDefinitionVersionDto input); /// /// 删除指定编号指定版本的 /// /// /// Task DeleteByVersion(WorkflowDefinitionVersionDto input); /// /// 获取执行的工作流详情 /// /// /// Task GetDetailsAsync(string id); /// /// 启动工作流 /// /// /// Task StartAsync(StartWorkflowInput input); /// /// 发布事件 /// /// Task PublicEvent(PublishEventInput input); }