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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionConditionImpl(String id, String actionConditionDefinitionName)ConstructorActionConditionImpl(String id, String actionConditionDefinitionName, Map<String,Serializable> parameterValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActionConditionDefinitionName()Get the action condition definition namebooleangetInvertCondition()Indicates 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, setParameterValues
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
-
-
-
-
Constructor Detail
-
ActionConditionImpl
public ActionConditionImpl(String id, String actionConditionDefinitionName)
Constructor
-
ActionConditionImpl
public ActionConditionImpl(String id, String actionConditionDefinitionName, Map<String,Serializable> parameterValues)
- Parameters:
id- StringactionConditionDefinitionName- String
-
-
Method Detail
-
getActionConditionDefinitionName
public String getActionConditionDefinitionName()
Description copied from interface:ActionConditionGet the action condition definition name- Specified by:
getActionConditionDefinitionNamein interfaceActionCondition- See Also:
ActionCondition.getActionConditionDefinitionName()
-
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:
ActionCondition.setInvertCondition(boolean)
-
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:
ActionCondition.getInvertCondition()
-
-