zoukankan      html  css  js  c++  java
  • 工作流引擎Activiti 学习(核心类)

    ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
    
    RuntimeService runtimeService = processEngine.getRuntimeService();
    RepositoryService repositoryService = processEngine.getRepositoryService();
    TaskService taskService = processEngine.getTaskService();
    ManagementService managementService = processEngine.getManagementService();
    IdentityService identityService = processEngine.getIdentityService();
    HistoryService historyService = processEngine.getHistoryService();
    FormService formService = processEngine.getFormService();
    DynamicBpmnService dynamicBpmnService = processEngine.getDynamicBpmnService();
    

    1. RepositoryService

    Everything that is related to static data (such as process definitions) are accessed through the RepositoryService
    The RepositoryService is probably the first service needed when working with the Activiti engine.
    This service offers operations for managing and manipulating deployments and process definitions

    2. RuntimeService

    It deals with starting new process instances of process definitions

    3.IdentityService

    The IdentityService is pretty simple. It allows the management (creation, update, deletion, querying, …​) of groups and users

    4.FormService

    The FormService is an optional service. Meaning that Activiti can perfectly be used without it, without sacrificing any functionality
    A start form is a form that is shown to the user before the process instance is started, while a task form is the form that is displayed when a user wants to complete a form

  • 相关阅读:
    数据流控制
    转:简单的Mysql主从复制设置
    转:CentOS---网络配置详解
    Linux-vim学习入门
    Linux图形界面与字符界面切换
    转:MySQL表名不区分大小写
    CentOS6.5_x86安装Mysql5.5.49
    Linux的环境变量设置和查看
    Linux防火墙的关闭和开启
    Linux command not found 问题解释
  • 原文地址:https://www.cnblogs.com/mengjianzhou/p/11571387.html
Copyright © 2011-2022 走看看