com.atlassian.user.search.query
Class AbstractEntityQueryParser
java.lang.Object
com.atlassian.user.search.query.AbstractEntityQueryParser
- All Implemented Interfaces:
- EntityQueryParser
- Direct Known Subclasses:
- DefaultEntityQueryParser, HibernateEntityQueryParser
public abstract class AbstractEntityQueryParser
- extends Object
- implements EntityQueryParser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntityQueryParser
public AbstractEntityQueryParser()
validateQuery
protected void validateQuery(Query query)
throws EntityQueryException
- Throws:
EntityQueryException
validateBooleanToQueryType
protected void validateBooleanToQueryType(BooleanQuery query,
String queryClassName)
throws EntityQueryException
- Ensures that the
BooleanQuery combines queries of a singular type UserQuery, GroupQuery, or
MembershipQuery.
- Throws:
EntityQueryException
matchQueryToQueryType
protected String matchQueryToQueryType(Query query1)
identifyDefiningQuery
protected Query identifyDefiningQuery(BooleanQuery q)
- The 'defining query' lets us know which EntityClass we are querying.
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.