Class GroupByMethod
java.lang.Object
ch.tocco.nice2.templating.impl.freemarker.methods.GroupByMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
groups a sequence of EntityHashModel by a path, given as a String, and orders them by an order query, also given as a String
usage: groupBy(data, "relAddress_c.relAddress_status.unique_id", "sorting desc, query")
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
ConstructorsConstructorDescriptionGroupByMethod(ContextManager contextManager, PersistenceService persistenceService) -
Method Summary
-
Constructor Details
-
GroupByMethod
-
-
Method Details
-
exec
- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException
-