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 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

      public String getScopeType()
      Specified by:
      getScopeType in interface ScopedObjectProvider<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 interface ScopedObjectProvider<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 interface ScopedObjectProvider<org.flowable.engine.runtime.ProcessInstance,org.flowable.engine.history.HistoricProcessInstance>