Interface ITransitionCommandBuilder
OptimaJet.Workflow.Core.Model.Builder.ITransitionCommandBuilder
Represents a builder for configuring a transition command.
Namespace: OptimaJet.Workflow.Core.Model.Builder
public interface ITransitionCommandBuilder : ITransitionBuilder, IProcessDefinitionBuilderMethods
ITransitionCommandBuilder CreateRestriction(ActorDefinition actorDefinition, RestrictionType restrictionType) #Creates a restriction for the specified actor with the given restriction type.
Parameters
Name
Type
Description
actorDefinitionActorDefinitionThe actor for which the restriction is being created.
restrictionTypeRestrictionTypeThe type of the restriction.
Returns
Type
Description
ITransitionCommandBuilderThe current ITransitionCommandBuilder instance.
ITransitionCommandBuilder CreateOrUpdateRestriction(ActorDefinition actorDefinition, RestrictionType restrictionType) #Creates a new restriction for the specified actor with the given restriction type or updates an existing one.
Parameters
Name
Type
Description
actorDefinitionActorDefinitionThe actor for which the restriction is being created or updated.
restrictionTypeRestrictionTypeThe type of the restriction.
Returns
Type
Description
ITransitionCommandBuilderThe current ITransitionCommandBuilder instance.
ITransitionCommandBuilder UpdateRestriction(ActorDefinition actorDefinition, RestrictionType restrictionType) #Updates the restriction type for the specified actor.
Parameters
Name
Type
Description
actorDefinitionActorDefinitionThe actor for which the restriction type is being updated.
restrictionTypeRestrictionTypeThe new type of the restriction.
Returns
Type
Description
ITransitionCommandBuilderThe current ITransitionCommandBuilder instance.
ITransitionCommandBuilder DeleteRestriction(ActorDefinition actorDefinition) #Deletes the restriction for the specified actor.
Parameters
Name
Type
Description
actorDefinitionActorDefinitionThe actor for which the restriction is being deleted.
Returns
Type
Description
ITransitionCommandBuilderThe current ITransitionCommandBuilder instance.
ITransitionCommandBuilder ConcatAllowByAnd() #Sets the concatenation type for allowed restrictions to "And".
Returns
Type
Description
ITransitionCommandBuilderThe current ITransitionCommandBuilder instance.
ITransitionCommandBuilder ConcatAllowByOr() #Sets the concatenation type for allowed restrictions to "Or".
Returns
Type
Description
ITransitionCommandBuilderThe current ITransitionCommandBuilder instance.
ITransitionCommandBuilder ConcatRestrictByAnd() #Sets the concatenation type for restricted restrictions to "And".
Returns
Type
Description
ITransitionCommandBuilderThe current ITransitionCommandBuilder instance.
ITransitionCommandBuilder ConcatRestrictByOr() #Sets the concatenation type for restricted restrictions to "Or".
Returns
Type
Description
ITransitionCommandBuilderThe current ITransitionCommandBuilder instance.