org.alfresco.repo.action.evaluator
Class HasTagEvaluator
java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase
org.alfresco.repo.action.evaluator.HasTagEvaluator
- All Implemented Interfaces:
- ActionConditionEvaluator, org.springframework.beans.factory.BeanNameAware
public class HasTagEvaluator
- extends ActionConditionEvaluatorAbstractBase
Has tag evaluator
Field Summary |
static java.lang.String |
NAME
Evaluator constants |
static java.lang.String |
PARAM_TAG
|
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
- Evaluator constants
- See Also:
- Constant Field Values
PARAM_TAG
public static final java.lang.String PARAM_TAG
- See Also:
- Constant Field Values
HasTagEvaluator
public HasTagEvaluator()
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- Set node service
- Parameters:
nodeService
- the node service
setTaggingService
public void setTaggingService(TaggingService taggingService)
- Set tagging service
- Parameters:
taggingService
- the tagging service
evaluateImpl
public 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:
ActionConditionEvaluatorAbstractBase.evaluateImpl(org.alfresco.service.cmr.action.ActionCondition, org.alfresco.service.cmr.repository.NodeRef)
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- See Also:
ParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.