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.Aware,org.springframework.beans.factory.BeanNameAware
In category evaluator implementation.
- Author:
- Roy Wetherall
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRule constantsstatic final Stringstatic final StringFields inherited from class org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase
actionConditionDefinitionFields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionServiceFields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddParameterDefinitions(List<ParameterDefinition> paramList) Add the parameter definitionsprotected booleanevaluateImpl(ActionCondition ruleCondition, NodeRef actionedUponNodeRef) Evaluation implementationvoidsetDictionaryService(DictionaryService dictionaryService) Sets the dictionary servicevoidsetNodeService(NodeService nodeService) Sets the node serviceMethods inherited from class org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase
evaluate, getActionConditionDefintion, init, setPublicConditionMethods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toStringMethods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
-
Field Details
-
NAME
Rule constants- See Also:
-
PARAM_CATEGORY_ASPECT
- See Also:
-
PARAM_CATEGORY_VALUE
- See Also:
-
-
Constructor Details
-
InCategoryEvaluator
public InCategoryEvaluator()
-
-
Method Details
-
setNodeService
Sets the node service- Parameters:
nodeService- the node service
-
setDictionaryService
Sets the dictionary service- Parameters:
dictionaryService- the dictionary service
-
addParameterDefinitions
Add the parameter definitions- Specified by:
addParameterDefinitionsin classParameterizedItemAbstractBase- Parameters:
paramList- the parameter definitions list
-
evaluateImpl
Description copied from class:ActionConditionEvaluatorAbstractBaseEvaluation implementation- Specified by:
evaluateImplin classActionConditionEvaluatorAbstractBase- Parameters:
ruleCondition- the action conditionactionedUponNodeRef- the actioned upon node reference- Returns:
- the result of the condition evaluation
- See Also:
-