|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase
public abstract class ActionConditionEvaluatorAbstractBase
Rule condition evaluator abstract base implementation.
| Field Summary | |
|---|---|
protected ActionConditionDefinition |
actionConditionDefinition
The action condition definition |
| Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
|---|
DISPLAY_LABEL, runtimeActionService |
| Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
|---|
name |
| Constructor Summary | |
|---|---|
ActionConditionEvaluatorAbstractBase()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
|---|
addParameterDefinitions, checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString |
| Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
|---|
setBeanName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ActionConditionDefinition actionConditionDefinition
| Constructor Detail |
|---|
public ActionConditionEvaluatorAbstractBase()
| Method Detail |
|---|
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 ActionConditionEvaluatoractionCondition - the action conditionactionedUponNodeRef - the actioned upon node
org.alfresco.repo.action.evaluator.ActionConditionEvaluator#evaluate(org.alfresco.service.cmr.repository.NodeRef, 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 reference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||