public class HasAspectEvaluator extends ActionConditionEvaluatorAbstractBase
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Evaluator constants
|
static String |
PARAM_ASPECT |
actionConditionDefinition
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
Constructor and Description |
---|
HasAspectEvaluator() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> paramList)
Adds the parameter definitions to the list
|
boolean |
evaluateImpl(ActionCondition ruleCondition,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Evaluation implementation
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set 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_ASPECT
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the node servicepublic 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(org.alfresco.service.cmr.action.ActionCondition, org.alfresco.service.cmr.repository.NodeRef)
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
Copyright © 2005–2017 Alfresco Software. All rights reserved.