com.atlassian.user.search.query
Class DefaultEntityQueryParser
java.lang.Object
com.atlassian.user.search.query.AbstractEntityQueryParser
com.atlassian.user.search.query.DefaultEntityQueryParser
- All Implemented Interfaces:
- EntityQueryParser
- public class DefaultEntityQueryParser
- extends AbstractEntityQueryParser
- implements EntityQueryParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userManager
protected UserManager userManager
groupManager
protected GroupManager groupManager
repository
protected RepositoryIdentifier repository
entityNameMethod
protected java.lang.reflect.Method entityNameMethod
emailMethod
protected java.lang.reflect.Method emailMethod
fullnameMethod
protected java.lang.reflect.Method fullnameMethod
DefaultEntityQueryParser
public DefaultEntityQueryParser(RepositoryIdentifier repo,
UserManager userManager,
GroupManager groupManager)
init
public void init(java.util.HashMap args)
throws ConfigurationException
- Throws:
ConfigurationException
parseQuery
protected Pager parseQuery(java.lang.reflect.Method userMethod,
TermQuery q,
Pager data)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
find
public Pager find(Query query)
throws EntityException
- Throws:
EntityException
findUsers
public SearchResult findUsers(Query query)
throws EntityException
- Description copied from interface:
EntityQueryParser
- Generates a
SearchResult
object holding results for each RepositoryIdentifier
the
the entityQueryParser can access..
- Specified by:
findUsers
in interface EntityQueryParser
- Throws:
EntityException
findGroups
public SearchResult findGroups(Query query)
throws EntityException
- Description copied from interface:
EntityQueryParser
- Generates a
SearchResult
object holding results for each RepositoryIdentifier
the
the entityQueryParser can access..
- Specified by:
findGroups
in interface EntityQueryParser
- Throws:
EntityException
findUsers
public SearchResult findUsers(Query query,
QueryContext context)
throws EntityException
- Description copied from interface:
EntityQueryParser
- Generates a
SearchResult
object holding results for each RepositoryIdentifier
the
entityQueryParser has been instructed, via a QueryContext
to search.
- Specified by:
findUsers
in interface EntityQueryParser
- Throws:
EntityException
findGroups
public SearchResult findGroups(Query query,
QueryContext context)
throws EntityException
- Description copied from interface:
EntityQueryParser
- Generates a
SearchResult
object holding results for each RepositoryIdentifier
the
entityQueryParser has been instructed, via a QueryContext
to search.
- Specified by:
findGroups
in interface EntityQueryParser
- Throws:
EntityException
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.