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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()Get the label for this conditionbooleanpassesCondition(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, waitMethods 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:
passesConditionin interfacecom.opensymphony.workflow.Condition- Throws:
com.opensymphony.workflow.WorkflowException
-
getLabel
Description copied from interface:EnhancedConditionGet the label for this condition- Specified by:
getLabelin interfaceEnhancedCondition- Returns:
- the label
-