Class FreemarkerCodeWidgetValidator
java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
ch.tocco.nice2.rest.freemarker.impl.widgets.FreemarkerCodeWidgetValidator
- All Implemented Interfaces:
EntitiesValidator
Validates if the code field of the Freemarker_code_widget_config is valid freemarker by evaluating the freemarker code
-
Constructor Summary
ConstructorDescriptionFreemarkerCodeWidgetValidator
(FreemarkerCodeWidgetService freemarkerCodeWidgetService) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
addMyself, getName
-
Constructor Details
-
FreemarkerCodeWidgetValidator
-
-
Method Details
-
validate
Description copied from interface:EntitiesValidator
Validate all entities (of one entity model) that where changed in a transaction- Parameters:
entities
- the entities to be validatedvalidationResults
- a map of EntityValidationResults, contains anEntityValidationResult
for each entity. SeeEntityValidationResult
for more details on how to use the EntityValidationResult
-