org.alfresco.service.cmr.action
Interface ActionCondition

All Superinterfaces:
ParameterizedItem
All Known Subinterfaces:
CompositeActionCondition
All Known Implementing Classes:
ActionConditionImpl, CompositeActionConditionImpl

public interface ActionCondition
extends ParameterizedItem

Rule condition interface


Method Summary
 java.lang.String getActionConditionDefinitionName()
          Get the action condition definition name
 boolean getInvertCondition()
          Indicates whether the condition result should be inverted.
 void setInvertCondition(boolean invertCondition)
          Set whether the condition result should be inverted.
 
Methods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
 

Method Detail

getActionConditionDefinitionName

java.lang.String getActionConditionDefinitionName()
Get the action condition definition name

Parameters:
the - action condition definition name

setInvertCondition

void setInvertCondition(boolean invertCondition)
Set whether the condition result should be inverted.

This is achieved by applying the NOT logical operator to the result.

The default value is false.

Parameters:
invertCondition - true indicates that the result of the condition is inverted, false otherwise.

getInvertCondition

boolean getInvertCondition()
Indicates whether the condition result should be inverted.

This is achieved by applying the NOT logical operator to the result.

The default value is false.

Returns:
true indicates that the result of the condition is inverted, false otherwise


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.