Package org.alfresco.repo.action
Class ActionConditionImpl
- java.lang.Object
-
- org.alfresco.repo.action.ParameterizedItemImpl
-
- org.alfresco.repo.action.ActionConditionImpl
-
- All Implemented Interfaces:
java.io.Serializable,ActionCondition,ParameterizedItem
- Direct Known Subclasses:
CompositeActionConditionImpl
public class ActionConditionImpl extends ParameterizedItemImpl implements java.io.Serializable, ActionCondition
- Author:
- Roy Wetherall
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionConditionImpl(java.lang.String id, java.lang.String actionConditionDefinitionName)ConstructorActionConditionImpl(java.lang.String id, java.lang.String actionConditionDefinitionName, java.util.Map<java.lang.String,java.io.Serializable> parameterValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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(java.lang.String id, java.lang.String actionConditionDefinitionName)Constructor
-
ActionConditionImpl
public ActionConditionImpl(java.lang.String id, java.lang.String actionConditionDefinitionName, java.util.Map<java.lang.String,java.io.Serializable> parameterValues)- Parameters:
id- StringactionConditionDefinitionName- String
-
-
Method Detail
-
getActionConditionDefinitionName
public java.lang.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()
-
-