Class AbstractTemplateActionDefinition
java.lang.Object
org.alfresco.repo.action.scheduled.AbstractTemplateActionDefinition
- All Implemented Interfaces:
TemplateActionDefinition
- Direct Known Subclasses:
CompositeTemplateActionDefinition,SimpleTemplateActionDefinition
public abstract class AbstractTemplateActionDefinition
extends Object
implements TemplateActionDefinition
Common attributes for template action definitions.
- Author:
- Andy Hind
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe action serviceprotected TemplateActionDefinitionThe compensating actionThe template service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the action service.Get the template that defines the conpensating action.Get the template service.voidsetActionService(ActionService actionService) Set the action service - IOC.voidsetCompensatingTemplateCompositeActionDefinition(TemplateActionDefinition compensatingTemplateActionDefinition) Set the template to define the compensating action.voidsetTemplateService(TemplateService templateService) Set the template service - IOC.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.repo.action.scheduled.TemplateActionDefinition
getAction
-
Field Details
-
actionService
The action service -
templateService
The template service -
compensatingTemplateActionDefinition
The compensating action
-
-
Constructor Details
-
AbstractTemplateActionDefinition
public AbstractTemplateActionDefinition()Simple construction
-
-
Method Details
-
getActionService
Get the action service.- Returns:
- - the action service.
-
setActionService
Set the action service - IOC.- Parameters:
actionService- ActionService
-
getTemplateService
Get the template service.- Returns:
- - the template service
-
setTemplateService
Set the template service - IOC.- Parameters:
templateService- TemplateService
-
setCompensatingTemplateCompositeActionDefinition
public void setCompensatingTemplateCompositeActionDefinition(TemplateActionDefinition compensatingTemplateActionDefinition) Set the template to define the compensating action.- Parameters:
compensatingTemplateActionDefinition- TemplateActionDefinition
-
getCompensatingTemplateCompositeActionDefinition
Get the template that defines the conpensating action.- Returns:
- - the template action definition.
-