org.alfresco.repo.action.evaluator
Class InCategoryEvaluator
java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase
org.alfresco.repo.action.evaluator.InCategoryEvaluator
- All Implemented Interfaces:
- ActionConditionEvaluator, org.springframework.beans.factory.BeanNameAware
public class InCategoryEvaluator
- extends ActionConditionEvaluatorAbstractBase
In category evaluator implementation.
Method Summary |
protected void |
addParameterDefinitions(java.util.List paramList)
Add the parameter definitions |
protected boolean |
evaluateImpl(ActionCondition ruleCondition,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Evaluation implementation |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Sets the dictionary service |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- Rule constants
- See Also:
- Constant Field Values
PARAM_CATEGORY_ASPECT
public static final java.lang.String PARAM_CATEGORY_ASPECT
- See Also:
- Constant Field Values
PARAM_CATEGORY_VALUE
public static final java.lang.String PARAM_CATEGORY_VALUE
- See Also:
- Constant Field Values
InCategoryEvaluator
public InCategoryEvaluator()
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- Sets the node service
- Parameters:
nodeService
- the node service
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
- Sets the dictionary service
- Parameters:
dictionaryService
- the dictionary service
addParameterDefinitions
protected void addParameterDefinitions(java.util.List paramList)
- Add the parameter definitions
- Specified by:
addParameterDefinitions
in class ParameterizedItemAbstractBase
- Parameters:
paramList
- the parameter definitions list
evaluateImpl
protected boolean evaluateImpl(ActionCondition ruleCondition,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
- Description copied from class:
ActionConditionEvaluatorAbstractBase
- Evaluation implementation
- Specified by:
evaluateImpl
in class ActionConditionEvaluatorAbstractBase
- Parameters:
ruleCondition
- the action conditionactionedUponNodeRef
- the actioned upon node reference
- Returns:
- the result of the condition evaluation
- See Also:
org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase#evaluateImpl(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.cmr.repository.NodeRef)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.