Class SummarizeVoucherMethod
java.lang.Object
ch.tocco.nice2.optional.finance.impl.report.postingvoucher.SummarizeVoucherMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
public class SummarizeVoucherMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEach voucher is converted to plain beans as soon as it is read from the sequence: the base data of a report may be aMemoryEfficientLazyEntityList, which closes the context of a page when the next page is loaded, so a voucher (and its lazy relations) cannot be accessed after the iteration has moved on.
-
Constructor Details
-
SummarizeVoucherMethod
-
-
Method Details
-
exec
Each voucher is converted to plain beans as soon as it is read from the sequence: the base data of a report may be aMemoryEfficientLazyEntityList, which closes the context of a page when the next page is loaded, so a voucher (and its lazy relations) cannot be accessed after the iteration has moved on.- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException
-