public class AccountQueryBuilder extends com.google.gerrit.index.query.QueryBuilder<AccountState>
Modifier and Type | Class and Description |
---|---|
static class |
AccountQueryBuilder.Arguments |
com.google.gerrit.index.query.QueryBuilder.Definition<T,Q extends com.google.gerrit.index.query.QueryBuilder<T>>, com.google.gerrit.index.query.QueryBuilder.Operator, com.google.gerrit.index.query.QueryBuilder.OperatorFactory<T,Q extends com.google.gerrit.index.query.QueryBuilder<T>>
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_ACCOUNT |
static String |
FIELD_EMAIL |
static String |
FIELD_LIMIT |
static String |
FIELD_NAME |
static String |
FIELD_PREFERRED_EMAIL |
static String |
FIELD_PREFERRED_EMAIL_EXACT |
static String |
FIELD_USERNAME |
static String |
FIELD_VISIBLETO |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.index.query.Predicate<AccountState> |
cansee(String change) |
protected com.google.gerrit.index.query.Predicate<AccountState> |
defaultField(String query) |
com.google.gerrit.index.query.Predicate<AccountState> |
defaultQuery(String query) |
com.google.gerrit.index.query.Predicate<AccountState> |
email(String email) |
com.google.gerrit.index.query.Predicate<AccountState> |
is(String value) |
com.google.gerrit.index.query.Predicate<AccountState> |
limit(String query) |
com.google.gerrit.index.query.Predicate<AccountState> |
name(String name) |
com.google.gerrit.index.query.Predicate<AccountState> |
username(String username) |
public static final String FIELD_ACCOUNT
public static final String FIELD_EMAIL
public static final String FIELD_LIMIT
public static final String FIELD_NAME
public static final String FIELD_PREFERRED_EMAIL
public static final String FIELD_PREFERRED_EMAIL_EXACT
public static final String FIELD_USERNAME
public static final String FIELD_VISIBLETO
public com.google.gerrit.index.query.Predicate<AccountState> cansee(String change) throws QueryParseException, com.google.gwtorm.server.OrmException, PermissionBackendException
QueryParseException
com.google.gwtorm.server.OrmException
PermissionBackendException
public com.google.gerrit.index.query.Predicate<AccountState> email(String email)
public com.google.gerrit.index.query.Predicate<AccountState> is(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<AccountState> limit(String query) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<AccountState> name(String name)
public com.google.gerrit.index.query.Predicate<AccountState> username(String username)
public com.google.gerrit.index.query.Predicate<AccountState> defaultQuery(String query)
protected com.google.gerrit.index.query.Predicate<AccountState> defaultField(String query)
defaultField
in class com.google.gerrit.index.query.QueryBuilder<AccountState>