public class FreeMarkerWithLuceneExtensionsModelFactory extends Object implements TemplateActionModelFactory
| Constructor and Description |
|---|
FreeMarkerWithLuceneExtensionsModelFactory()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getModel()
Get the non-contextual model.
|
Map<String,Object> |
getModel(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Defines a non-contextual nod model + the contextual node
|
String |
getTemplateEngine()
The name of the template engine for which this model applies.
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
public FreeMarkerWithLuceneExtensionsModelFactory()
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry - ServiceRegistrypublic Map<String,Object> getModel()
getModel in interface TemplateActionModelFactorypublic Map<String,Object> getModel(org.alfresco.service.cmr.repository.NodeRef nodeRef)
getModel in interface TemplateActionModelFactorynodeRef - NodeRefpublic String getTemplateEngine()
getTemplateEngine in interface TemplateActionModelFactoryCopyright © 2005–2018 Alfresco Software. All rights reserved.