public class QueryAccounts extends java.lang.Object implements RestReadView<TopLevelResource>
Modifier and Type | Method and Description |
---|---|
void |
addOption(ListAccountsOption o) |
java.util.List<AccountInfo> |
apply(TopLevelResource rsrc)
Process the view operation by reading from the resource.
|
void |
setLimit(int n) |
void |
setQuery(java.lang.String query) |
void |
setStart(int start) |
void |
setSuggest(boolean suggest) |
public void setSuggest(boolean suggest)
public void setLimit(int n)
public void addOption(ListAccountsOption o)
public void setQuery(java.lang.String query)
public void setStart(int start)
public java.util.List<AccountInfo> apply(TopLevelResource rsrc) throws com.google.gwtorm.server.OrmException, RestApiException, PermissionBackendException
RestReadView
apply
in interface RestReadView<TopLevelResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.com.google.gwtorm.server.OrmException
RestApiException
PermissionBackendException