Class CurrentArticlePriceMethod
java.lang.Object
ch.tocco.nice2.optional.order.impl.CurrentArticlePriceMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class CurrentArticlePriceMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
Freemarker wrapper for CurrentArticlePriceService
- uses the current date if nothing else is specified
- uses the systems default price category if nothing else is specified
- always uses the systems default currency
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ConstructorDescriptionCurrentArticlePriceMethod
(QueryBuilderFactory queryBuilderFactory, CurrentArticlePriceService currentArticlePriceService) -
Method Summary
-
Constructor Details
-
CurrentArticlePriceMethod
public CurrentArticlePriceMethod(QueryBuilderFactory queryBuilderFactory, CurrentArticlePriceService currentArticlePriceService)
-
-
Method Details
-
exec
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
-