com.atlassian.user.impl.ldap.search.query
Class LDAPEntityQueryParser
java.lang.Object
com.atlassian.user.impl.ldap.search.query.LDAPEntityQueryParser
- All Implemented Interfaces:
- EntityQueryParser
public class LDAPEntityQueryParser
- extends Object
- implements EntityQueryParser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPEN_PARAN
public static final String OPEN_PARAN
- See Also:
- Constant Field Values
CLOSE_PARAN
public static final String CLOSE_PARAN
- See Also:
- Constant Field Values
EQ
public static final String EQ
- See Also:
- Constant Field Values
AND
public static final String AND
- See Also:
- Constant Field Values
OR
public static final String OR
- See Also:
- Constant Field Values
WILDCARD
public static final String WILDCARD
- See Also:
- Constant Field Values
LDAPEntityQueryParser
public LDAPEntityQueryParser(LdapContextFactory repository,
LDAPGroupAdaptor groupAdaptor,
RepositoryIdentifier repositoryIdentifier,
LDAPUserFactory userFactory,
LdapSearchProperties searchProperties,
LdapMembershipProperties membershipProperties,
LdapFilterFactory filterFactory)
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
- Returns:
- returns the search result or null if this entity query parser is out of scope of the context
- 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
parseQuery
public StringBuffer parseQuery(BooleanQuery query)
throws EntityException
- Throws:
EntityException
parseQuery
public StringBuffer parseQuery(TermQuery q)
throws EntityException
- Throws:
EntityException
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.