org.alfresco.repo.action.evaluator
Class CompositeConditionEvaluator

java.lang.Object
  extended by org.alfresco.repo.action.CommonResourceAbstractBase
      extended by org.alfresco.repo.action.ParameterizedItemAbstractBase
          extended by org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase
              extended by org.alfresco.repo.action.evaluator.CompositeConditionEvaluator
All Implemented Interfaces:
ActionConditionEvaluator, org.springframework.beans.factory.BeanNameAware

public class CompositeConditionEvaluator
extends ActionConditionEvaluatorAbstractBase

This class is needed to provide some infrastructure, but the actual evaluation of Composite Conditions happens inside the ActionServiceImpl as a special case.


Field Summary
 
Fields inherited from class org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase
actionConditionDefinition
 
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
DISPLAY_LABEL, runtimeActionService
 
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
name
 
Constructor Summary
CompositeConditionEvaluator()
           
 
Method Summary
protected  void addParameterDefinitions(java.util.List paramList)
          Adds the parameter definitions to the list
protected  boolean evaluateImpl(ActionCondition actionCondition, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
          Evaluation implementation
 
Methods inherited from class org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase
evaluate, getActionConditionDefintion, init, setPublicCondition
 
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString
 
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositeConditionEvaluator

public CompositeConditionEvaluator()
Method Detail

evaluateImpl

protected boolean evaluateImpl(ActionCondition actionCondition,
                               org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Description copied from class: ActionConditionEvaluatorAbstractBase
Evaluation implementation

Specified by:
evaluateImpl in class ActionConditionEvaluatorAbstractBase
Parameters:
actionCondition - the action condition
actionedUponNodeRef - the actioned upon node reference
Returns:
the result of the condition evaluation

addParameterDefinitions

protected void addParameterDefinitions(java.util.List paramList)
Description copied from class: ParameterizedItemAbstractBase
Adds the parameter definitions to the list

Specified by:
addParameterDefinitions in class ParameterizedItemAbstractBase
Parameters:
paramList - the parameter definitions list


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