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 java.lang.Object
- implements EntityQueryParser
Field Summary |
static java.lang.String |
AND
|
static java.lang.String |
CLOSE_PARAN
|
static java.lang.String |
EQ
|
static java.lang.String |
OPEN_PARAN
|
static java.lang.String |
OR
|
static java.lang.String |
WILDCARD
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPEN_PARAN
public static final java.lang.String OPEN_PARAN
- See Also:
- Constant Field Values
CLOSE_PARAN
public static final java.lang.String CLOSE_PARAN
- See Also:
- Constant Field Values
EQ
public static final java.lang.String EQ
- See Also:
- Constant Field Values
AND
public static final java.lang.String AND
- See Also:
- Constant Field Values
OR
public static final java.lang.String OR
- See Also:
- Constant Field Values
WILDCARD
public static final java.lang.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
- 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 java.lang.StringBuffer parseQuery(BooleanQuery query)
throws EntityException
- Throws:
EntityException
parseQuery
public java.lang.StringBuffer parseQuery(TermQuery q)
throws EntityException
- Throws:
EntityException
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.