com.atlassian.crowd.search.builder
public static class QueryBuilder.PartialEntityQuery<T> extends Object
| Constructor and Description |
|---|
QueryBuilder.PartialEntityQuery(Class<T> returnType,
EntityDescriptor entity) |
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder.PartialMembershipQueryWithEntityToMatch<T> |
childrenOf(EntityDescriptor entityToMatch) |
Object |
ofType(GroupType groupType) |
QueryBuilder.PartialMembershipQueryWithEntityToMatch<T> |
parentsOf(EntityDescriptor entityToMatch) |
EntityQuery<T> |
returningAtMost(int maxResults) |
QueryBuilder.PartialEntityQueryWithStartIndex<T> |
startingAt(int index) |
QueryBuilder.PartialEntityQueryWithRestriction<T> |
with(SearchRestriction restriction)
Example: Restriction.on(UserTermKeys.FIRST_NAME).exactlyMatching("bob"))
|
public QueryBuilder.PartialEntityQuery(Class<T> returnType, EntityDescriptor entity)
public QueryBuilder.PartialEntityQueryWithRestriction<T> with(SearchRestriction restriction)
restriction - public QueryBuilder.PartialEntityQueryWithStartIndex<T> startingAt(int index)
public EntityQuery<T> returningAtMost(int maxResults)
public QueryBuilder.PartialMembershipQueryWithEntityToMatch<T> childrenOf(EntityDescriptor entityToMatch)
public QueryBuilder.PartialMembershipQueryWithEntityToMatch<T> parentsOf(EntityDescriptor entityToMatch)
Copyright © 2015 Atlassian. All Rights Reserved.