public class Combine extends Object
QueryBuilder
.Constructor and Description |
---|
Combine() |
Modifier and Type | Method and Description |
---|---|
static BooleanRestriction |
allOf(Collection<SearchRestriction> restrictions)
Returns an AND boolean search restriction where all of the search restrictions have to be satisfied.
|
static BooleanRestriction |
allOf(SearchRestriction... restrictions)
Returns an AND boolean search restriction where all of the search restrictions have to be satisfied.
|
static BooleanRestriction |
anyOf(Collection<SearchRestriction> restrictions)
Returns an OR boolean search restriction where only one or more of the search restrictions have to be
satisfied.
|
static BooleanRestriction |
anyOf(SearchRestriction... restrictions)
Returns an OR boolean search restriction where only one or more of the search restrictions have to be
satisfied.
|
public static BooleanRestriction anyOf(SearchRestriction... restrictions)
restrictions
- search restrictionspublic static BooleanRestriction allOf(SearchRestriction... restrictions)
restrictions
- search restrictionspublic static BooleanRestriction anyOf(Collection<SearchRestriction> restrictions)
restrictions
- search restrictionspublic static BooleanRestriction allOf(Collection<SearchRestriction> restrictions)
restrictions
- search restrictionsCopyright © 2017 Atlassian. All rights reserved.