public class SearchUtils extends Object
Static utility methods for the search implementation.
| Constructor and Description | 
|---|
SearchUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Optional<com.edorasware.api.query.Predicate> | 
assemblePredicatesWithAnd(Collection<com.edorasware.api.query.Predicate> predicates)
Combines predicates using the AND operation. 
 | 
static Optional<com.edorasware.api.query.Predicate> | 
assemblePredicatesWithOr(Collection<com.edorasware.api.query.Predicate> predicates)
Combines predicates using the OR operation. 
 | 
static String | 
getStringWithWildcards(String value)
Surrounds a string with wildcards, escaping any wildcards that may be in the source string. 
 | 
public static Optional<com.edorasware.api.query.Predicate> assemblePredicatesWithAnd(Collection<com.edorasware.api.query.Predicate> predicates)
Combines predicates using the AND operation.
predicates - the input predicatespublic static Optional<com.edorasware.api.query.Predicate> assemblePredicatesWithOr(Collection<com.edorasware.api.query.Predicate> predicates)
Combines predicates using the OR operation.
predicates - the input predicatesCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.