Class CheckCurrentUserContentCondition
java.lang.Object
org.ametys.plugins.userdirectory.workflow.CheckCurrentUserContentCondition
- All Implemented Interfaces:
com.opensymphony.workflow.Condition,EnhancedCondition
This OS workflow condition checks if the current content is the content of the current user
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.workflow.EnhancedCondition
EnhancedCondition.ConditionArgument -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of accepted arguments for this conditiongetDescription(Map<String, String> argumentsValues) Get the condition descriptions depending on arguments valuesbooleanpassesCondition(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps)
-
Constructor Details
-
CheckCurrentUserContentCondition
public CheckCurrentUserContentCondition()
-
-
Method Details
-
passesCondition
public boolean passesCondition(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException - Specified by:
passesConditionin interfacecom.opensymphony.workflow.Condition- Throws:
com.opensymphony.workflow.WorkflowException
-
getArguments
Description copied from interface:EnhancedConditionGet the list of accepted arguments for this condition- Specified by:
getArgumentsin interfaceEnhancedCondition- Returns:
- a List of argument names and associated description
-
getDescription
Description copied from interface:EnhancedConditionGet the condition descriptions depending on arguments values- Specified by:
getDescriptionin interfaceEnhancedCondition- Parameters:
argumentsValues- a map of the arguments with their values in current workflow- Returns:
- a description to display in workflow editor vue
-