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 Details

    • actionService

      public ActionService actionService
      The action service
    • templateService

      public TemplateService templateService
      The template service
    • compensatingTemplateActionDefinition

      protected TemplateActionDefinition compensatingTemplateActionDefinition
      The compensating action
  • Constructor Details

    • AbstractTemplateActionDefinition

      public AbstractTemplateActionDefinition()
      Simple construction
  • Method Details

    • getActionService

      public ActionService getActionService()
      Get the action service.
      Returns:
      - the action service.
    • setActionService

      public void setActionService(ActionService actionService)
      Set the action service - IOC.
      Parameters:
      actionService - ActionService
    • getTemplateService

      public TemplateService getTemplateService()
      Get the template service.
      Returns:
      - the template service
    • setTemplateService

      public void setTemplateService(TemplateService templateService)
      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

      public TemplateActionDefinition getCompensatingTemplateCompositeActionDefinition()
      Get the template that defines the conpensating action.
      Returns:
      - the template action definition.