org.alfresco.repo.action.scheduled
Interface TemplateActionModelFactory

All Known Implementing Classes:
FreeMarkerWithLuceneExtensionsModelFactory

public interface TemplateActionModelFactory

A factory that builds models to use with a particular template engine for use with scheduled actions built from action templates.


Method Summary
 java.util.Map getModel()
          Build a model with no default node context.
 java.util.Map getModel(org.alfresco.service.cmr.repository.NodeRef nodeRef)
          Build a model with a default node context.
 java.lang.String getTemplateEngine()
          Get the name of the template engine for which this factory applies
 

Method Detail

getTemplateEngine

java.lang.String getTemplateEngine()
Get the name of the template engine for which this factory applies

Returns:
- the template engine.

getModel

java.util.Map getModel()
Build a model with no default node context.

Returns:
- the model for the template engine.

getModel

java.util.Map getModel(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Build a model with a default node context.

Parameters:
nodeRef -
Returns:
- the model (with nodeRef as its context).


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