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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
Get the label for this conditionboolean
passesCondition
(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.plugins.workflow.EnhancedCondition
getArguments, getFullLabel, getVisibilities
-
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:
passesCondition
in interfacecom.opensymphony.workflow.Condition
- Throws:
com.opensymphony.workflow.WorkflowException
-
getLabel
Description copied from interface:EnhancedCondition
Get the label for this condition- Specified by:
getLabel
in interfaceEnhancedCondition
- Returns:
- the label
-