com.atlassian.crowd.search.builder
Class QueryBuilder.PartialEntityQuery<T>
java.lang.Object
com.atlassian.crowd.search.builder.QueryBuilder.PartialEntityQuery<T>
- Enclosing class:
- QueryBuilder
public static class QueryBuilder.PartialEntityQuery<T>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryBuilder.PartialEntityQuery
public QueryBuilder.PartialEntityQuery(Class<T> returnType,
EntityDescriptor entity)
with
public QueryBuilder.PartialEntityQueryWithRestriction<T> with(SearchRestriction restriction)
- Example: Restriction.on(UserTermKeys.FIRST_NAME).exactlyMatching("bob"))
- Parameters:
restriction
-
- Returns:
startingAt
public QueryBuilder.PartialEntityQueryWithStartIndex<T> startingAt(int index)
returningAtMost
public EntityQuery<T> returningAtMost(int maxResults)
childrenOf
public QueryBuilder.PartialMembershipQueryWithEntityToMatch<T> childrenOf(EntityDescriptor entityToMatch)
parentsOf
public QueryBuilder.PartialMembershipQueryWithEntityToMatch<T> parentsOf(EntityDescriptor entityToMatch)
ofType
public Object ofType(GroupType groupType)
Copyright © 2012 Atlassian. All Rights Reserved.