Revision 21c1abac
Added by Andreas Kohlbecker over 6 years ago
src/main/java/eu/etaxonomy/cdm/service/CdmFilterablePagingProvider.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.cdm.service; |
10 | 10 |
|
11 |
import java.util.ArrayList; |
|
11 | 12 |
import java.util.Arrays; |
12 | 13 |
import java.util.List; |
13 | 14 |
|
15 |
import org.hibernate.criterion.Criterion; |
|
14 | 16 |
import org.vaadin.viritin.fields.LazyComboBox.FilterableCountProvider; |
15 | 17 |
import org.vaadin.viritin.fields.LazyComboBox.FilterablePagingProvider; |
16 | 18 |
|
... | ... | |
44 | 46 |
|
45 | 47 |
List<String> initStrategy = DEFAULT_INIT_STRATEGY; |
46 | 48 |
|
49 |
private List<Criterion> criteria = new ArrayList<>(); |
|
50 |
|
|
47 | 51 |
|
48 | 52 |
/** |
49 | 53 |
* @return the matchMode |
... | ... | |
114 | 118 |
type, |
115 | 119 |
filter, |
116 | 120 |
matchMode, |
117 |
null,
|
|
121 |
criteria,
|
|
118 | 122 |
pageSize, |
119 | 123 |
firstRow, |
120 | 124 |
orderHints, |
... | ... | |
133 | 137 |
type, |
134 | 138 |
filter, |
135 | 139 |
matchMode, |
136 |
null,
|
|
140 |
criteria,
|
|
137 | 141 |
1, |
138 | 142 |
0, |
139 | 143 |
null, |
... | ... | |
170 | 174 |
this.initStrategy = initStrategy; |
171 | 175 |
} |
172 | 176 |
|
177 |
/** |
|
178 |
* The list of criteria is initially empty. |
|
179 |
* |
|
180 |
* @return the criteria |
|
181 |
*/ |
|
182 |
public List<Criterion> getCriteria() { |
|
183 |
return criteria; |
|
184 |
} |
|
173 | 185 |
} |
Also available in: Unified diff
ref #7171 TaxonNameEditor nomenclaturalReferenceSectionEditingOnly mode