public class InternalAccountQuery extends InternalQuery<AccountState>
indexConfig
Modifier and Type | Method and Description |
---|---|
List<AccountState> |
byDefault(String query) |
List<AccountState> |
byExternalId(String externalId) |
List<AccountState> |
byFullName(String fullName) |
List<AccountState> |
byWatchedProject(com.google.gerrit.reviewdb.client.Project.NameKey project) |
InternalAccountQuery |
enforceVisibility(boolean enforce) |
InternalAccountQuery |
noFields() |
AccountState |
oneByExternalId(String externalId) |
InternalAccountQuery |
setLimit(int n) |
InternalAccountQuery |
setRequestedFields(Set<String> fields) |
query, schema
public InternalAccountQuery setLimit(int n)
setLimit
in class InternalQuery<AccountState>
public InternalAccountQuery enforceVisibility(boolean enforce)
enforceVisibility
in class InternalQuery<AccountState>
public InternalAccountQuery setRequestedFields(Set<String> fields)
setRequestedFields
in class InternalQuery<AccountState>
public InternalAccountQuery noFields()
noFields
in class InternalQuery<AccountState>
public List<AccountState> byDefault(String query) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public List<AccountState> byExternalId(String externalId) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public AccountState oneByExternalId(String externalId) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public List<AccountState> byFullName(String fullName) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public List<AccountState> byWatchedProject(com.google.gerrit.reviewdb.client.Project.NameKey project) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException