Class GetPriceDirective
java.lang.Object
ch.tocco.nice2.optional.webshop.impl.GetPriceDirective
- All Implemented Interfaces:
Nice2TemplateDirective
,freemarker.template.TemplateDirectiveModel
,freemarker.template.TemplateModel
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ConstructorDescriptionGetPriceDirective
(CommandExecutor commandExecutor, CurrentArticlePriceService currentArticlePriceService, VatCalculationService vatCalculationService, L10N l10N) -
Method Summary
-
Constructor Details
-
GetPriceDirective
public GetPriceDirective(CommandExecutor commandExecutor, CurrentArticlePriceService currentArticlePriceService, VatCalculationService vatCalculationService, L10N l10N)
-
-
Method Details
-
execute
public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] templateModels, freemarker.template.TemplateDirectiveBody templateDirectiveBody) throws freemarker.template.TemplateException, IOException - Specified by:
execute
in interfacefreemarker.template.TemplateDirectiveModel
- Throws:
freemarker.template.TemplateException
IOException
-