com.atlassian.user.search.query
Class GroupsOfUserTwoTermQuery

java.lang.Object
  extended bycom.atlassian.user.search.query.AbstractBooleanQuery
      extended bycom.atlassian.user.search.query.TwoTermBooleanQuery
          extended bycom.atlassian.user.search.query.GroupsOfUserTwoTermQuery
All Implemented Interfaces:
BooleanQuery, MembershipQuery, Query

public class GroupsOfUserTwoTermQuery
extends TwoTermBooleanQuery
implements MembershipQuery

Here the term should correspond to a user. This will be parsed into a query returning all groups for the user.


Field Summary
 
Fields inherited from class com.atlassian.user.search.query.AbstractBooleanQuery
anding, queries
 
Fields inherited from interface com.atlassian.user.search.query.BooleanQuery
AND, OR
 
Constructor Summary
GroupsOfUserTwoTermQuery(GroupNameTermQuery groupNameQuery)
           
GroupsOfUserTwoTermQuery(UserNameTermQuery userNameQuery)
           
GroupsOfUserTwoTermQuery(UserNameTermQuery userNameQuery, GroupNameTermQuery groupNameQuery)
           
 
Method Summary
 GroupNameTermQuery getGroupNameTermQuery()
           
 UserNameTermQuery getUserNameTermQuery()
           
 
Methods inherited from class com.atlassian.user.search.query.TwoTermBooleanQuery
getFirstQuery, getSecondQuery
 
Methods inherited from class com.atlassian.user.search.query.AbstractBooleanQuery
getQueries, isAND, isOR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupsOfUserTwoTermQuery

public GroupsOfUserTwoTermQuery(UserNameTermQuery userNameQuery)

GroupsOfUserTwoTermQuery

public GroupsOfUserTwoTermQuery(GroupNameTermQuery groupNameQuery)

GroupsOfUserTwoTermQuery

public GroupsOfUserTwoTermQuery(UserNameTermQuery userNameQuery,
                                GroupNameTermQuery groupNameQuery)
Method Detail

getUserNameTermQuery

public UserNameTermQuery getUserNameTermQuery()

getGroupNameTermQuery

public GroupNameTermQuery getGroupNameTermQuery()


Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.