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 TemplateActionModelFactory
public Map<String,Object> getModel(org.alfresco.service.cmr.repository.NodeRef nodeRef)
getModel
in interface TemplateActionModelFactory
nodeRef
- NodeRefpublic String getTemplateEngine()
getTemplateEngine
in interface TemplateActionModelFactory
Copyright © 2005–2017 Alfresco Software. All rights reserved.