Class UserInvocationEventDataBuilder
java.lang.Object
de.xima.fc.workflow.event.ASpecificTriggerWithFormRecordEventDataBuilder<IFcUserInvocationEvent, UserInvocationEventDataBuilder>
de.xima.fc.workflow.event.UserInvocationEventDataBuilder
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<IFcUserInvocationEvent>
public final class UserInvocationEventDataBuilder
extends ASpecificTriggerWithFormRecordEventDataBuilder<IFcUserInvocationEvent, UserInvocationEventDataBuilder>
Builder for the event data for running a specific trigger, specified by its ID. This is used, for example, by timed
or manual triggers.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Nested Class Summary
Nested classes/interfaces inherited from class ASpecificTriggerWithFormRecordEventDataBuilder
ASpecificTriggerWithFormRecordEventDataBuilder.ASpecificData -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Clockprotected final Vorgangprotected IFormRecordLockContextprotected Localeprotected IUserprotected List<IWorkflowExecutionPostProcessor> -
Method Summary
Modifier and TypeMethodDescriptionaddWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor) build()formRecordLockContext(IFormRecordLockContext formRecordLockContext) protected UserInvocationEventDataBuildergetThis()skipUserGroupRestriction(boolean skipUserGroupRestriction) Whether to skip the user group restriction.skipWorkflowStateRestriction(boolean skipWorkflowStateRestriction) Whether to skip the workflow state restriction.trigger(WorkflowTrigger trigger) Sets the triggerDeprecated.workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors) Methods inherited from class ASpecificTriggerWithFormRecordEventDataBuilder
client, project
-
Field Details
-
anonymize
-
clock
-
formRecord
-
formRecordLockContext
-
locale
-
user
-
workflowExecutionPostProcessors
-
-
Method Details
-
build
-
skipUserGroupRestriction
Whether to skip the user group restriction. When set to true, the trigger will be executed regardless of the user group of the user who triggered the event.- Parameters:
skipUserGroupRestriction- Whether to skip the user group restriction.- Returns:
- This builder for chaining method calls.
-
skipWorkflowStateRestriction
public UserInvocationEventDataBuilder skipWorkflowStateRestriction(boolean skipWorkflowStateRestriction) Whether to skip the workflow state restriction. When set to true, the trigger will be executed regardless of the workflow state of the form record.- Parameters:
skipWorkflowStateRestriction- Whether to skip the workflow state restriction.- Returns:
- This builder for chaining method calls.
-
trigger
Sets the trigger- Parameters:
trigger- The trigger to set.- Returns:
- This builder for chaining method calls.
-
getThis
-
addWorkflowExecutionPostProcessor
@CanIgnoreReturnValue public UserInvocationEventDataBuilder addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor) -
anonymize
-
clock
-
formRecordLockContext
@CanIgnoreReturnValue public UserInvocationEventDataBuilder formRecordLockContext(IFormRecordLockContext formRecordLockContext) -
locale
-
user
-
workflowExecutionPostProcessors
@CanIgnoreReturnValue public UserInvocationEventDataBuilder workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors) -
user
Deprecated.
-