org.alfresco.repo.cmis.rest
Class CMISChildrenMethod

java.lang.Object
  extended by org.alfresco.repo.cmis.rest.CMISChildrenMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class CMISChildrenMethod
extends java.lang.Object
implements freemarker.template.TemplateMethodModelEx

Custom FreeMarker Template language method.

Lists the (CMIS) children of a TemplateNode

Usage: cmischildren(TemplateNode node) cmischildren(TemplateNode node, String typesFilter)


Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
CMISChildrenMethod(org.alfresco.cmis.CMISServices cmisService, org.alfresco.service.ServiceRegistry serviceRegistry, RepositoryImageResolver imageResolver)
          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
 

Constructor Detail

CMISChildrenMethod

public CMISChildrenMethod(org.alfresco.cmis.CMISServices cmisService,
                          org.alfresco.service.ServiceRegistry serviceRegistry,
                          RepositoryImageResolver imageResolver)
Construct

Method Detail

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.