Camunda:RepositoryService接口说明

181 阅读1分钟

该接口主要操作流程部署(act_re_deployment)、所部署流程的定义(act_re_procdef)、流程字节表(act_ge_bytearray)信息。

repositoryService提供了很多接口,来操作这些表。

通过不同的关键字初步分析:
流程部署:deploy或deployment
流程定义:definition
流程字节:resource或resources

ProcessDefinition: 对流程定义

  • InputStream getProcessModel(String var1):
    var1:部署流程定义id。act_re_procdef表中的id;
    返回:流程模型输入流;

  • ProcessDefinition getProcessDefinition(String var1):
    var1:部署流程定义id。act_re_procdef表中的id;
    返回:部署流程定义信息。act_re_procdef表行信息;

  • List getDeploymentResources(String var1);
    var1:流程部署记录id。act_re_deployment表中的id;
    返回:流程定义信息集合。act_ge_bytearray表信息集合;

  • 待续