public class QueryChanges extends Object implements RestReadView<TopLevelResource>, DynamicOptions.BeanReceiver
Modifier and Type | Method and Description |
---|---|
void |
addOption(ListChangesOption o) |
void |
addQuery(String query) |
List<?> |
apply(TopLevelResource rsrc)
Process the view operation by reading from the resource.
|
String |
getQuery(int i) |
void |
setDynamicBean(String plugin,
DynamicOptions.DynamicBean dynamicBean) |
void |
setLimit(int limit) |
void |
setNoLimit(boolean on) |
void |
setStart(int start) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExportedBeanReceiver
public void setLimit(int limit)
public void addOption(ListChangesOption o)
public void setStart(int start)
public void setNoLimit(boolean on)
public void setDynamicBean(String plugin, DynamicOptions.DynamicBean dynamicBean)
setDynamicBean
in interface DynamicOptions.BeanReceiver
public void addQuery(String query)
public String getQuery(int i)
public List<?> apply(TopLevelResource rsrc) throws BadRequestException, AuthException, PermissionBackendException
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.AuthException
- the client is not permitted to access this view.PermissionBackendException