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 |
actionConditionDefinitionadhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionServicename| 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, setPublicConditioncheckMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toStringsetBeanNamepublic 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 ParameterizedItemAbstractBaseparamList - the parameter definitions listprotected boolean evaluateImpl(ActionCondition ruleCondition, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionConditionEvaluatorAbstractBaseevaluateImpl in class ActionConditionEvaluatorAbstractBaseruleCondition - the action conditionactionedUponNodeRef - the actioned upon node referenceActionConditionEvaluatorAbstractBase.evaluateImpl(ActionCondition, org.alfresco.service.cmr.repository.NodeRef)Copyright © 2005–2018 Alfresco Software. All rights reserved.