Uses of Class
com.jbstrap.core.dao.Criteria
Package
Description
-
Uses of Criteria in com.jbstrap.core.cache
Modifier and TypeMethodDescriptionTempDataExportCache.addExportData
(ExportTypes exportType, String filename, DataDescriptor dataDescriptor, Criteria criteria, List<Order> orders, List<String> columnNames, String clientId, String languageCode, char separator) -
Uses of Criteria in com.jbstrap.core.dao
Modifier and TypeMethodDescriptionCriteria.addSubCriteria
(Criteria criteria) Adds a new sub criteria to the complex CriteriaCriteria.copy()
Creates a copy of the Criteriafinal Criteria
Modifier and TypeMethodDescriptionCriteria.getSubCriteria()
If the criteria is complex, gets a list of every sub criteriaModifier and TypeMethodDescriptionCriteria.addSubCriteria
(Criteria criteria) Adds a new sub criteria to the complex Criteriaboolean
Criteria.containsCriteria
(Criteria criteria) Determines if the complex Criteria contains the specified criteriaDaoWithDomain.find
(T transaction, Class<?> type, D dataDescriptor, Client client, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records, according to the specified parameters.StandardDao.find
(T transaction, D dataDescriptor, Client client, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records, according to the specified parameters.abstract long
DaoWithDomain.getRowCount
(T transaction, Class<?> type, D dataDescriptor, Client client, Criteria criteria) Gets a row count, with the specified parameters.abstract long
StandardDao.getRowCount
(T transaction, D dataDescriptor, Client client, Criteria criteria) Gets a row count, with the specified parameters.ModifierConstructorDescriptionCriteria
(OperatorType operator, Criteria... criteria) Creates a complex Criteria -
Uses of Criteria in com.jbstrap.core.dao.base
Modifier and TypeMethodDescriptionJpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, int startRow, int endRow, Criteria criteria) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows.JpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, int startRow, int endRow, Criteria criteria, Order order) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, int startRow, int endRow, Criteria criteria, Order... orders) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, Criteria criteria) Gets the records of the specified entity based DataDescriptor, that meet the specified criteriaJpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, Client client, int startRow, int endRow, Criteria criteria) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows.JpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, Client client, int startRow, int endRow, Criteria criteria, Order order) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, Client client, int startRow, int endRow, Criteria criteria, Order... orders) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, Client client, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, Client client, Criteria criteria) Gets the records of the specified entity based DataDescriptor, that meet the specified criteriaJpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, int startRow, int endRow, Criteria criteria) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, int startRow, int endRow, Criteria criteria, Order order) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, int startRow, int endRow, Criteria criteria, Order... orders) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, Criteria criteria) Gets the records of the specified entity, following the specified parameters.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, Criteria criteria, Order... orders) Gets the records of the specified entity, following the specified parameters.Gets the records of the specified entity, following the specified parameters.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, Client client, int startRow, int endRow, Criteria criteria) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, Client client, int startRow, int endRow, Criteria criteria, Order order) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, Client client, int startRow, int endRow, Criteria criteria, Order... orders) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, Client client, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(SQLTransaction transaction, Class<?> type, Client client, Criteria criteria) Gets the records of the specified entity, following the specified parameters.JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, int startRow, int endRow, Criteria criteria) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows.JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, int startRow, int endRow, Criteria criteria, Order order) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, int startRow, int endRow, Criteria criteria, Order... orders) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, Criteria criteria) Gets the records of the specified entity based DataDescriptor, that meet the specified criteriaJpaDaoAPI.find
(JPADataDescriptor dataDescriptor, Client client, int startRow, int endRow, Criteria criteria) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows.JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, Client client, int startRow, int endRow, Criteria criteria, Order order) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, Client client, int startRow, int endRow, Criteria criteria, Order... orders) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, Client client, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records of the specified entity based DataDescriptor, that meet the specified criteria, between the specified starting and ending rows (ordered).JpaDaoAPI.find
(JPADataDescriptor dataDescriptor, Client client, Criteria criteria) Gets the records of the specified entity based DataDescriptor, that meet the specified criteriaGets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.Gets the records of the specified entity, following the specified parameters.Gets the records of the specified entity, following the specified parameters.Gets the records of the specified entity, following the specified parameters.Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(Class<?> type, Client client, int startRow, int endRow, Criteria criteria, Order order) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(Class<?> type, Client client, int startRow, int endRow, Criteria criteria, Order... orders) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.JpaDaoAPI.find
(Class<?> type, Client client, int startRow, int endRow, Criteria criteria, List<Order> orders) Gets the records of the specified entity, following the specified parameters, starting from the specified row, and ending at the specified row.Gets the records of the specified entity, following the specified parameters.static long
JpaDaoAPI.getRowCount
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, Criteria criteria) Counts and returns the rows of the specified entity based DataDescriptor record, that meet the criteria.static long
JpaDaoAPI.getRowCount
(SQLTransaction transaction, JPADataDescriptor dataDescriptor, Client client, Criteria criteria) Counts and returns the rows of the specified entity based DataDescriptor record, that meet the criteria.static long
JpaDaoAPI.getRowCount
(SQLTransaction transaction, Class<?> type, Criteria criteria) Counts and returns the rows of the specified record, that meet the criteriastatic long
JpaDaoAPI.getRowCount
(SQLTransaction transaction, Class<?> type, Client client, Criteria criteria) Counts and returns the rows of the specified entity record, that meet the criteriastatic long
JpaDaoAPI.getRowCount
(JPADataDescriptor dataDescriptor, Criteria criteria) Counts and returns the rows of the specified entity based DataDescriptor record, that meet the criteria.static long
JpaDaoAPI.getRowCount
(JPADataDescriptor dataDescriptor, Client client, Criteria criteria) Counts and returns the rows of the specified entity based DataDescriptor record, that meet the criteria.static long
JpaDaoAPI.getRowCount
(Class<?> type, Criteria criteria) Counts and returns the rows of the specified record, that meet the criteriastatic long
JpaDaoAPI.getRowCount
(Class<?> type, Client client, Criteria criteria) Counts and returns the rows of the specified entity record, that meet the criteria -
Uses of Criteria in com.jbstrap.core.event
Modifier and TypeMethodDescriptionstatic EventBuilder
EventBuilder.createFilterBarFilteringEvent
(Criteria criteria) Creates a new event builder class, that will trigger a filter bar filtering event -
Uses of Criteria in com.jbstrap.core.meta
Modifier and TypeMethodDescriptionBaseDataDescriptor.getDefaultFilterCriteria()
Gets the default filter criteria assigned to the DataDescriptorDataDescriptor.getDefaultFilterCriteria()
Gets the default filter criteria assigned to the DataDescriptorModifier and TypeMethodDescriptionlong
Counts data in the DataDescriptor, following the specified criteriaabstract long
Gets the number of records in the database.long
Counts data in the DataDescriptor, following the specified criterialong
InMemoryDataDescriptor.countData
(NoTransaction transaction, Client client, Criteria criteria) Gets the number of records in the database.long
JPADataDescriptor.countData
(SQLTransaction transaction, Client client, Criteria criteria) Gets the number of records in the database.long
SQLDataDescriptor.countData
(SQLTransaction transaction, Client client, Criteria criteria) Gets the number of the record in the database.void
BaseDataDescriptor.fetchData
(int startRow, int endRow, Criteria criteria, Order order, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, between the specified rows, with the specified order and criteriavoid
BaseDataDescriptor.fetchData
(int startRow, int endRow, Criteria criteria, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, between the specified rows, asynchronously.void
BaseDataDescriptor.fetchData
(int startRow, int endRow, Criteria criteria, List<Order> orders, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, between the specified rows, with the specified orders and criteriavoid
BaseDataDescriptor.fetchData
(Criteria criteria, Order order, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, with the specified order and criteriavoid
BaseDataDescriptor.fetchData
(Criteria criteria, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor asynchronously.void
BaseDataDescriptor.fetchData
(Criteria criteria, List<Order> orders, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, with the specified orders and criteriavoid
DataDescriptor.fetchData
(int startRow, int endRow, Criteria criteria, Order order, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, between the specified rows, with the specified order and criteriavoid
DataDescriptor.fetchData
(int startRow, int endRow, Criteria criteria, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, between the specified rows, asynchronously.void
DataDescriptor.fetchData
(int startRow, int endRow, Criteria criteria, List<Order> orders, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, between the specified rows, with the specified orders and criteriavoid
DataDescriptor.fetchData
(Criteria criteria, Order order, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, with the specified order and criteriavoid
DataDescriptor.fetchData
(Criteria criteria, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor asynchronously.void
DataDescriptor.fetchData
(Criteria criteria, List<Order> orders, Client client, DataDescriptorCallback callback) Fetches data from the DataDescriptor, with the specified orders and criteriaQueries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rowsQueries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, ordered.Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, following the specified orders.Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, following the specified orders.Queries the DataDescriptor data synchronously, that meet the specified criteriaQueries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rowsQueries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, ordered.BaseDataDescriptor.find
(Client client, int startRow, int endRow, Criteria criteria, Order... orders) Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, following the specified orders.BaseDataDescriptor.find
(Client client, int startRow, int endRow, Criteria criteria, List<Order> orders) Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, following the specified orders.Queries the DataDescriptor data synchronously, that meet the specified criteriaBaseDataDescriptor.find
(T transaction, Client client, Criteria criteria, List<Order> orders, int startRow, int endRow) Initiates a query by using the DataDescriptor.Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rowsQueries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, ordered.Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, following the specified orders.Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, following the specified orders.Queries the DataDescriptor data synchronously, that meet the specified criteriaQueries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rowsQueries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, ordered.Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, following the specified orders.Queries the DataDescriptor data synchronously, that meet the specified criteria, between the specified rows, following the specified orders.Queries the DataDescriptor data synchronously, that meet the specified criteriaInMemoryDataDescriptor.find
(NoTransaction transaction, Client client, Criteria criteria, List<Order> orders, int startRow, int endRow) Initiates a query by using the DataDescriptor.JPADataDescriptor.find
(SQLTransaction transaction, Client client, Criteria criteria, List<Order> orders, int startRow, int endRow) Initiates a query by using the DataDescriptor.SQLDataDescriptor.find
(SQLTransaction transaction, Client client, Criteria criteria, List<Order> orders, int startRow, int endRow) Initiates a query by using the DataDescriptor.BaseDataDescriptor.setDefaultFilterCriteria
(Criteria criteria) Sets the default filter criteria, that will be used by the DataDescriptorDataDescriptor.setDefaultFilterCriteria
(Criteria criteria) Sets the default filter criteria, that will be used by the DatDescriptor -
Uses of Criteria in com.jbstrap.core.meta.xml
-
Uses of Criteria in com.jbstrap.ui
-
Uses of Criteria in com.jbstrap.ui.components.activitystream
Modifier and TypeMethodDescriptionActivityStream.getCriteria()
Gets the criteria that is used when querying data.final Criteria
ActivityStream.getDefaultCriteria()
Gets the default criteria, used during the data fetchActivityStream.getFilterCriteria()
Gets the (simple) filter criteria used when fetching dataModifier and TypeMethodDescriptionActivityStream.fetch
(int startRow, int endRow, Criteria criteria, List<Order> orders, Client client) final ActivityStream
ActivityStream.setDefaultCriteria
(Criteria criteria) Sets the default criteria, used during the data fetchActivityStream.setFilterCriteria
(Criteria criteria) Sets the (simple) filter criteria used when fetching data -
Uses of Criteria in com.jbstrap.ui.components.calendar
Modifier and TypeMethodDescriptionCalendar.getDefaultFilterCriteria()
Gets the default filter criteria, used by the componentCalendar.getFilterCriteria()
Gets the filter criteriaModifier and TypeMethodDescriptionCalendar.setDefaultFilterCriteria
(Criteria criteria) Sets the default filter criteria, used by the componentCalendar.setFilterCriteria
(Criteria criteria) Sets the filter criteria, used when getting data -
Uses of Criteria in com.jbstrap.ui.components.charts
Modifier and TypeFieldDescriptionprotected Criteria
SeriesBasedChart.defaultFilterCriteria
protected Criteria
SeriesBasedChart.filterCriteria
Modifier and TypeMethodDescriptionSeriesBasedChart.getDefaultFilterCriteria()
Gets the default filter criterion.SeriesBasedChart.getFilterCriteria()
Gets the filter criterion used for filtering the chart data.Modifier and TypeMethodDescriptionSeriesBasedChart.setDefaultFilterCriteria
(Criteria defaultFilterCriteria) Sets the default filter criterion used for filtering chart data.SeriesBasedChart.setFilterCriteria
(Criteria criteria) Sets the chart’s filter criterion. -
Uses of Criteria in com.jbstrap.ui.components.filter
Modifier and TypeMethodDescriptionabstract Criteria
BaseFilter.getCriteria()
JBBaseFilter.getCriteria()
Gets the user-specified filter criterion from the filter component.Modifier and TypeMethodDescriptionThis method is called if the user starts filtering via the filter componentAdvancedFilter.setCriteria
(Criteria criteria) Sets the filter component fulfilling the providedCriteria
instance.abstract T
BaseFilter.setCriteria
(Criteria criteria) abstract T
JBBaseFilter.setCriteria
(Criteria criteria) SimpleFilter.setCriteria
(Criteria criteria) Sets the filter component according to the filter expression given.TextFilter.setCriteria
(Criteria criteria) Sets the criterion for text filter component. -
Uses of Criteria in com.jbstrap.ui.components.form.items
Modifier and TypeMethodDescriptionfinal Criteria
ComboboxItem.getCriteria()
Gets the criteria that is applied to the records that are in the combobox set of valuesfinal Criteria
DualListBox.getCriteria()
Gets the filter criterion used to retrieve the value set.final Criteria
RadioButtonItem.getCriteria()
Gets the filter criterion used to query the component’s value set data from the database.Modifier and TypeMethodDescriptionRadioButtonItem.fetch
(int startRow, int endRow, Criteria criteria, List<Order> orders, Client client) final ComboboxItem
Fetches the combobox's set of values, following the specified criteriafinal DualListBox
Gets the dual list box’s value set data from the database, fulfilling the specified filter criterion.final RadioButtonItem
Gets value set data from the database, fulfilling the specified filter criterion.final ComboboxItem
ComboboxItem.setFilterCriteria
(Criteria criteria) Sets the criteria that is applied to the records that are in the combobox set of valuesfinal DualListBox
DualListBox.setFilterCriteria
(Criteria criteria) Sets the filter criterion used to filter the value set.final RadioButtonItem
RadioButtonItem.setFilterCriteria
(Criteria criteria) Sets the filter criterion used to query the value set. -
Uses of Criteria in com.jbstrap.ui.components.form.items.selectoritem
Modifier and TypeMethodDescriptionfinal Criteria
SelectorItem.getDefaultFilterCriteria()
Gets the default filter criteria, that are applied to the values.Modifier and TypeMethodDescriptionfinal SelectorItem
SelectorItem.setDefaultFilterCriteria
(Criteria criteria) Sets the default filter criteria, that will be applied to the values. -
Uses of Criteria in com.jbstrap.ui.components.listgrid
Modifier and TypeMethodDescriptionListGrid.getCriteria()
Gets list grid filter criteria.ListGrid.getDefaultCriteria()
Gets list grid default filter criteria.ListGrid.getFilterCriteria()
Gets the filter criterion used for the query.Modifier and TypeMethodDescriptionListGrid.setDefaultCriteria
(Criteria defaultCriteria) Sets the filter criterion used to filter data.ListGrid.setFilterCriteria
(Criteria criteria) Sets the filter criterion used to query the data. -
Uses of Criteria in com.jbstrap.ui.components.sparkline
Modifier and TypeMethodDescriptionSparkline.getFilterCriteria()
Gets the filter criterion used for the query. -
Uses of Criteria in com.jbstrap.ui.components.timeline
Modifier and TypeMethodDescriptionTimeline.getCriteria()
Gets the criteria that is used when querying data.final Criteria
Timeline.getDefaultCriteria()
Gets the default criteria, used during the data fetchfinal Criteria
Timeline.getFilterCriteria()
Gets the (simple) filter criteria used when fetching dataModifier and TypeMethodDescriptionfinal Timeline
Timeline.setDefaultCriteria
(Criteria defaultCriteria) Sets the default criteria, used during the data fetchfinal Timeline
Timeline.setFilterCriteria
(Criteria criteria) Sets the (simple) filter criteria used when fetching data -
Uses of Criteria in com.jbstrap.ui.components.treeview
Modifier and TypeMethodDescriptionTreeview.getCriteria()
Gets the filter criterion used for the query.final Criteria
Treeview.getDefaultCriteria()
If the treeview retrieves its data from a DataDescriptor, the criterion used to query the data must be specified.Treeview.getFilterCriteria()
Gets the filter criterion used to query data from the database.Modifier and TypeMethodDescriptionfinal Treeview
Treeview.setDefaultCriteria
(Criteria criteria) Sets the Default Criteria used for filtering the treeview items.Treeview.setFilterCriteria
(Criteria criteria) If the treeview component retrieves its values from a DataDescriptor, a filter criterion to get the data must be specified. -
Uses of Criteria in com.jbstrap.ui.interfaces
Modifier and TypeMethodDescriptionFilterable.getCriteria()
Gets the filter criteria used to query the component data.Modifier and TypeMethodDescriptionIf a component implements theFetchable
interface, a custom query can be initiated.Filterable.setFilterCriteria
(Criteria criteria) Sets the simple filter criterion used to query the component data. -
Uses of Criteria in com.jbstrap.ui.utils
Modifier and TypeMethodDescriptionstatic Criteria
CriteriaUtils.fromString
(String criteriaStr) Creates a filter criterion from the specified text.
Usage examples:
Criterion specified by text Java code corresponding to the criterionCriteria(id,EQUALS,25)
new Criteria("id", OperatorType.EQUALS, 25);
Criteria(AND,Criteria(id,GREATER_THAN,0),Citeria(id,LESS_THAN,10)
new Criteria(OperatorType.AND, new Criteria[] {
new Criteria("id", OperatorType.GREATER_THAN, 0),
new Criteria("id", OperatorType.LESS_THAN, 10),
);static Criteria
CriteriaUtils.getCombinatedCriteria
(Criteria firstCriteria, Criteria secondCriteria) Connects the filter criteria with an AND operator.static Criteria
CriteriaUtils.negateCriteria
(Criteria criteria) Negates the filter criterion (inverts the operator in the criterion).Modifier and TypeMethodDescriptionstatic Criteria
CriteriaUtils.getCombinatedCriteria
(Criteria firstCriteria, Criteria secondCriteria) Connects the filter criteria with an AND operator.static Criteria
CriteriaUtils.negateCriteria
(Criteria criteria) Negates the filter criterion (inverts the operator in the criterion).