org.alfresco.repo.action.scheduled
Class AbstractTemplateActionDefinition

java.lang.Object
  extended by org.alfresco.repo.action.scheduled.AbstractTemplateActionDefinition
All Implemented Interfaces:
TemplateActionDefinition
Direct Known Subclasses:
CompositeTemplateActionDefinition, SimpleTemplateActionDefinition

public abstract class AbstractTemplateActionDefinition
extends java.lang.Object
implements TemplateActionDefinition

Common attributes for template action definitions.


Field Summary
 ActionService actionService
          The action service
protected  TemplateActionDefinition compensatingTemplateActionDefinition
          The compensating action
 TemplateService templateService
          The template service
 
Constructor Summary
AbstractTemplateActionDefinition()
          Simple construction
 
Method Summary
 ActionService getActionService()
          Get the action service.
 TemplateActionDefinition getCompensatingTemplateCompositeActionDefinition()
          Get the template that defines the conpensating action.
 TemplateService getTemplateService()
          Get the template service.
 void setActionService(ActionService actionService)
          Set the action service - IOC.
 void setCompensatingTemplateCompositeActionDefinition(TemplateActionDefinition compensatingTemplateActionDefinition)
          Set the template to define the compensating action.
 void setTemplateService(TemplateService templateService)
          Set the template service - IOC.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.repo.action.scheduled.TemplateActionDefinition
getAction
 

Field Detail

actionService

public ActionService actionService
The action service


templateService

public TemplateService templateService
The template service


compensatingTemplateActionDefinition

protected TemplateActionDefinition compensatingTemplateActionDefinition
The compensating action

Constructor Detail

AbstractTemplateActionDefinition

public AbstractTemplateActionDefinition()
Simple construction

Method Detail

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 -

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 -

setCompensatingTemplateCompositeActionDefinition

public void setCompensatingTemplateCompositeActionDefinition(TemplateActionDefinition compensatingTemplateActionDefinition)
Set the template to define the compensating action.

Parameters:
compensatingTemplateActionDefinition -

getCompensatingTemplateCompositeActionDefinition

public TemplateActionDefinition getCompensatingTemplateCompositeActionDefinition()
Get the template that defines the conpensating action.

Returns:
- the template action definition.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.