Activity工作流学习(一)——Activity服务类

Activity有 9个service
1.DynamicBpmnService 动态Bpmn服务
Service providing access to the repository of process definitions and deployments.
服务提供对流程定义和部署的存储库的访问。
Interface implemented by all classes that expose the Activiti services.
接口实现的所有类都公开了Activiti服务。
3.FormService 表单服务
Access to form data and rendered forms for starting new process instances and completing tasks.
访问表单数据和呈现表单以启动新的流程实例和完成任务。
Service exposing information about ongoing and past process instances.  This is different from the runtime information in the sense that this runtime information only contains  the actual runtime state at any given moment and it is optimized for runtime  process execution performance.
 The history information is optimized for easy  querying and remains permanent in the persistent storage.
服务公开正在进行的和过去的流程实例的信息。
这与运行时信息不同,因为这个运行时信息只包含任何给定时刻的实际运行时状态,并且对运行时流程执行性能进行了优化。
历史信息是为了便于查询而优化的,并且在持久存储中保持永久不变。
5.IdentityService 身份服务
Service to manage {@link User}s and {@link Group}s.
服务来管理{@link用户}和{@link组}。
Service for admin and maintenance operations on the process engine.
 These operations will typically not be used in a workflow driven application,
 but are used in for example the operational console.
服务于流程引擎上的管理和维护操作。
这些操作通常不会在工作流驱动的应用程序中使用,
但是在操作控制台中使用。
Service providing access to the repository of process definitions and deployments.
服务提供对流程定义和部署的存储库的访问。
Starts a new process instance in the latest version of the process definition with the given key..
使用给定的键在流程定义的最新版本中启动一个新的流程实例。
Service which provides access to {@link Task} and form related operations.
提供访问{@link任务}和表单相关操作的服务

猜你喜欢

转载自blog.csdn.net/HuanFengZhiQiu/article/details/80980113