org.alfresco.repo.action
Class ActionConditionImpl

java.lang.Object
  extended by org.alfresco.repo.action.ParameterizedItemImpl
      extended by 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

See Also:
Serialized Form

Constructor Summary
ActionConditionImpl(java.lang.String id, java.lang.String actionConditionDefinitionName)
          Constructor
ActionConditionImpl(java.lang.String id, java.lang.String actionConditionDefinitionName, java.util.Map parameterValues)
           
 
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 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 parameterValues)
Parameters:
parameterValues -
Method Detail

getActionConditionDefinitionName

public java.lang.String getActionConditionDefinitionName()
Description copied from interface: ActionCondition
Get the action condition definition name

Specified by:
getActionConditionDefinitionName in interface ActionCondition
See Also:
ActionCondition.getActionConditionDefinitionName()

setInvertCondition

public void setInvertCondition(boolean invertCondition)
Description copied from interface: ActionCondition
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.

Specified by:
setInvertCondition in interface ActionCondition
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: ActionCondition
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.

Specified by:
getInvertCondition in interface ActionCondition
Returns:
true indicates that the result of the condition is inverted, false otherwise
See Also:
ActionCondition.getInvertCondition()


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