Package coop.intergal.ui.views
Class GenericDynamicQuery
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.polymertemplate.AbstractTemplate<M>
-
- com.vaadin.flow.component.polymertemplate.PolymerTemplate<com.vaadin.flow.templatemodel.TemplateModel>
-
- coop.intergal.ui.views.GenericDynamicQuery
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,Serializable
- Direct Known Subclasses:
GeneratedQuery
public class GenericDynamicQuery extends com.vaadin.flow.component.polymertemplate.PolymerTemplate<com.vaadin.flow.templatemodel.TemplateModel>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected com.vaadin.flow.data.binder.BeanValidationBinder<DynamicDBean>binderprotected StringkeysFromParentprotected StringpreConfParamprotected StringstringFilter
-
Constructor Summary
Constructors Constructor Description GenericDynamicQuery()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanForm(Class<?> class1, Object object, String ResourceName, boolean isQryFormGenrated)static StringcomponeDateFilter(String field, String value)static Stream<com.vaadin.flow.component.Component>findComponents(com.vaadin.flow.component.Component component, String id)static com.vaadin.flow.component.ComponentfindComponentXX(com.vaadin.flow.component.Component component, String searchid)StringgetFieldsDataForFilter(Class<?> class1, Object object, String ResourceName)StringgetFilter()ArrayList<String[]>getRowsColList()protected StringprepareFilter(Class<?> class1, Object object, String ResourceName, boolean isGeneratedForm)voidsetBean(DynamicDBean bean)voidsetBinder(com.vaadin.flow.data.binder.BeanValidationBinder<DynamicDBean> binder)voidsetFilter(String filter)voidsetRowsColList(ArrayList<String[]> rowsColList)-
Methods inherited from class com.vaadin.flow.component.polymertemplate.AbstractTemplate
getModel, getModelType, getModelType, getStateNode, initModel, isSupportedClass
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
-
-
-
Field Detail
-
binder
protected com.vaadin.flow.data.binder.BeanValidationBinder<DynamicDBean> binder
-
stringFilter
protected String stringFilter
-
keysFromParent
protected String keysFromParent
-
preConfParam
protected String preConfParam
-
-
Method Detail
-
getFilter
public String getFilter()
-
setFilter
public void setFilter(String filter)
-
setBinder
public void setBinder(com.vaadin.flow.data.binder.BeanValidationBinder<DynamicDBean> binder)
-
setBean
public void setBean(DynamicDBean bean)
-
getFieldsDataForFilter
public String getFieldsDataForFilter(Class<?> class1, Object object, String ResourceName)
-
prepareFilter
protected String prepareFilter(Class<?> class1, Object object, String ResourceName, boolean isGeneratedForm)
-
cleanForm
protected void cleanForm(Class<?> class1, Object object, String ResourceName, boolean isQryFormGenrated)
-
findComponents
public static Stream<com.vaadin.flow.component.Component> findComponents(com.vaadin.flow.component.Component component, String id)
-
findComponentXX
public static com.vaadin.flow.component.Component findComponentXX(com.vaadin.flow.component.Component component, String searchid)
-
-