Package org.alfresco.repo.action
Class ActionConditionImpl
java.lang.Object
org.alfresco.repo.action.ParameterizedItemImpl
org.alfresco.repo.action.ActionConditionImpl
- All Implemented Interfaces:
Serializable,ActionCondition,ParameterizedItem
- Direct Known Subclasses:
CompositeActionConditionImpl
public class ActionConditionImpl
extends ParameterizedItemImpl
implements Serializable, ActionCondition
- Author:
- Roy Wetherall
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionActionConditionImpl(String id, String actionConditionDefinitionName) ConstructorActionConditionImpl(String id, String actionConditionDefinitionName, Map<String, Serializable> parameterValues) -
Method Summary
Modifier and TypeMethodDescriptionGet the action condition definition namebooleanIndicates whether the condition result should be inverted.voidsetInvertCondition(boolean invertCondition) Set whether the condition result should be inverted.Methods inherited from class org.alfresco.repo.action.ParameterizedItemImpl
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
-
Constructor Details
-
ActionConditionImpl
Constructor -
ActionConditionImpl
public ActionConditionImpl(String id, String actionConditionDefinitionName, Map<String, Serializable> parameterValues) - Parameters:
id- StringactionConditionDefinitionName- String
-
-
Method Details
-
getActionConditionDefinitionName
Description copied from interface:ActionConditionGet the action condition definition name- Specified by:
getActionConditionDefinitionNamein interfaceActionCondition- See Also:
-
setInvertCondition
public void setInvertCondition(boolean invertCondition) Description copied from interface:ActionConditionSet whether the condition result should be inverted.This is achieved by applying the NOT logical operator to the result.
The default value is false.
- Specified by:
setInvertConditionin interfaceActionCondition- Parameters:
invertCondition- true indicates that the result of the condition is inverted, false otherwise.- See Also:
-
getInvertCondition
public boolean getInvertCondition()Description copied from interface:ActionConditionIndicates whether the condition result should be inverted.This is achieved by applying the NOT logical operator to the result.
The default value is false.
- Specified by:
getInvertConditionin interfaceActionCondition- Returns:
- true indicates that the result of the condition is inverted, false otherwise
- See Also:
-