com.atlassian.crowd.integration.atlassianuser
Class CrowdEntityQueryParser

java.lang.Object
  extended by AbstractEntityQueryParser
      extended by com.atlassian.crowd.integration.atlassianuser.CrowdEntityQueryParser

public class CrowdEntityQueryParser
extends AbstractEntityQueryParser

Performs searching verses the Crowd security server.


Field Summary
protected  GroupManager groupManager
           
protected  Repository repository
           
protected  UserManager userManager
           
 
Constructor Summary
CrowdEntityQueryParser()
           
 
Method Summary
 SearchResult findGroups(Query query)
          Searches the Crowd directory server for a set of groups.
 SearchResult findGroups(Query query, QueryContext context)
          Searches the Crowd directory server for a set of groups.
 SearchResult findUsers(Query query)
          Searches the Crowd directory server for a set of principals.
 SearchResult findUsers(Query query, QueryContext context)
          Searches the Crowd directory server for a set of principals.
 void init(HashMap args)
          Used for configuration by a config.
protected  SearchRestriction processRestriction(Query query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userManager

protected UserManager userManager

groupManager

protected GroupManager groupManager

repository

protected Repository repository
Constructor Detail

CrowdEntityQueryParser

public CrowdEntityQueryParser()
Method Detail

init

public void init(HashMap args)
          throws ConfigurationException
Used for configuration by a config. file.

Parameters:
args -
Throws:
ConfigurationException

findUsers

public SearchResult findUsers(Query query)
                       throws EntityException
Searches the Crowd directory server for a set of principals.

Parameters:
query - Query restrictions.
Returns:
The search results.
Throws:
EntityException

processRestriction

protected SearchRestriction processRestriction(Query query)

findGroups

public SearchResult findGroups(Query query)
                        throws EntityException
Searches the Crowd directory server for a set of groups.

Parameters:
query - Query restrictions.
Returns:
The search results.
Throws:
EntityException

findUsers

public SearchResult findUsers(Query query,
                              QueryContext context)
                       throws EntityException
Searches the Crowd directory server for a set of principals.

Parameters:
query - Query restrictions.
context - This attribute is ignored.
Returns:
The search results.
Throws:
EntityException

findGroups

public SearchResult findGroups(Query query,
                               QueryContext context)
                        throws EntityException
Searches the Crowd directory server for a set of groups.

Parameters:
query - Query restrictions.
context - This attribute is ignored.
Returns:
The search results.
Throws:
EntityException


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.