public class InCategoryEvaluator extends ActionConditionEvaluatorAbstractBase
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME
Rule constants
|
static java.lang.String |
PARAM_CATEGORY_ASPECT |
static java.lang.String |
PARAM_CATEGORY_VALUE |
actionConditionDefinitionDISPLAY_LABEL, runtimeActionServicename| Constructor and Description |
|---|
InCategoryEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
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
|
evaluate, getActionConditionDefintion, init, setPublicConditioncheckMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toStringsetBeanNamepublic static final java.lang.String NAME
public static final java.lang.String PARAM_CATEGORY_ASPECT
public static final java.lang.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(java.util.List 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 referenceorg.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.