public class InCategoryEvaluator extends ActionConditionEvaluatorAbstractBase
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Rule constants
|
static String |
PARAM_CATEGORY_ASPECT |
static String |
PARAM_CATEGORY_VALUE |
actionConditionDefinition
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
Constructor and Description |
---|
InCategoryEvaluator() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> 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
|
evaluate, getActionConditionDefintion, init, setPublicCondition
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
public static final String NAME
public static final String PARAM_CATEGORY_ASPECT
public static final String PARAM_CATEGORY_VALUE
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the node servicepublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- the dictionary serviceprotected void addParameterDefinitions(List<ParameterDefinition> paramList)
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listprotected boolean evaluateImpl(ActionCondition ruleCondition, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionConditionEvaluatorAbstractBase
evaluateImpl
in class ActionConditionEvaluatorAbstractBase
ruleCondition
- the action conditionactionedUponNodeRef
- the actioned upon node referenceActionConditionEvaluatorAbstractBase.evaluateImpl(ActionCondition, org.alfresco.service.cmr.repository.NodeRef)
Copyright © 2005–2017 Alfresco Software. All rights reserved.