Class BaseExampleService

java.lang.Object
com.flowable.example.BaseExampleService
Direct Known Subclasses:
VacationRequestBot, VacationRequestFunctions

public class BaseExampleService
extends java.lang.Object
A base service implementation supporting basic features used in the example services.
Author:
Micha Kiener
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected com.flowable.core.idm.api.PlatformIdentityService identityService  
  • Constructor Summary

    Constructors 
    Constructor Description
    BaseExampleService​(com.flowable.core.idm.api.PlatformIdentityService identityService)  
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.String getCurrentUserName​(java.lang.String tenantId)  
    protected java.lang.String getRootCaseId​(java.lang.String rootCasePlanItemId)  
    protected java.lang.String getRootCaseId​(org.flowable.engine.delegate.DelegateExecution execution)  
    protected org.flowable.cmmn.api.runtime.CaseInstance getRootCaseInstance​(java.lang.String rootCasePlanItemId)  
    protected org.flowable.cmmn.api.runtime.CaseInstance getRootCaseInstance​(org.flowable.engine.delegate.DelegateExecution execution)  
    protected java.lang.String getRootCasePlanItemId​(org.flowable.engine.delegate.DelegateExecution execution)  
    protected java.lang.String getUserDisplayName​(java.lang.String userId, java.lang.String tenantId)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • identityService

      protected final com.flowable.core.idm.api.PlatformIdentityService identityService
  • Constructor Details

    • BaseExampleService

      public BaseExampleService​(com.flowable.core.idm.api.PlatformIdentityService identityService)
  • Method Details

    • getRootCaseInstance

      protected org.flowable.cmmn.api.runtime.CaseInstance getRootCaseInstance​(org.flowable.engine.delegate.DelegateExecution execution)
    • getRootCaseInstance

      protected org.flowable.cmmn.api.runtime.CaseInstance getRootCaseInstance​(java.lang.String rootCasePlanItemId)
    • getRootCaseId

      protected java.lang.String getRootCaseId​(java.lang.String rootCasePlanItemId)
    • getRootCaseId

      protected java.lang.String getRootCaseId​(org.flowable.engine.delegate.DelegateExecution execution)
    • getRootCasePlanItemId

      protected java.lang.String getRootCasePlanItemId​(org.flowable.engine.delegate.DelegateExecution execution)
    • getCurrentUserName

      protected java.lang.String getCurrentUserName​(java.lang.String tenantId)
    • getUserDisplayName

      protected java.lang.String getUserDisplayName​(java.lang.String userId, java.lang.String tenantId)