Class AmmMethod

java.lang.Object
ch.tocco.nice2.optional.amm.api.report.AmmMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class AmmMethod extends Object implements freemarker.template.TemplateMethodModelEx
  • Field Details

    • timezoneResolver

      protected final TimezoneResolverService timezoneResolver
    • queryBuilderFactory

      protected final QueryBuilderFactory queryBuilderFactory
    • context

      protected final Context context
    • amountVisitedDays

      protected int amountVisitedDays
  • Constructor Details

  • Method Details

    • exec

      public Object exec(List params) throws freemarker.template.TemplateModelException
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx
      Throws:
      freemarker.template.TemplateModelException
    • getReservationRegistrationPm

      @Nullable protected @Nullable Entity getReservationRegistrationPm(org.joda.time.DateTime date, Entity caseEntity)