Class WidgetListTemplateProvider
java.lang.Object
ch.tocco.nice2.model.form.spi.formtemplateprovider.AbstractFormTemplateProvider
ch.tocco.nice2.model.form.spi.formtemplateprovider.DefaultListFormProvider
ch.tocco.nice2.optional.cms.impl.form.WidgetListTemplateProvider
- All Implemented Interfaces:
FormTemplateProvider
This list form provider adds constrictions on widget list forms in order to display only unpublished widget
entities.
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.form.spi.formtemplateprovider.AbstractFormTemplateProvider
NOT_IN_RELATION_PANEL, NOT_TO_MANY
Fields inherited from interface ch.tocco.nice2.model.form.spi.formtemplateprovider.FormTemplateProvider
FORM_TEMPLATE_HIGH_PRIORITY, FORM_TEMPLATE_LOW_PRIORITY
-
Constructor Summary
ConstructorDescriptionWidgetListTemplateProvider
(DataPathFactory dataPathFactory, DisplayValueFactory displayValueFactory, ConstrictionManager constrictionManager, WidgetModelService widgetModelService) -
Method Summary
Modifier and TypeMethodDescriptiongetForm
(EntityModel entityModel, FormModelReceiver formModelReceiver, String scope) void
init()
boolean
match
(EntityModel entityModel) Methods inherited from class ch.tocco.nice2.model.form.spi.formtemplateprovider.AbstractFormTemplateProvider
createDataPath, createDisplayValue, createFieldComponent, createFieldComponents, createForm, createRelationComponents, createRelationComponents, isEntityAutoField
-
Constructor Details
-
Method Details
-
init
@PostConstruct public void init() -
match
- Specified by:
match
in interfaceFormTemplateProvider
- Overrides:
match
in classDefaultListFormProvider
-
getForm
- Specified by:
getForm
in interfaceFormTemplateProvider
- Overrides:
getForm
in classDefaultListFormProvider
-