use of org.jowidgets.cap.ui.api.filter.IUiFilterTools in project jo-client-platform by jo-source.
the class BeanRelationNodeModelImpl method removeFiltersForProperty.
@Override
public void removeFiltersForProperty(final String id, final String propertyName) {
final IUiFilterTools filterTools = CapUiToolkit.filterToolkit().filterTools();
final IUiFilter currentFilter = getFilter(id);
if (currentFilter != null) {
setFilter(id, filterTools.removeProperty(currentFilter, propertyName));
}
}
use of org.jowidgets.cap.ui.api.filter.IUiFilterTools in project jo-client-platform by jo-source.
the class BeanTableModelImpl method addFilter.
@Override
public void addFilter(final String id, final IUiFilter addedFilter) {
Assert.paramNotNull(id, "id");
Assert.paramNotNull(addedFilter, "addedFilter");
final IUiFilterTools filterTools = CapUiToolkit.filterToolkit().filterTools();
final IUiFilter currentFilter = getFilter(id);
setFilter(id, filterTools.addFilter(currentFilter, addedFilter));
}
use of org.jowidgets.cap.ui.api.filter.IUiFilterTools in project jo-client-platform by jo-source.
the class BeanTableModelImpl method removeFiltersForProperty.
@Override
public void removeFiltersForProperty(final String id, final String propertyName) {
final IUiFilterTools filterTools = CapUiToolkit.filterToolkit().filterTools();
final IUiFilter currentFilter = getFilter(id);
if (currentFilter != null) {
setFilter(id, filterTools.removeProperty(currentFilter, propertyName));
}
}
use of org.jowidgets.cap.ui.api.filter.IUiFilterTools in project jo-client-platform by jo-source.
the class BeanRelationNodeModelImpl method addFilter.
@Override
public void addFilter(final String id, final IUiFilter addedFilter) {
Assert.paramNotNull(id, "id");
Assert.paramNotNull(addedFilter, "addedFilter");
final IUiFilterTools filterTools = CapUiToolkit.filterToolkit().filterTools();
final IUiFilter currentFilter = getFilter(id);
setFilter(id, filterTools.addFilter(currentFilter, addedFilter));
}
use of org.jowidgets.cap.ui.api.filter.IUiFilterTools in project jo-client-platform by jo-source.
the class BeanTabFolderModelImpl method addFilter.
@Override
public void addFilter(final String id, final IUiFilter addedFilter) {
Assert.paramNotNull(id, "id");
Assert.paramNotNull(addedFilter, "addedFilter");
final IUiFilterTools filterTools = CapUiToolkit.filterToolkit().filterTools();
final IUiFilter currentFilter = getFilter(id);
setFilter(id, filterTools.addFilter(currentFilter, addedFilter));
}
Aggregations