|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.search.builder.Combine
public class Combine
Builder for MultiTermRestrictions.
For usage see QueryBuilder.
| Constructor Summary | |
|---|---|
Combine()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Combine()
| Method Detail |
|---|
public static BooleanRestriction anyOf(SearchRestriction... restrictions)
restrictions - search restrictions
public static BooleanRestriction allOf(SearchRestriction... restrictions)
restrictions - search restrictions
public static BooleanRestriction anyOf(Collection<SearchRestriction> restrictions)
restrictions - search restrictions
public static BooleanRestriction allOf(Collection<SearchRestriction> restrictions)
restrictions - search restrictions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||