Package com.flowable.example.hr.service
Class VacationRequestFunctions
java.lang.Object
com.flowable.example.BaseExampleService
com.flowable.example.hr.service.VacationRequestFunctions
public class VacationRequestFunctions extends BaseExampleService
Some simple features exposed as service functions to be used within case or process service tasks.
- Author:
- Micha Kiener
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.cmmn.api.CmmnRuntimeService
caseService
protected ConversationService
conversationService
protected org.flowable.engine.RuntimeService
processService
-
Constructor Summary
Constructors Constructor Description VacationRequestFunctions(org.flowable.engine.RuntimeService processService, org.flowable.cmmn.api.CmmnRuntimeService caseService, com.flowable.core.idm.api.PlatformIdentityService identityService, ConversationService conversationService)
-
Method Summary
Modifier and Type Method Description protected java.lang.String
getUserDisplayName(java.lang.String userId, java.lang.String tenantId)
void
initializeFeedbackProcess(org.flowable.engine.delegate.DelegateExecution execution)
void
initializeVacationRequestCase(org.flowable.engine.delegate.DelegateExecution execution)
void
joinFeedbackUserToConversation(org.flowable.engine.delegate.DelegateExecution execution)
void
joinLineManagerToConversation(org.flowable.engine.delegate.DelegateExecution execution)
void
joinParticipantToConversation(org.flowable.engine.delegate.DelegateExecution execution, java.lang.String userId)
void
pullCaseVarsForFeedbackProcess(org.flowable.engine.delegate.DelegateExecution execution)
Methods inherited from class com.flowable.example.BaseExampleService
getCurrentUserName, getRootCaseId, getRootCaseId, getRootCaseInstance, getRootCaseInstance, getRootCasePlanItemId
-
Field Details
-
processService
protected final org.flowable.engine.RuntimeService processService -
caseService
protected final org.flowable.cmmn.api.CmmnRuntimeService caseService -
conversationService
-
-
Constructor Details
-
VacationRequestFunctions
public VacationRequestFunctions(org.flowable.engine.RuntimeService processService, org.flowable.cmmn.api.CmmnRuntimeService caseService, com.flowable.core.idm.api.PlatformIdentityService identityService, ConversationService conversationService)
-
-
Method Details
-
initializeVacationRequestCase
public void initializeVacationRequestCase(org.flowable.engine.delegate.DelegateExecution execution) -
joinLineManagerToConversation
public void joinLineManagerToConversation(org.flowable.engine.delegate.DelegateExecution execution) -
joinParticipantToConversation
public void joinParticipantToConversation(org.flowable.engine.delegate.DelegateExecution execution, java.lang.String userId) -
joinFeedbackUserToConversation
public void joinFeedbackUserToConversation(org.flowable.engine.delegate.DelegateExecution execution) -
pullCaseVarsForFeedbackProcess
public void pullCaseVarsForFeedbackProcess(org.flowable.engine.delegate.DelegateExecution execution) -
initializeFeedbackProcess
public void initializeFeedbackProcess(org.flowable.engine.delegate.DelegateExecution execution) -
getUserDisplayName
protected java.lang.String getUserDisplayName(java.lang.String userId, java.lang.String tenantId)- Overrides:
getUserDisplayName
in classBaseExampleService
-