public class ProcessInstanceScopedObjectProvider extends Object implements ScopedObjectProvider<ProcessInstance,HistoricProcessInstance>
Modifier and Type | Field and Description |
---|---|
protected HistoryService |
historyService |
protected RuntimeService |
runtimeService |
Constructor and Description |
---|
ProcessInstanceScopedObjectProvider(RuntimeService runtimeService,
HistoryService historyService) |
Modifier and Type | Method and Description |
---|---|
HistoricProcessInstance |
getHistoricScopedObject(String scopeType,
String scopeId,
SecurityScope securityScope) |
ProcessInstance |
getScopedObject(String scopeType,
String scopeId,
SecurityScope securityScope) |
String |
getScopeType() |
protected RuntimeService runtimeService
protected HistoryService historyService
public ProcessInstanceScopedObjectProvider(RuntimeService runtimeService, HistoryService historyService)
public String getScopeType()
getScopeType
in interface ScopedObjectProvider<ProcessInstance,HistoricProcessInstance>
public ProcessInstance getScopedObject(String scopeType, String scopeId, SecurityScope securityScope)
getScopedObject
in interface ScopedObjectProvider<ProcessInstance,HistoricProcessInstance>
public HistoricProcessInstance getHistoricScopedObject(String scopeType, String scopeId, SecurityScope securityScope)
getHistoricScopedObject
in interface ScopedObjectProvider<ProcessInstance,HistoricProcessInstance>