Package org.alfresco.repo.action
Class ActionDefinitionImpl
- java.lang.Object
-
- org.alfresco.repo.action.ParameterizedItemDefinitionImpl
-
- org.alfresco.repo.action.ActionDefinitionImpl
-
- All Implemented Interfaces:
java.io.Serializable,ActionDefinition,ParameterizedItemDefinition
- Direct Known Subclasses:
RenderingEngineDefinitionImpl
public class ActionDefinitionImpl extends ParameterizedItemDefinitionImpl implements ActionDefinition
Rule action implementation class- Author:
- Roy Wetherall
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionDefinitionImpl(java.lang.String name)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<org.alfresco.service.namespace.QName>getApplicableTypes()Gets the set of applicable typesjava.lang.StringgetRuleActionExecutor()Get the rule aciton executorbooleangetTrackStatus()Get whether the basic action definition supports action tracking or not.voidsetApplicableTypes(java.util.Set<org.alfresco.service.namespace.QName> applicableTypes)Sets the list of applicable typesvoidsetRuleActionExecutor(java.lang.String ruleActionExecutor)Set the rule action executorvoidsetTrackStatus(boolean trackStatus)Set whether the basic action definition requires status tracking.-
Methods inherited from class org.alfresco.repo.action.ParameterizedItemDefinitionImpl
getAdhocPropertiesAllowed, getDescription, getName, getParameterDefinitions, getParameterDefintion, getTitle, hasParameterDefinitions, setAdhocPropertiesAllowed, setDescriptionKey, setLocalizedParameterDefinitions, setParameterDefinitions, setTitleKey
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.service.cmr.action.ParameterizedItemDefinition
getAdhocPropertiesAllowed, getDescription, getName, getParameterDefinitions, getParameterDefintion, getTitle, hasParameterDefinitions
-
-
-
-
Method Detail
-
setRuleActionExecutor
public void setRuleActionExecutor(java.lang.String ruleActionExecutor)
Set the rule action executor- Parameters:
ruleActionExecutor- the rule action executor
-
getRuleActionExecutor
public java.lang.String getRuleActionExecutor()
Get the rule aciton executor- Returns:
- the rule action executor
-
getApplicableTypes
public java.util.Set<org.alfresco.service.namespace.QName> getApplicableTypes()
Gets the set of applicable types- Specified by:
getApplicableTypesin interfaceActionDefinition- Returns:
- the set of qnames
-
setApplicableTypes
public void setApplicableTypes(java.util.Set<org.alfresco.service.namespace.QName> applicableTypes)
Sets the list of applicable types- Parameters:
applicableTypes- the applicable types
-
getTrackStatus
public boolean getTrackStatus()
Description copied from interface:ActionDefinitionGet whether the basic action definition supports action tracking or not. This can be overridden for eachactionbut if not, this value is used. Defaults to false.- Specified by:
getTrackStatusin interfaceActionDefinition- Returns:
- true to track action execution status or false (default) to do no action tracking
-
setTrackStatus
public void setTrackStatus(boolean trackStatus)
Set whether the basic action definition requires status tracking. This can be overridden on each action instance but if not, it falls back to this definition. Setting this to true introduces performance problems for concurrently-executing rules on V3.4: ALF-7341.- Parameters:
trackStatus- true to track execution status otherwise false- Since:
- 3.4.1
-
-