com.atlassian.crowd.search.builder
Class QueryBuilder.PartialEntityQuery<T>

java.lang.Object
  extended by com.atlassian.crowd.search.builder.QueryBuilder.PartialEntityQuery<T>
Enclosing class:
QueryBuilder

public static class QueryBuilder.PartialEntityQuery<T>
extends Object


Constructor Summary
QueryBuilder.PartialEntityQuery(Class<T> returnType, EntityDescriptor entity)
           
 
Method Summary
 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"))
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryBuilder.PartialEntityQuery

public QueryBuilder.PartialEntityQuery(Class<T> returnType,
                                       EntityDescriptor entity)
Method Detail

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.