public abstract class ActionConditionEvaluatorAbstractBase extends ParameterizedItemAbstractBase implements ActionConditionEvaluator
Modifier and Type | Field and Description |
---|---|
protected ActionConditionDefinition |
actionConditionDefinition
The action condition definition
|
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
Constructor and Description |
---|
ActionConditionEvaluatorAbstractBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(ActionCondition actionCondition,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Evaluate the action condition
|
protected abstract boolean |
evaluateImpl(ActionCondition actionCondition,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Evaluation implementation
|
ActionConditionDefinition |
getActionConditionDefintion()
Get the action condition definition.
|
void |
init()
Initialise method
|
void |
setPublicCondition(boolean publicCondition)
Set the value that indicates whether a condition is public or not
|
addParameterDefinitions, checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
protected ActionConditionDefinition actionConditionDefinition
public ActionConditionEvaluatorAbstractBase()
public void init()
public void setPublicCondition(boolean publicCondition)
publicCondition
- true if the condition is public, false otherwisepublic ActionConditionDefinition getActionConditionDefintion()
getActionConditionDefintion
in interface ActionConditionEvaluator
public boolean evaluate(ActionCondition actionCondition, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionConditionEvaluator
evaluate
in interface ActionConditionEvaluator
actionCondition
- the action conditionactionedUponNodeRef
- the actioned upon nodeActionConditionEvaluator.evaluate(org.alfresco.service.cmr.action.ActionCondition, org.alfresco.service.cmr.repository.NodeRef)
protected abstract boolean evaluateImpl(ActionCondition actionCondition, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
actionCondition
- the action conditionactionedUponNodeRef
- the actioned upon node referenceCopyright © 2005–2017 Alfresco Software. All rights reserved.