FiltersAdder
The FiltersAdder
annotation is useful to indicate those methods used to adding the extracted filters to the filtered query. For example:
description = "Will be added to the query the plates such AA000AA, etc..."
)
private void addPlates() {
HashSet<String> names = extractPlatesFilters(); // extract the specific filters from the rawFilters list
if (names != null) {
Predicate nameIn = root.get("model").in(names);
predicates.add(nameIn); // add the created predicate to the predicates list
}
}
Content copied to clipboard
Author
N7ghtm4r3 - Tecknobit
Since
1.0.7