Interface IUserInvocationTriggerBuilder
- All Superinterfaces:
IBaseTriggerPropsBuilder<IUserInvocationTriggerBuilder, FcUserInvocationProps>, IWorkflowElementBuilder<WorkflowTrigger, FcUserInvocationProps>
public interface IUserInvocationTriggerBuilder
extends IBaseTriggerPropsBuilder<IUserInvocationTriggerBuilder, FcUserInvocationProps>
A builder for a new event of type
EWorkflowTriggerType.FC_USER_INVOCATION that occurs when a portal user
initiates it.- Since:
- 8.2.0
-
Method Summary
Modifier and TypeMethodDescriptionaccessType(EUserInvocationAccessType accessType) Sets the access type of the trigger.displayName(Locale locale, String displayName) Sets the display name of the trigger in a specific locale.userGroup(BenutzerGruppe userGroup) Adds a user group to the list of groups that is allowed to initiate the trigger.default IUserInvocationTriggerBuilderuserGroups(BenutzerGruppe... userGroups) Adds user groups to the list of groups that is allowed to initiate the trigger.default IUserInvocationTriggerBuilderuserGroups(Iterable<BenutzerGruppe> userGroups) Adds user groups to the list of groups that is allowed to initiate the trigger.workflowState(WorkflowState state) Adds a workflow state to the list of state a form record must have for the trigger to be initiated.default IUserInvocationTriggerBuilderworkflowStates(WorkflowState... states) Adds workflow states to the list of state a form record must have for the trigger to be initiated.default IUserInvocationTriggerBuilderworkflowStates(Iterable<WorkflowState> states) Adds workflow states to the list of state a form record must have for the trigger to be initiated.Methods inherited from interface IBaseTriggerPropsBuilder
color, description, icon, nameMethods inherited from interface IWorkflowElementBuilder
build, buildProps
-
Method Details
-
displayName
Sets the display name of the trigger in a specific locale.- Parameters:
locale- The locale.displayName- The display name.- Returns:
- This builder for chaining method calls.
-
userGroup
Adds a user group to the list of groups that is allowed to initiate the trigger. When no group is set, no restriction is applied.- Parameters:
userGroup- A user group to add.- Returns:
- This builder for chaining method calls.
-
accessType
Sets the access type of the trigger. This determines which users are allowed to initiate the trigger.- Parameters:
accessType- The access type of the trigger.- Returns:
- This builder for chaining method calls.
-
userGroups
Adds user groups to the list of groups that is allowed to initiate the trigger. When no group is set, no restriction is applied.- Parameters:
userGroups- User groups to add.- Returns:
- This builder for chaining method calls.
-
userGroups
Adds user groups to the list of groups that is allowed to initiate the trigger. When no group is set, no restriction is applied.- Parameters:
userGroups- User groups to add.- Returns:
- This builder for chaining method calls.
-
workflowState
Adds a workflow state to the list of state a form record must have for the trigger to be initiated. When no state is set, no restriction is applied.- Parameters:
state- A workflow state to add.- Returns:
- This builder for chaining method calls.
-
workflowStates
Adds workflow states to the list of state a form record must have for the trigger to be initiated. When no state is set, no restriction is applied.- Parameters:
states- Workflow states to add.- Returns:
- This builder for chaining method calls.
-
workflowStates
Adds workflow states to the list of state a form record must have for the trigger to be initiated. When no state is set, no restriction is applied.- Parameters:
states- Workflow states to add.- Returns:
- This builder for chaining method calls.
-