Package io.jmix.uidata.filter
Class UiDataFilterSupport
java.lang.Object
io.jmix.ui.component.filter.FilterSupport
io.jmix.uidata.filter.UiDataFilterSupport
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected CurrentAuthentication
protected DataComponents
protected DataManager
protected FilterConfigurationConverter
protected Metadata
Fields inherited from class io.jmix.ui.component.filter.FilterSupport
actions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFilterConfigurationFragment
(FrameOwner owner, boolean isNewConfiguration, Filter.Configuration currentConfiguration) protected FilterConfiguration
createFilterConfigurationModel
(Filter.Configuration configuration) getConfigurationsMap
(Filter filter) protected Set<Class<? extends FilterAction>>
protected FilterConfiguration
getFragmentFilterConfigurationModel
(Filter.Configuration configuration, ScreenFragment configurationFragment) protected boolean
isDefaultForMeFieldVisible
(Filter.Configuration currentConfiguration, FilterConfiguration configurationModel) protected FilterConfiguration
loadFilterConfigurationModel
(boolean isNewConfiguration, Filter.Configuration currentConfiguration) loadFilterConfigurationModel
(Filter filter, String configurationId) protected List<FilterConfiguration>
loadFilterConfigurationModels
(Filter filter) protected void
registerConfigurationDc
(FilterConfiguration configurationModel, FrameOwner owner) void
void
saveConfigurationModel
(Filter.Configuration configuration, FilterConfiguration configurationModel) saveCurrentFilterConfiguration
(Filter.Configuration configuration, boolean isNewConfiguration, LogicalFilterComponent rootFilterComponent, ScreenFragment configurationFragment) protected void
saveFilterSettings
(ScreenSettingsFacet screenSettingsFacet, String filterId, FilterConfiguration configurationModel) Methods inherited from class io.jmix.ui.component.filter.FilterSupport
createFilterAction, getDefaultFilterActions, initConfigurationValuesMap, initFilterConfiguration, initFilterConfigurationFragment, refreshConfigurationDefaultValues, refreshConfigurationValuesMap, resetConfigurationValuesMap
-
Field Details
-
CONFIGURATION_CONTAINER_ID
- See Also:
-
dataManager
-
filterConfigurationConverter
-
currentAuthentication
-
dataComponents
-
metadata
-
-
Constructor Details
-
UiDataFilterSupport
public UiDataFilterSupport()
-
-
Method Details
-
getConfigurationsMap
- Overrides:
getConfigurationsMap
in classFilterSupport
-
removeCurrentFilterConfiguration
- Overrides:
removeCurrentFilterConfiguration
in classFilterSupport
-
createFilterConfigurationFragment
public ScreenFragment createFilterConfigurationFragment(FrameOwner owner, boolean isNewConfiguration, Filter.Configuration currentConfiguration) - Overrides:
createFilterConfigurationFragment
in classFilterSupport
-
loadFilterConfigurationModel
@Nullable public FilterConfiguration loadFilterConfigurationModel(Filter filter, String configurationId) -
saveCurrentFilterConfiguration
public Filter.Configuration saveCurrentFilterConfiguration(Filter.Configuration configuration, boolean isNewConfiguration, LogicalFilterComponent rootFilterComponent, ScreenFragment configurationFragment) - Overrides:
saveCurrentFilterConfiguration
in classFilterSupport
-
saveConfigurationModel
public void saveConfigurationModel(Filter.Configuration configuration, @Nullable FilterConfiguration configurationModel) -
getDefaultFilterActionClasses
- Overrides:
getDefaultFilterActionClasses
in classFilterSupport
-
loadFilterConfigurationModels
-
loadFilterConfigurationModel
protected FilterConfiguration loadFilterConfigurationModel(boolean isNewConfiguration, Filter.Configuration currentConfiguration) -
isDefaultForMeFieldVisible
protected boolean isDefaultForMeFieldVisible(Filter.Configuration currentConfiguration, FilterConfiguration configurationModel) -
registerConfigurationDc
-
getFragmentFilterConfigurationModel
protected FilterConfiguration getFragmentFilterConfigurationModel(Filter.Configuration configuration, ScreenFragment configurationFragment) -
createFilterConfigurationModel
-
saveFilterSettings
protected void saveFilterSettings(ScreenSettingsFacet screenSettingsFacet, String filterId, FilterConfiguration configurationModel)
-