public class InternalAccountQuery extends InternalQuery<AccountState>
indexConfig
Modifier and Type | Method and Description |
---|---|
List<AccountState> |
byDefault(String query) |
List<AccountState> |
byEmailPrefix(String emailPrefix) |
List<AccountState> |
byExternalId(ExternalId.Key externalId) |
List<AccountState> |
byExternalId(String scheme,
String id) |
List<AccountState> |
byFullName(String fullName) |
List<AccountState> |
byWatchedProject(Project.NameKey project) |
InternalAccountQuery |
enforceVisibility(boolean enforce) |
InternalAccountQuery |
noFields() |
AccountState |
oneByExternalId(ExternalId.Key externalId) |
AccountState |
oneByExternalId(String externalId) |
AccountState |
oneByExternalId(String scheme,
String id) |
InternalAccountQuery |
setLimit(int n) |
InternalAccountQuery |
setRequestedFields(Set<String> fields) |
query, 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> byEmailPrefix(String emailPrefix) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public List<AccountState> byExternalId(String scheme, String id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public List<AccountState> byExternalId(ExternalId.Key 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 AccountState oneByExternalId(String scheme, String id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public AccountState oneByExternalId(ExternalId.Key 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(Project.NameKey project) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException