package com.vci.web.service; import com.vci.corba.common.PLException; import com.vci.corba.wf.data.ProcessCategoryInfo; import com.vci.pagemodel.DeployProcessVO; import com.vci.starter.web.exception.VciBaseException; import com.vci.starter.web.pagemodel.BaseQueryObject; import com.vci.starter.web.pagemodel.BaseResult; import com.vci.starter.web.pagemodel.DataGrid; import java.util.List; /** * 流程服务 * @author ludc * @date 2025/1/14 17:28 */ public interface WebFlowServiceI { /*流程分类相关方法*/ /** * 流程分类全查询 * @param parentId * @return * @throws Exception */ List getProcessCategories(String parentId) throws Exception; /** * 流程分类分页查询 * @param baseQueryObject * @return */ DataGrid getProcessCategoriesByPage(BaseQueryObject baseQueryObject) throws Exception; /** * 保存流程分类 * @param category * @return */ String saveProcessCategory(ProcessCategoryInfo category) throws Exception; /** * 修改流程分类 * @param category * @return */ boolean updateProcessCategory(ProcessCategoryInfo category) throws Exception; /** * 删除流程分类 * @param id * @return * @throws Exception */ boolean deleteProcessCategory(String id) throws Exception; /*流程查询、部署、删除、修改等相关方法*/ /** * 部署流程 * @param deployProcessVO * @return * @throws VciBaseException */ BaseResult deployProcess(DeployProcessVO deployProcessVO) throws Exception ; }