package cn.stylefeng.workflow.design.modular.service;

import cn.stylefeng.workflow.api.entity.design.Model;
import cn.stylefeng.workflow.api.pojo.config.node.button.NodeButtonPermission;
import cn.stylefeng.workflow.design.api.pojo.BusinessCategoryVo;
import cn.stylefeng.workflow.design.modular.pojo.FlowDefinitionFormVo;
import cn.stylefeng.workflow.design.modular.pojo.request.DefinitionRequest;
import cn.stylefeng.workflow.design.modular.pojo.request.StartPageRequest;

import java.util.List;

public interface StartPageService {

    List<BusinessCategoryVo> getUserModelList(StartPageRequest startPageRequest);

    FlowDefinitionFormVo getFlowDefinitionFormConfig(DefinitionRequest definitionRequest);

    NodeButtonPermission getApplicantButtonPermission(DefinitionRequest definitionRequest);

    List<Model> getUserModelListFlat();

}
