package org.dromara.wflow.workflow.service;

import org.dromara.wflow.bean.entity.WflowModelHistorys;
import org.dromara.wflow.bean.vo.CustomPrintConfigVo;

/**
 * @author : willian fu
 * @date : 2022/8/25
 */
public interface ProcessModelService {

    String saveProcess(WflowModelHistorys models);

    void enableProcess(String code, boolean enable);

    String deployProcess(String code);

    void delProcess(String code);

    WflowModelHistorys getLastVersionModel(String code);

    CustomPrintConfigVo getCustomPrintConfig(String instanceId);

    WflowModelHistorys getModelByDefId(String defId);
}
