public enum QueryBuilder extends Enum<QueryBuilder>
Enum Constant and Description |
---|
GROUP |
GROUP_MEMBERSHIP |
USER |
USER_MEMBERSHIP |
Modifier and Type | Method and Description |
---|---|
abstract org.springframework.jdbc.core.RowMapper |
getNameOnlyRowMapper() |
protected abstract String |
getNameOnlySqlQuery(WhereClause where) |
abstract org.springframework.jdbc.core.RowMapper |
getObjectRowMapper(long directoryId) |
protected abstract String |
getObjectSqlQuery(WhereClause where) |
protected abstract String |
getPropertyName(com.atlassian.crowd.search.query.entity.restriction.Property property) |
protected abstract boolean |
isMatchEverything(com.atlassian.crowd.search.query.entity.restriction.TermRestriction restriction) |
WhereClause |
toWhereClause(com.atlassian.crowd.embedded.api.SearchRestriction searchRestriction) |
static QueryBuilder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryBuilder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryBuilder USER
public static final QueryBuilder GROUP
public static final QueryBuilder USER_MEMBERSHIP
public static final QueryBuilder GROUP_MEMBERSHIP
public static QueryBuilder[] values()
for (QueryBuilder c : QueryBuilder.values()) System.out.println(c);
public static QueryBuilder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract org.springframework.jdbc.core.RowMapper getNameOnlyRowMapper()
public abstract org.springframework.jdbc.core.RowMapper getObjectRowMapper(long directoryId)
public WhereClause toWhereClause(com.atlassian.crowd.embedded.api.SearchRestriction searchRestriction)
protected abstract String getObjectSqlQuery(WhereClause where)
protected abstract String getNameOnlySqlQuery(WhereClause where)
protected abstract String getPropertyName(com.atlassian.crowd.search.query.entity.restriction.Property property)
protected abstract boolean isMatchEverything(com.atlassian.crowd.search.query.entity.restriction.TermRestriction restriction)
Copyright © 2003–2016 Atlassian. All rights reserved.