org.alfresco.repo.cmis.rest
Class CMISRenditionsMethod
java.lang.Object
org.alfresco.repo.cmis.rest.CMISRenditionsMethod
- All Implemented Interfaces:
- freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
public class CMISRenditionsMethod
- extends java.lang.Object
- implements freemarker.template.TemplateMethodModelEx
Custom FreeMarker Template language method.
Gets the renditions of a TemplateNode
Usage: cmisrenditions(TemplateNode node)
cmisrenditions(TemplateNode node, String renditionFilter)
Fields inherited from interface freemarker.template.TemplateModel |
NOTHING |
Constructor Summary |
CMISRenditionsMethod(org.alfresco.cmis.CMISServices cmisService,
RepositoryImageResolver imageResolver,
org.alfresco.service.cmr.repository.TemplateValueConverter templateValueConverter)
Construct |
Method Summary |
java.lang.Object |
exec(java.util.List args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMISRenditionsMethod
public CMISRenditionsMethod(org.alfresco.cmis.CMISServices cmisService,
RepositoryImageResolver imageResolver,
org.alfresco.service.cmr.repository.TemplateValueConverter templateValueConverter)
- Construct
exec
public java.lang.Object exec(java.util.List args)
throws freemarker.template.TemplateModelException
- Specified by:
exec
in interface freemarker.template.TemplateMethodModel
- Specified by:
exec
in interface freemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.