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, BadRequestException, MethodNotAllowedException
RestReadView
apply
in interface RestReadView<TopLevelResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.com.google.gwtorm.server.OrmException
MethodNotAllowedException