package cn.axzo.workflow.core.service;

import cn.axzo.workflow.common.model.dto.BpmnFormRelationSearchDTO;
import cn.axzo.workflow.common.model.request.form.definition.StartFormSearchDTO;
import cn.axzo.workflow.common.model.request.form.instance.FormDetailDTO;
import cn.axzo.workflow.common.model.request.form.instance.FromDataSearchDTO;
import cn.axzo.workflow.common.model.response.form.FormVO;
import cn.axzo.workflow.common.model.response.form.definition.FormDefinitionVO;
import cn.axzo.workflow.common.model.response.form.instance.FormDataVO;
import cn.axzo.workflow.common.model.response.form.instance.FormInstanceVO;
import com.alibaba.fastjson.JSONObject;

import java.util.List;

/**
 * 由于 POM 的结构的问题,这个类主要解决循环依赖的问题
 *
 * @author wangli
 * @since 2024-11-14 10:17
 */
public interface FormCoreService {

    List<FormVO> pageForm(BpmnFormRelationSearchDTO dto);

    FormDefinitionVO getStartForm(StartFormSearchDTO dto);

    FormInstanceVO getFormInstance(FormDetailDTO dto);

    List<FormDataVO> getFormData(FromDataSearchDTO dto);
}
