Package io.jmix.flowui.component.factory
Class JpqlFilterComponentGenerationStrategy
java.lang.Object
io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
io.jmix.flowui.component.factory.JpqlFilterComponentGenerationStrategy
- All Implemented Interfaces:
ComponentGenerationStrategy
,org.springframework.core.Ordered
@Component("flowui_JpqlFilterComponentGenerationStrategy")
public class JpqlFilterComponentGenerationStrategy
extends AbstractComponentGenerationStrategy
implements org.springframework.core.Ordered
-
Field Summary
Fields inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
actions, datatypeRegistry, entityFieldCreationSupport, messages, metadata, metadataTools, uiComponents
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionJpqlFilterComponentGenerationStrategy
(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
com.vaadin.flow.component.Component
Creates a component according to the givenComponentGenerationContext
.protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
createDatatypeField
(ComponentGenerationContext context, Class<?> type) protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
int
getOrder()
Methods inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
createCollectionField, createDatatypeField, createFileStorageUploadField, createFileUploadField, createNumberField, createStringField, createTimePicker, resolveMetaPropertyPath, setValueSource
-
Field Details
-
UNARY_FIELD_CLASS_NAME
- See Also:
-
-
Constructor Details
-
JpqlFilterComponentGenerationStrategy
@Autowired public JpqlFilterComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport)
-
-
Method Details
-
createComponent
@Nullable public com.vaadin.flow.component.Component createComponent(ComponentGenerationContext context) Description copied from interface:ComponentGenerationStrategy
Creates a component according to the givenComponentGenerationContext
. If the strategy is not applicable to the given context it should return null value.- Specified by:
createComponent
in interfaceComponentGenerationStrategy
- Parameters:
context
- the context instance- Returns:
- created component
-
createComponentInternal
@Nullable protected com.vaadin.flow.component.Component createComponentInternal(ComponentGenerationContext context) - Overrides:
createComponentInternal
in classAbstractComponentGenerationStrategy
-
createDatatypeField
@Nullable protected com.vaadin.flow.component.Component createDatatypeField(ComponentGenerationContext context, Class<?> type) -
createStringField
-
createCollectionField
protected com.vaadin.flow.component.Component createCollectionField(ComponentGenerationContext context) -
createEntityField
- Overrides:
createEntityField
in classAbstractComponentGenerationStrategy
-
createEnumField
- Overrides:
createEnumField
in classAbstractComponentGenerationStrategy
-
createDatePicker
- Overrides:
createDatePicker
in classAbstractComponentGenerationStrategy
-
createDateTimePicker
protected com.vaadin.flow.component.Component createDateTimePicker(ComponentGenerationContext context) - Overrides:
createDateTimePicker
in classAbstractComponentGenerationStrategy
-
createBooleanField
protected com.vaadin.flow.component.Component createBooleanField(ComponentGenerationContext context) - Overrides:
createBooleanField
in classAbstractComponentGenerationStrategy
-
createVoidField
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-