Package org.ametys.plugins.workflow
Interface EnhancedCondition
- All Superinterfaces:
com.opensymphony.workflow.Condition
- All Known Implementing Classes:
AmetysObjectCheckRightsCondition
,AmetysObjectCurrentStepCondition
,CheckCurrentUserContentCondition
,CheckRightsCondition
,ContentCheckRightsCondition
,ContentCurrentStepCondition
,CreateContentByCopyRightCondition
,CreateContentRightCondition
,ExplorerNodeCheckRightsCondition
,FormCheckRightsCondition
,HasLiveLabelCondition
,IsSubmitterCondition
,IsUserCondition
,LockCondition
,PublishableODFContentCondition
,SendNewsPublicationNotificationCondition
,ValidateContentCondition
,ValidateProgramItemTreeCondition
,ValidationStepCondition
Interface for adding description and arguments to
Condition
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<WorkflowArgument>
Get the list of accepted arguments for this conditiondefault I18nizableText
getFullLabel
(Map<String, String> argumentsValues) Get the condition label depending on arguments valuesgetLabel()
Get the label for this conditiondefault List<WorkflowHelper.WorkflowVisibility>
Get the condition's visibilities depending on rightsMethods inherited from interface com.opensymphony.workflow.Condition
passesCondition
-
Method Details
-
getArguments
Get the list of accepted arguments for this condition- Returns:
- a List of argument names and associated description
-
getLabel
Get the label for this condition- Returns:
- the label
-
getFullLabel
Get the condition label depending on arguments values- Parameters:
argumentsValues
- a map of the arguments with their values in current workflow- Returns:
- a label to display in workflow editor vue
-
getVisibilities
Get the condition's visibilities depending on rights- Returns:
- a list of all the allowed right profiles
-