Class ProcessInstanceScopedObjectProvider
java.lang.Object
com.flowable.platform.service.action.ProcessInstanceScopedObjectProvider
- All Implemented Interfaces:
ScopedObjectProvider<org.flowable.engine.runtime.ProcessInstance,
org.flowable.engine.history.HistoricProcessInstance>
public class ProcessInstanceScopedObjectProvider
extends Object
implements ScopedObjectProvider<org.flowable.engine.runtime.ProcessInstance,org.flowable.engine.history.HistoricProcessInstance>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.engine.HistoryService
protected org.flowable.engine.RuntimeService
-
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceScopedObjectProvider
(org.flowable.engine.RuntimeService runtimeService, org.flowable.engine.HistoryService historyService) -
Method Summary
Modifier and TypeMethodDescriptionorg.flowable.engine.history.HistoricProcessInstance
getHistoricScopedObject
(String scopeType, String scopeId, SecurityScope securityScope) org.flowable.engine.runtime.ProcessInstance
getScopedObject
(String scopeType, String scopeId, SecurityScope securityScope)
-
Field Details
-
runtimeService
protected org.flowable.engine.RuntimeService runtimeService -
historyService
protected org.flowable.engine.HistoryService historyService
-
-
Constructor Details
-
ProcessInstanceScopedObjectProvider
public ProcessInstanceScopedObjectProvider(org.flowable.engine.RuntimeService runtimeService, org.flowable.engine.HistoryService historyService)
-
-
Method Details
-
getScopeType
- Specified by:
getScopeType
in interfaceScopedObjectProvider<org.flowable.engine.runtime.ProcessInstance,
org.flowable.engine.history.HistoricProcessInstance>
-
getScopedObject
public org.flowable.engine.runtime.ProcessInstance getScopedObject(String scopeType, String scopeId, SecurityScope securityScope) - Specified by:
getScopedObject
in interfaceScopedObjectProvider<org.flowable.engine.runtime.ProcessInstance,
org.flowable.engine.history.HistoricProcessInstance>
-
getHistoricScopedObject
public org.flowable.engine.history.HistoricProcessInstance getHistoricScopedObject(String scopeType, String scopeId, SecurityScope securityScope) - Specified by:
getHistoricScopedObject
in interfaceScopedObjectProvider<org.flowable.engine.runtime.ProcessInstance,
org.flowable.engine.history.HistoricProcessInstance>
-