package cn.axzo.workflow.core.service;

import cn.axzo.workflow.common.model.request.bpmn.model.BpmnModelCreateDTO;
import cn.axzo.workflow.common.model.request.bpmn.model.BpmnModelUpdateDTO;
import cn.axzo.workflow.common.model.request.bpmn.task.BpmnTaskDelegateAssigner;

import javax.annotation.Nullable;

/**
 * 聚合审批模型和表单模型的操作服务
 *
 * @author wangli
 * @since 2024-11-05 16:37
 */
public interface AggregateModelService {

    String createBpmnAndFormModel(BpmnModelCreateDTO dto);

    String updateBpmnAndFormModel(BpmnModelUpdateDTO dto);

    String deployBpmnAndFormModel(String processModelId, @Nullable String tenantId, BpmnTaskDelegateAssigner operator);
}
