Interface Filter<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldOrSubFilter<T>
and()
Combines filters with a logical AND operation.FieldOrSubFilter<T>
or()
Combines filters with a logical OR operation.
-
-
-
Method Detail
-
and
FieldOrSubFilter<T> and()
Combines filters with a logical AND operation.
Note, that the AND operation has a higher priority than the OR operation. Example: a OR b AND c OR d will be execute as a OR (b AND c) OR d. Use sub filters with the
FieldOrSubFilter.filter(Filter)
method to set parenthesis.Example:
import workflow.business.data.Dossier; List<Dossier> result = ivy.repo.search(Dossier.class) .textField("person.firstName").containsWordPattern("A*") .and() .textField("person.firstName").containsWordPattern("Ale*") .execute() .getAll();
- Returns:
- fields or sub filter operations
- See Also:
or()
,FieldOrSubFilter.not()
,FieldOrSubFilter.filter(Filter)
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
or
FieldOrSubFilter<T> or()
Combines filters with a logical OR operation.
Note, that the OR operation has a lower priority than the AND operation. Example: a OR b AND c OR d will be execute as a OR (b AND c) OR d. Use sub filters with the
FieldOrSubFilter.filter(Filter)
method to set parenthesis.Example:
import workflow.business.data.Dossier; List<Dossier> result = ivy.repo.search(Dossier.class) .textField("person.firstName").containsWordPattern("A*") .or() .textField("person.firstName").containsWordPattern("Jo*") .execute() .getAll();
- Returns:
- fields or sub filter operations
- See Also:
and()
,FieldOrSubFilter.not()
,FieldOrSubFilter.filter(Filter)
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-